Allow calls into the queue

The Queue application is used to place a call in a queue. We need to add an extension to our dialplan in order to permit people to dial into our queues. To do this, we will define a new context called queues and include it to our local context inside the extensions.conf file:

[queues]
exten => 605,1,Verbose(2,${CALLERID(all)} entered the marketing queue)
same => n,Queue(marketing)
same => n,Hangup()
exten => 705,1,Verbose(2,${CALLERID(all)} entered the sales queue)
same => n,Queue(sales)
same => n,Hangup()
[local]
include => queues ; add this line at the bottom of your local context

Reload the dialplan to apply the changes. Now we need to specify queue members that will take the calls.

 

Geek University 2022