[asterisk-users] Detect if a Number is up or not

Danny Nicholas danny at debsinc.com
Tue Apr 27 08:17:27 CDT 2010


This is probably a good idea, BUT it is likely that the dialed phone will
never ring (Perhaps that is the desired effect);  In my experience it takes
Zap/DAHDI about 2-7 seconds to generate the first ring of a call.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ioan Indreias
Sent: Tuesday, April 27, 2010 2:36 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Detect if a Number is up or not

another idea you could test is to use a very short Timeout in your Dial
command.

like Dial(ZAP/012345678,1) - will dial and exit after 1 sec with
DIALSTATUS set accordingly

HTH,
Ioan

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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