Police became suspicious of two particular phone numbers that “repeatedly peddled” cocaine and ketamine last September.
Automatic number plate recognition cameras helped officers link the phones to cars belonging to three suspects.
Luke Gernon and two other men have been jailed for between four and six years.