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. Any suggestions? - sf
> 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.Not directly, but yes. Hint: Local channel + Wait. Something like this: Dial(SIP/phone&Local/3105151212@delayed) [delayed] exten => XXXXXXXXXX,1,Wait(10) exten => XXXXXXXXXX,2,Dial(SIP/${EXTEN}@trunk) --Luki
Hi Steve, put a timeout in the Dial command, if the call isn't answered it returns after the timeout has expired e.g.: exten => _X.,1,Dial(SIP/${EXTEN}|15) It waits 15 secs for the call to be answered Look at http://www.voip-info.org/wiki-Asterisk+cmd+Dial for more informations Regards Edoardo Steve Finkelstein ha scritto:> 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. > > Any suggestions? > > - sf > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > >-- Ing. Edoardo Serra WeBRainstorm S.r.l. Via Pio Fo? 83/C 10126 - Torino Tel: +39 011 678 100 Fax: +39 011 678 275
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@extensions@Local/cell@extensions) exten => desk,1,Dial(SIP/deadbeef-a) exten => cell,1,Wait(15) exten => cell,2,Dial(Zap/G1/5551212)