I have a simple IVR using the background application.
On the IVR of my old PBX users were used to be able to press # after they had entered the digits and the application would stop waiting for digits and continue immediately.
Is there a way to replicate this behaviour on Asterisk?
So on background application, when user presses #, Asterisk should stop waiting for digits and continue immediately. Possible?
[paging-digits]
exten => s,1,Noop(Waiting for Paging digits)
same => n,answer()
same => n,Background(custom/pager_greeting)
same => n,WaitExten()
exten => _Z.,1,playback(custom/page-is-being-sent)
exten => _Z.,n,system(echo "NEW PAGE, please call ${EXTEN}." | mailx -r "asterisk@abcd.org" email@email.org)