Displaying 1 result from an estimated 1 matches for "hangupcontext".
2006 Jan 20
0
h extension
...exten => _0NXXXXXX,1,NoOp(Outgoing Local - 7 digs - ${EXTEN:1})
exten => _0NXXXXXX,2,Set(ZAP01=$[${ZAP01} + 1]|g)
exten => _0NXXXXXX,3,Set(UPDATED=true)
exten => _0NXXXXXX,4,Dial(${TRUNK}/${EXTEN},60)
exten => _0NXXXXXX,6,Busy
exten => _0NXXXXXX,7,Playback(thank-you)
include => hangupcontext
[hangupcontext]
exten => h,1,NoCDR()
exten => h,2,GotoIf($["${UPDATED}" != "true"]?5)
exten => h,3,Set(UPDATED="")
exten => h,4,Set(ZAP01=$[${ZAP01} - 1]|g)
exten => h,5,Hangup
I am not sure about how to use NoCDR, ForkCDR and ResetCDR.
If don't us...