[asterisk-users] Problems with ChanIsAvail always return status 0

Alvaro Parres aparres at gmail.com
Tue Jun 26 10:48:56 CDT 2007


Jared:

   As you see i have the s option. That works fine on Version 1.2. Let me
see config the call limit con sip channels it works.

Thanks.


On 6/25/07, Jared Smith <jaredsmith at jaredsmith.net> wrote:
>
> On 6/25/07, Alvaro Parres <aparres at gmail.com> wrote:
> >     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.
>
> This isn't really a problem with ChanIsAvail... it's more of a
> misunderstanding of what's going on.  In your case, it appears that
> your SIP device will accept multiple calls at the same time from
> Asterisk.  So even if your phone is on a call, Asterisk will come
> along, try to make another call to it, and the phone says "Hey, go
> ahead! I don't mind!"
>
> You've got quite a few options to solve your problem.  While none of
> them are exactly perfect, it's good to have lots of options:
>
> o  Try using the 's' option to ChanIsAvail().  (You might have to
> turn on call limits in sip.conf to get this to work correctly.  Last
> time I played with this, it seems that the limitonpeers setting had to
> be set to yes as well.)
> o  Use the GROUP() dialplan function to assign calls to call groups,
> and then use the GROUP_COUNT() function to check to see if that phone
> is already on any calls.
> o  Turn off call waiting on your IP phone, so that it'll only accept
> one call at a time
> o  Simply get call limits in sip.conf working correctly.  (This is
> probably the hardest to do, unfortunately.)
>
> Hopefully, one of those options will help you out.  (I've placed them
> in the order I'd try... but your mileage may vary.)
>
> -Jared
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Alvaro I. Parres Peredo
Director de IT
Grupo Xmarts SA de CV
Tel: +52 (33) 35 63 6261 Ext. 112
      01 800  087 2260
Cel: +52 (33) 33 68 1087
alvaro.parres at xmarts.com.mx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070626/441f5878/attachment.htm 


More information about the asterisk-users mailing list