Hello,<div><br></div><div>Please have a look to DIALSTATUS variable. here <a href="http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS">http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS</a></div><div>
<br></div><div><a href="http://www.voip-info.org/wiki/view/Asterisk+variable+DIALSTATUS"></a>I hope it helps</div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Mar 18, 2010 at 1:31 PM, Zhang Shukun <span dir="ltr">&lt;<a href="mailto:bitzsk@gmail.com">bitzsk@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi,all<br>
<br>
one problem confuse me these days. i want to sequence dial three PSTN<br>
number(a,b,c)<br>
<br>
first, if i dial number a, if a is busy , i will dial number b. if b<br>
is busy, i will dial number c.<br>
<br>
Dial(SIP/a@IP,30)<br>
Dial(SIP/b@IP,30)<br>
Dial(SIP/c@IP,30)<br>
<br>
i want to know before i dial number a, how to know if a is busy now?<br>
<br>
if a is busy now. i will not dial a, instead, i will dial number b directly.<br>
<br>
to summary is : in asterisk, how to detect a pstn telephone number is<br>
busy or not before dialing it?<br>
<br>
Thanks!<br>
<br>
--<br>
Best regards,<br>
Sucan<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
               <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>
</blockquote></div><br><br clear="all"><br>-- <br>Best Regards<br>Shakeel Abbas<br><br>
</div>