Displaying 2 results from an estimated 2 matches for "rhangup".
Did you mean:
hangup
2006 Jan 20
1
instant fallback to zap in case of sip/iax/xyz-failure
i would like to carry some oversea pstn-destinations via sip to providers
like stanaphone, however, in case of a network-failure or if the provider
is not available, i want to fallback to the zap-channels so the call is
carried out to the pstn directly.
the usual approach would be to check the dialstatus(e.g.NOANSWER).
however, asterisk tries >60seconds to reach that peer(even when the ip
2009 May 21
0
Writing Hangup causes to CDR record
...;
> exten => s,n(dial),Set(DialCount=$[1 + ${DialCount}])
> exten => s,n,GotoIf($[${DialCount} > ${DialNum}]?h,1)
> exten => s,n,Dial(${DIALS${DialCount}})
> exten => s,n,Goto(dial)
>
> exten => s-CONGESTION,1,Congestion(5)
> exten => s-CONGESTION,n,Macro(rhangup)
>
> exten => s-BUSY,1,Playtones(busy)
> exten => s-BUSY,n,Busy(5)
> exten => s-BUSY,n,Macro(rhangup)
>
> exten => h,1,GotoIf($[${DIALSTATUS} = BUSY]?s-BUSY,1)
> exten => h,n,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?s-CONGESTION,1)
> exten => h,n,GotoIf($[${...