...
exten => s,n,ChanIsAvail(SIP/AV011&SIP/AV012&SIP/AV013&SIP/AV014&SIP/CTLKM01);
exten => s,n,Dial(${AVAILORIGCHAN}/${ARG1},60,rtT)
...
Исходящий звонок
== Using SIP RTP CoS mark 5
-- Executing [89000000000@operator:1] Macro("SIP/100-00000118", "dial-gsm_sip,89206135450") in new stack
-- Executing [s@macro-dial-gsm_sip:1] MixMonitor("SIP/100-00000118", "OUT-20120612-000547-89000000000.1339445147.280.wav") in new stack
-- Executing [s@macro-dial-gsm_sip:2] ChanIsAvail("SIP/100-00000118", "SIP/AV011&SIP/AV012&SIP/AV013&SIP/AV014&SIP/CTLKM01") in new stack
== Using SIP RTP CoS mark 5
== Begin MixMonitor Recording SIP/100-00000118
-- Executing [s@macro-dial-gsm_sip:3] Dial("SIP/100-00000118", "SIP/AV011/89000000000,60,rtT") in new stack
== Using SIP RTP CoS mark 5
-- Called AV011/89000000000
-- Got SIP response 486 "Busy Here" back from 192.168.201.35:5064
-- SIP/AV011-0000011a is busy
== Everyone is busy/congested at this time (1:1/0/0)
...
exten => s,n,Dial(SIP/AV011/${ARG1},60,rtT)
exten => s,n,GotoIf($["${DIALSTATUS}" = ""]?allok:w)
exten => s,n(w),Dial(SIP/AV012/${ARG1},60,rtT)
exten => s,n,GotoIf($["${DIALSTATUS}" = ""]?allok:w1)
exten => s,n(w1),Dial(SIP/AV013/${ARG1},60,rtT)
exten => s,n,GotoIf($["${DIALSTATUS}" = ""]?allok:w2)
exten => s,n(w2),Dial(SIP/AV014/${ARG1},60,rtT)
exten => s,n,GotoIf($["${DIALSTATUS}" = ""]?allok:w3)
exten => s,n(w3),Dial(SIP/CTLKM01/${ARG1},60,rtT)
exten => s,n,GotoIf($["${DIALSTATUS}" = ""]?allok:w4)
...