Displaying 1 result from an estimated 1 matches for "endofcall".
Did you mean:
endcall
2003 Apr 06
1
Call completion/error codes and extensions.conf call flow
...$RESULTCODE is a three-digit numeric result code, I'd like my dial
routines to look like the example below. Note that I handle "busy" in
the same way as the rest of the results; no special +101 jumping
required.
[default]
exten => 2223,1,Dial(SIP/2223)
exten => 2223,2,Goto(endofcall,${RESULTCODE})
[endofcall]
; Response to normal end-of-call "200 OK" message
200 => s,1,Playback(thanks-for-using-the-foofram-call-system)
200 => s,2,Playback(please-take-a-survey-on-your-call-experience)
200 => s,3,Goto(survey)
; Response to "Busy here" reply
486 =&g...