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: [email protected] [mailto:[email protected]] 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 -- _____________________________________________________________________ -- 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
