[Asterisk-Users] dialing multiple extensions

John Fraizer tvo at enterzone.net
Mon May 24 16:19:34 MST 2004


It looks like your cellphone carrier is actually "answering" the call 
before they ring your phone.  In their switch, they probably have the 
equiv of:

exten => your.cellphone.number,1,Answer()
exten => your.cellphone.number,2,Ringing
exten => your.cellphone.number,3,Dial(CELL/${EXTEN},20)
exten => your.cellphone.number,4,Voicemail(u${EXTEN})
exten => your.cellphone.number,104,Voicemail(b${EXTEN})

This is actually a serious no-no for them to be doing though.  If that 
is in fact what they are doing, anyone who dials long distance to your 
cellphone will be paying to hear it ring, even if they hang up before 
you answer or your voicemail answers the phone.

What they SHOULD be doing is more along these lines:

exten => your.cellphone.number,1,Dial(CELL/${EXTEN},20)
exten => your.cellphone.number,2,Voicemail(u${EXTEN})
exten => your.cellphone.number,102,Voicemail(b${EXTEN})

Good luck getting them to change this behavior though if they are 
actually giving answer indication right off the bat.

John


Roger wrote:

> I've tried to setup multiple extension dialing - ie dial 1 number and it 
> rings at a number of sources.
> 
> For the most part its worked....  Now if someone dials 107 it rings Sip 
> phones at 102 and 107, then goes to voicemail after 40 seconds.
> 
> exten => 107,1,Dial(SIP/102&SIP/107,40|r)
> exten => 107,2,Voicemail(u102 at pstn)
> exten => 107,3,Hangup
> exten => 107,102,Voicemail(b102 at pstn)
> exten => 107,103,Hangup
> 
> The problem I'm running into is when I add my cell phone in
> 
> exten => 107,1,Dial(SIP/102&SIP/107&Zap/2/11235551212,40|r)
> exten => 107,2,Voicemail(u102 at pstn)
> exten => 107,3,Hangup
> exten => 107,102,Voicemail(b102 at pstn)
> exten => 107,103,Hangup
> 
> Calling from x110 the SIP extensions ring once, maybe twice.  Then once 
> my cell phone starts ringing the SIP phones stop, even though I haven't 
> answered my cell phone.  Here's what happens:
> 
>    -- Executing Dial("SIP/110-3e4f", 
> "SIP/107&SIP/102&Zap/2/11235551212|40|r") in new stack
>    -- Called 107
>    -- Called 102
>    -- Called 2/11235551212
>    -- SIP/107-3d25 is ringing
>    -- SIP/102-1f69 is ringing
>    -- Zap/2-1 answered SIP/110-3e4f
> 
> I know I can do the following....
> 
> exten => 107,1,Dial(SIP/102&SIP/107,40|r)
> exten => 107,2,Dial(ZAP/2/11235551212,40|r)
> exten => 107,3,Voicemail(u102 at pstn)
> exten => 107,4,Hangup
> exten => 107,102,Voicemail(b102 at pstn)
> exten => 107,103,Hangup
> 
> I'm just wondering if I could get all this in one line.
> 
> Would dialing via IAX2 help rather then through the zaptel lines?
> 




More information about the asterisk-users mailing list