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@pstn) exten => 107,3,Hangup exten => 107,102,Voicemail(b102@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@pstn) exten => 107,3,Hangup exten => 107,102,Voicemail(b102@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@pstn) exten => 107,4,Hangup exten => 107,102,Voicemail(b102@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? -- Rock River Internet Roger Grunkemeyer 202 W. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x102
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@pstn) > exten => 107,3,Hangup > exten => 107,102,Voicemail(b102@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-3e4fYour 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@pstn) > exten => 107,4,Hangup > exten => 107,102,Voicemail(b102@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@basesys.com>
You can use progress detect because on analog it will answer once its done dialing otherwise. bkw> -----Original Message----- > From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users- > admin@lists.digium.com] On Behalf Of Roger > Sent: Monday, May 24, 2004 1:48 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] dialing multiple extensions > > 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@pstn) > exten => 107,3,Hangup > exten => 107,102,Voicemail(b102@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@pstn) > exten => 107,3,Hangup > exten => 107,102,Voicemail(b102@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@pstn) > exten => 107,4,Hangup > exten => 107,102,Voicemail(b102@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? > > -- > Rock River Internet Roger Grunkemeyer > 202 W. State St, 8th Floor grunky@rockriver.net > Rockford, IL 61101 815-968-9888 x102 > > _______________________________________________ > 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
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@pstn) > exten => 107,3,Hangup > exten => 107,102,Voicemail(b102@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@pstn) > exten => 107,3,Hangup > exten => 107,102,Voicemail(b102@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@pstn) > exten => 107,4,Hangup > exten => 107,102,Voicemail(b102@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? >
John Fraizer wrote:> > 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.Thanks for the reply - I have version cell phone service. I did a work around and called my cell phone via IAX2 as opposed to the zaptel channels. This works and all 3 extensions ring w/ no problem. -- Rock River Internet Roger Grunkemeyer 202 W. State St, 8th Floor grunky@rockriver.net Rockford, IL 61101 815-968-9888 x102