[Asterisk-Users] ChanIsAvail not working

Philipp von Klitzing klitzing at pool.informatik.rwth-aachen.de
Fri Jan 28 11:41:57 MST 2005


Hi!

> I'm testing ChanIsAvail context and it is not working for me.
> 
> exten => 55,1,ChanIsAvail(SIP/11&SIP/21)
> exten => 55,2,Cut(theChannel=AVAILCHAN,,1)
> exten => 55,3,Dial(${theChannel},r)
> exten => 55,4,Hangup
> exten => 55,102,Goto(s,4)
> 
> According to notes:
> The channels are checked in the order listed, returning the first
> available channel in the list in ${AVAILCHAN}.
> 
> so when my SIP/21 is available, and it is, it should ring it but it is
> not.

This is a guess: "SIP/11" is not an appropriate channel name. Use "show 
channels" or "sip show channels" to see the difference.

Cheers, Philipp





More information about the asterisk-users mailing list