[asterisk-users] delay to dial

B.Masoud @ SH info at saudihome.com
Sat Oct 10 10:00:26 CDT 2009


I use elastix,
I have this for dialout:

exten => s,8,Dial(${OUT_${ARG1}}/${ARG2:${length}})

where should I add the w ??

also what If I want 1 second delay?
thanks.


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Doug Lytle
Sent: Saturday, October 10, 2009 5:18 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] delay to dial

B.Masoud @ SH wrote:
>
> Hello all,
>
> Is there anyway that I can configure Asterisk to start dialing out 
> from fxo after (xx) seconds from getting the dial tone? I don't want 
> tdm card to send the number immediately because it fails many times.
>

You can use the w. This is from the wiki:

If you need a .5 second pause while dialing a number you can insert a 
*w* in the appropriate place.

Example:

exten => _5XXX,n,Dial(ZAP/G1/w1269xxxxxxxw${EXTEN}${CALLERID(number)})


This dials out G1, waits 1/2 second, dials the phone number and then 
waits 1/2 second again and then dial the extension along with the 
callerid number.

Doug


-- 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety."


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net

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