Hello experts,
In an Asterisk 11.3.0, I have configured features.conf like this:
[applicationmap]
pauseMonitor => #7,self/both,PauseMonitor
unpauseMonitor => #8,peer/both,UnPauseMonitor
[MonControl]
pauseMonitor => #7
unpauseMonitor => #8
And in extensions.conf I have:
[local]
exten => _9XXXXXX,1,Set(__DYNAMIC_FEATURES=MonControl)
same => 2,MixMonitor(/usr/monitor/file.gsm,b,Set(ODBC_AddMon()=1,2,3,4))
same => 3,Dial(DAHDI/g0/${EXTEN},45)
same => 4,NoOp(Priority 4)
same => 5,Hangup()
Now when a caller in the local context dials 9123123, and during the call, if he presses (#7), then Asterisk proceeds to the next priority 4 after which it hangs up.
How to allow user to pause monitoring and stay in the call?