Is there any way to control call after one side Hangup() in dialplan…
Actually this is a call center scenario ::
customer call comes in through pstn , our agent attends the call and talks and at the end agent cuts the call, the customer (caller) is still in the call and he is then routed to another IVR or some thing. I just tried with the Hangup handlers…not getting the result.
here is my code:
pstn call is routed to this Hangup-test context-
[hangup-test]
exten => 999,1,NoOp(for hangup test)
same => n,Saynumber(5500)
same => n,Dial(SIP/2000,20) ;;;;;agent attends and hangsup the call
same => n,Set(CHANNEL(hangup_handler_push)=hdlr3,s,1(args));
[hdlr3]
exten => s,1,Verbose(0, Executed Third)
same => n,Playback(tt-monkeys)
same => n,Dial(SIP/4000,20)
let me know if there is an alternate way for this also…I’m a newbie in this
Thanks in advance