desoft@freemail.gr
2005-Feb-19 09:59 UTC
[Asterisk-Users] I need to dial multiple numbers concurently but with delays.
I have let's say a reception that is comprised of 2 zap extensions and a mobile phone to dial using ISDN through Capi. I want to have a delay before starting dialing the mobile phone so that it rings only when the call has been unanswered for say 25 seconds. I tried to use Capi/2106994444:ww6935555555 but without any success. There is any way to do it or the code has to be modified ? Thanks
Kevin P. Fleming
2005-Feb-19 10:42 UTC
[Asterisk-Users] I need to dial multiple numbers concurently but with delays.
desoft@freemail.gr wrote:> There is any way to do it or the code has to be modified ?Not yet, no, but I'm working on this enhancement. For now you can just use two Dial() statements, one after the other. The downside to this is that there is a very short moment where no outbound call will be active, so if the person tries to answer at exactly that moment they may not get the call.
Trevor Peirce
2005-Feb-19 12:43 UTC
[Asterisk-Users] I need to dial multiple numbers concurently but with delays.
desoft@freemail.gr wrote:>I have let's say a reception that is comprised of 2 zap extensions and a mobile phone to dial using ISDN through Capi. >I want to have a delay before starting dialing the mobile phone so that it rings only when the call has been unanswered for say 25 seconds. >I tried to use Capi/2106994444:ww6935555555 but without any success. > >There is any way to do it or the code has to be modified ? > >Hmm... exten => 555,1,Dial(Capi/2106994444&Local/555cell) exten => 555cell,1,Wait(25) exten => 555cell,2,Dial(Capi/6935555555) I have never done this but I imagine that would solve your problem. Trev
Kevin P. Fleming
2005-Feb-19 12:48 UTC
[Asterisk-Users] I need to dial multiple numbers concurently but with delays.
Trevor Peirce wrote:> exten => 555,1,Dial(Capi/2106994444&Local/555cell) > > exten => 555cell,1,Wait(25) > exten => 555cell,2,Dial(Capi/6935555555) > > I have never done this but I imagine that would solve your problem.Pretty imaginative! Yes, that should work.
Richard J. Sears
2005-Feb-24 16:42 UTC
[Asterisk-Users] I need to dial multiple numbers concurently but with delays.
I did the same thing, only I ring 3 phones at once and then my cell, dropping back to my system VM if I don't answer my cell. Here is how I did it: I applied some variables to make it easer: RJSVMEXT=2377 RJSWORK=2377 RJSDESK=2378 RJSLAPTOP=2379 RJSHOME=2380 RJSCELL=18585551212 I created the macro to do the dialing: [macro-stdexten_cell] ; ARG1 = Welcome Message to play ; ARG2 = Phones to Ring ; ARG3 = Cell Phone Number ; Ring any phone passed to the macro for 15 seconds with ; music background, then ring my cell phone for 15 seconds ; then back to system vmail if no answer. exten => s,1,Playback(${ARG1}) exten => s,2,Dial(${ARG2},15,rtm) exten => s,3,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Dial(IAX2/iblahblah@NuFone/${ARG3},15,rtm) exten => s-NOANSWER,2,Voicemail(u${MACRO_EXTEN}) exten => s-BUSY,1,Voicemail(b${MACRO_EXTEN}) exten => s-.,1,Goto(s-NOANSWER,1) exten => a,1,VoicemailMain(${MACRO_EXTEN}) Then I created the extension entry: exten => ${RJSWORK},1,Macro(stdexten_cell,sears_welcome,SIP/${RJSWORK}&SIP/${RJSDESK}&SIP/${RJSLAPTOP}&SIP/${RJSHOME},${RJSCELL}) Hope this helps. On Sat, 19 Feb 2005 18:59:09 +0200 desoft@freemail.gr wrote:> > I have let's say a reception that is comprised of 2 zap extensions and a mobile phone to dial using ISDN through Capi. > I want to have a delay before starting dialing the mobile phone so that it rings only when the call has been unanswered for say 25 seconds. > I tried to use Capi/2106994444:ww6935555555 but without any success. > > There is any way to do it or the code has to be modified ? > > Thanks > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users****************************************** Richard J. Sears Vice President American Internet Services ---------------------------------------------------- rsears@adnc.com http://www.adnc.com ---------------------------------------------------- 858.576.4272 - Phone 858.427.2401 - Fax INOC-DBA - 6130 ---------------------------------------------------- I fly because it releases my mind from the tyranny of petty things . . "Work like you don't need the money, love like you've never been hurt and dance like you do when nobody's watching."