I have a purpose below:
When the agent in queue pick up the call, the caller says that he does not want that his call will be recorded, So the agent put the touch “#1” to stopping the recording.
In my dialplan i have:
exten => _9XXXX,1,Answer()
same => n,Queue(support,t)
same => n,Hangup()
In this way, the call is always recording when the bridge is created between caller and the agent.
So my question is:
How should I put into my dialplan and then when agent put “#1”, so it stops to recording the call, I mean the application StopMixMonitor will be called immediatly