Displaying 1 result from an estimated 1 matches for "callonlyiffree".
2007 Jun 25
1
Problems with ChanIsAvail always return status 0
...ist:
I'm having the next problem, it appear that the application ChanIsAvail
is not working on Asterisk 1.4.5 always return me 0 in AVAILSTATUS.
I add my dialplan and the output to the cli.
THanks.
In the example i'm dialing from extension SIP/112
My DialPlan Secction:
[macro-callonlyiffree]
exten => s,1,ChanIsAvail(${ARG1}|s)
exten => s,n,NoOp(${AVAILCHAN})
exten => s,n,NoOp(${AVAILORIGCHAN})
exten => s,n,NoOp(${AVAILSTATUS})
exten => s,n,GoToIf($[${AVAILSTATUS} < 1]?autoanswer:fail)
exten => s,n,NoOp()
exten => s,n(autoanswer),Dial(${ARG1}||)
exten => s,10...