I want to create script that log any digit key press event for channels that are waiting in queue.
How can I catch event when somebody in queue press any key on phone without kicking it out of queue?
There is no AMI event if I press any digit key while I’m in queue and there is no extension in my current context.
I set ‘context’ variable to queues and add to this context any extension, for example:
It creates AMI event when I press 1 while waiting in queue, but it throw me out of the queue.
Is there any solution?
My Asterisk version is 11.7
I’ve forgot to add ‘dtmf’ permission to manager.conf, now DTMF events presents in AMI