...
Code Block |
---|
; Some dialplan extension
same => n,Set(CHANNEL(hangup_handler_push)=hdlr3,s,1(args));
same => n,Set(CHANNEL(hangup_handler_push)=hdlr2,s,1(args));
same => n,Set(CHANNEL(hangup_handler_push)=hdlr1,s,1(args));
; Remove hdlr1
same => n,Set(CHANNEL(hangup_handler_pop)=)
; Replace hdlr2 with hdlr4
same => n,Set(CHANNEL(hangup_handler_pop)=hdlr4,s,1(args));
; Continuing in some dialplan extension
[hdlr1]
exten => s,1,Verbose(0, Not Executed)
same => n,Return()
[hdlr2]
exten => s,1,Verbose(0, Not Executed)
same => n,Return()
[hdlr3]
exten => s,1,Verbose(0, Executed Second)
same => n,Return()
[hdlr4]
exten => s,1,Verbose(0, Executed First)
same => n,Return()
|
...