A court has heard how a drug dealing line at its peak received more than 8,000 calls in a single month from users in Bradford and Keighley wanting to buy cannabis.