Jared:<br><br> 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.<br><br>Thanks.<br><br><br><div><span class="gmail_quote">On 6/25/07, <b class="gmail_sendername">
Jared Smith</b> <<a href="mailto:jaredsmith@jaredsmith.net">jaredsmith@jaredsmith.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 6/25/07, Alvaro Parres <<a href="mailto:aparres@gmail.com">aparres@gmail.com</a>> wrote:<br>> I'm having the next problem, it appear that the application ChanIsAvail<br>> is not working on Asterisk
1.4.5 always return me 0 in AVAILSTATUS.<br>> I add my dialplan and the output to the cli.<br><br>This isn't really a problem with ChanIsAvail... it's more of a<br>misunderstanding of what's going on. In your case, it appears that
<br>your SIP device will accept multiple calls at the same time from<br>Asterisk. So even if your phone is on a call, Asterisk will come<br>along, try to make another call to it, and the phone says "Hey, go<br>ahead! I don't mind!"
<br><br>You've got quite a few options to solve your problem. While none of<br>them are exactly perfect, it's good to have lots of options:<br><br> o Try using the 's' option to ChanIsAvail(). (You might have to
<br>turn on call limits in sip.conf to get this to work correctly. Last<br>time I played with this, it seems that the limitonpeers setting had to<br>be set to yes as well.)<br> o Use the GROUP() dialplan function to assign calls to call groups,
<br>and then use the GROUP_COUNT() function to check to see if that phone<br>is already on any calls.<br> o Turn off call waiting on your IP phone, so that it'll only accept<br>one call at a time<br> o Simply get call limits in
sip.conf working correctly. (This is<br>probably the hardest to do, unfortunately.)<br><br>Hopefully, one of those options will help you out. (I've placed them<br>in the order I'd try... but your mileage may vary.)
<br><br>-Jared<br><br>_______________________________________________<br>--Bandwidth and Colocation Provided by <a href="http://www.api-digital.com--">http://www.api-digital.com--</a><br><br>asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>--
<br>Alvaro I. Parres Peredo<br> Director de IT<br> Grupo Xmarts SA de CV<br> Tel: +52 (33) 35 63 6261 Ext. 112<br> 01 800 087 2260 <br> Cel: +52 (33) 33 68 1087<br> <a href="mailto:alvaro.parres@xmarts.com.mx">alvaro.parres@xmarts.com.mx
</a>