Displaying 1 result from an estimated 1 matches for "dialcount".
Did you mean:
daa_count
2009 May 21
0
Writing Hangup causes to CDR record
...,n,Set(DIALS1="IAX2/xxxxxxxx at carrier1-out/${ARG1},90,T")
> exten => s,n,Set(DIALS2="IAX2/xxxxxxxx at carrier2-out/${ARG1},90,T")
> exten => s,n,Set(DIALS3="SIP/${ARG1}@carrier3-out,90,T")
>
> exten => s,n,Set(DialNum=3)
> exten => s,n,Set(DialCount=0)
>
> 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...