I created a queue which is in the context ext-queues.
I’d like to have a System call fire when a caller enters the queue. What seemed logical to me was to put a like this in the extensions_custom.conf:
[ext-queues-custom]
exten => 480,n,System(/path/to/external/script ${CALLERID(num)})
When I do that it seems to not get added into the dialplan. The logs do indicate the extension_custom.conf is loaded successfully.
If I stick that line in [ext-queues] in extensions_additional.conf just before this line:
exten => 480,n,Queue(480,t,)
it works as expected. I understand thats not a solution since it’ll be overwritten.
Any thoughts on the correct way to do this?
Thanks!
/justin