[asterisk-users] ChanIsAvail() in 1.2.12.1

Julian Lyndon-Smith asterisk at dotr.com
Fri Oct 6 14:15:17 MST 2006


from http://www.asteriskguru.com/tutorials/chanisavail.html

If there is no available channel the ChanIsAvail application will 
continue with the execution of the extension with priority n+101

Douglas Garstang wrote:
> Is there something wrong with the chanisavail() application in 1.2.12.1?
> 
> My dialplan has:
> 
> [syst_Route]
> 
>     exten => _[*0123456789].,1,NoOp(*** Originated call ${CALLERID} -> ${EXTEN})
>     exten => _[*0123456789].,n,NoOp(FOO1)
>     exten => _[*0123456789].,n,ChanIsAvail(SIP/${EXTEN})
>     exten => _[*0123456789].,n,NoOp(FOO2)
> 
> and the console is displaying...
> 
> *CLI>     -- Executing NoOp("SIP/3254101-0817a220", "*** Originated call "Chocolate Chip" <3254101> -> 3254103") in new stack
>     -- Executing NoOp("SIP/3254101-0817a220", "FOO1") in new stack
>     -- Executing ChanIsAvail("SIP/3254101-0817a220", "SIP/3254103") in new stack
> 
> It never makes it past the call to ChanIsAvail(). Dialplan processing just completely stops at this point.
> What's up with that???
> 
> Doug.
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list