Thanks Michiel & Covici<div>@ Michiel i will try the script<br><div>@Covice yes it is a DAHDI channel</div><div><br><br><div class="gmail_quote">On Wed, Nov 25, 2009 at 8:12 PM, <span dir="ltr"><<a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I wonder if this is related to my problem where the channel returns with<br>
a status of BUSY even if it is on hook -- this is a dahdi channel.<br>
<div><div></div><div class="h5"><br>
ABBAS SHAKEEL <<a href="mailto:shakeel.abbas.qau@gmail.com">shakeel.abbas.qau@gmail.com</a>> wrote:<br>
<br>
> Dan I have reverted to 1.4.27 but got no success. Same behaviour<br>
> Do anyone has any success with it ?<br>
><br>
> On Wed, Nov 25, 2009 at 3:54 PM, ABBAS SHAKEEL<br>
> <<a href="mailto:shakeel.abbas.qau@gmail.com">shakeel.abbas.qau@gmail.com</a>>wrote:<br>
><br>
> > Thanks Michiel and Dan<br>
> ><br>
> > @ Michiel i have checked the variables but they dont contain any value.<br>
> > @Dan I am using 1.6.1.2 May be some issue with it ... In the mean while<br>
> > let me test with an older version of asterisk<br>
> ><br>
> ><br>
> > On Wed, Nov 25, 2009 at 3:19 PM, Dan Journo <<a href="mailto:dan@keshercommunications.com">dan@keshercommunications.com</a>>wrote:<br>
> ><br>
> >> What version of Asterisk are you using?<br>
> >><br>
> >><br>
> >><br>
> >> I think this might be related to an issue that was resolved in version<br>
> >> 1.4.27<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> <a href="http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.27-summary.html-" target="_blank">http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.4.27-summary.html-</a> look in the list of Closed Items, second one down.<br>
> >><br>
> >> <a href="https://issues.asterisk.org/view.php?id=14426" target="_blank">https://issues.asterisk.org/view.php?id=14426</a> – link to the issue<br>
> >><br>
> >><br>
> >><br>
> >> Hope that helps.<br>
> >><br>
> >> Dan Journo<br>
> >><br>
> >><br>
> >><br>
> >> *From:* <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a> [mailto:<br>
> >> <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] *On Behalf Of *ABBAS SHAKEEL<br>
> >> *Sent:* 25 November 2009 09:59<br>
> >> *To:* Asterisk Users Mailing List - Non-Commercial Discussion<br>
> >> *Subject:* [asterisk-users] ChanIsAvail querry<br>
> >><br>
> >><br>
> >><br>
> >> Hello<br>
> >><br>
> >><br>
> >><br>
> >> We need to know if a channel is not in use and can be used to dial a<br>
> >> number etc..<br>
> >><br>
> >> I have tried the ChanIsAvail function with different parameters.<br>
> >><br>
> >> ie ChanIsAvail(DAHDI/1&DAHDI/2) ,ChanIsAvail(DAHDI/1,s) etc<br>
> >><br>
> >><br>
> >><br>
> >> no matter the channel is busy or not it always return 0 .<br>
> >><br>
> >><br>
> >><br>
> >> Please suggest<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> FYI<br>
> >><br>
> >> ChanIsAvail(Technology/resource[&Technology2/resource2...][,options]):<br>
> >><br>
> >> This application will check to see if any of the specified channels are<br>
> >><br>
> >> available.<br>
> >><br>
> >> Options:<br>
> >><br>
> >> a - Check for all available channels, not only the first one.<br>
> >><br>
> >> s - Consider the channel unavailable if the channel is in use at all.<br>
> >><br>
> >> t - Simply checks if specified channels exist in the channel list<br>
> >><br>
> >> (implies option s).<br>
> >><br>
> >> This application sets the following channel variable upon completion:<br>
> >><br>
> >> AVAILCHAN - the name of the available channel, if one exists<br>
> >><br>
> >> AVAILORIGCHAN - the canonical channel name that was used to create the<br>
> >> channel<br>
> >><br>
> >> AVAILSTATUS - the status code for the available channel<br>
> >><br>
> >><br>
> >><br>
> >><br>
> >> --<br>
> >> Best Regards<br>
> >> Shakeel Abbas<br>
> >><br>
> >> _______________________________________________<br>
> >> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
> >><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Best Regards<br>
> > Shakeel Abbas<br>
> ><br>
> ><br>
><br>
><br>
> --<br>
> Best Regards<br>
> Shakeel Abbas<br>
><br>
</div></div>> ----------------------------------------------------<br>
> Alternatives:<br>
><br>
> ----------------------------------------------------<br>
<div class="im">> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
--<br>
</div>Your life is like a penny. You're going to lose it. The question is:<br>
How do<br>
you spend it?<br>
<br>
John Covici<br>
<a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a><br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></div></div></blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>
Shakeel Abbas<br><br>
</div></div>