[Asterisk-Users] dialing multiple extensions

Steven Critchfield critch at basesys.com
Mon May 24 12:01:02 MST 2004


On Mon, 2004-05-24 at 13:47, Roger wrote:
> I've tried to setup multiple extension dialing - ie dial 1 number and it 
> rings at a number of sources.

> 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

Your problem here probably lies in you are most likely using an analog
line for the zap portion. Since analog doesn't know when the other side
answered or not, it assumes answered and stops ringing your SIP phones.

> 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?

IAX2 would help, but only if you where using a provider who had a PRI or
T1 line that knows when the other side answers the phone. 

-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list