[asterisk-users] Delay in Dial()

Stephen Bosch posting at vodacomm.ca
Tue May 1 12:26:49 MST 2007


Eric "ManxPower" Wieling wrote:
> Steve Finkelstein wrote:
>> All,
>>
>> Is there any syntax I can use to put a delay in two lines being dialed?
>> One is a SIP endpoint, the other is my cell phone. I'd like to have the
>> SIP phone ring for some arbitrary number of seconds before it is sent
>> off to the mobile phone. Using something like a Wait() within a Dial()
>> would be ideal.
> 
> [extensions]
> 
> exten => 666,1,Dial(Local/desk at extensions@Local/cell at extensions)
> 
> exten => desk,1,Dial(SIP/deadbeef-a)
> 
> exten => cell,1,Wait(15)
> exten => cell,2,Dial(Zap/G1/5551212)

Wouldn't just using the Dial timeout option do the same thing more
elegantly?

Or do you want the SIP phone to keep ringing?

-Stephen-


More information about the asterisk-users mailing list