Hello. I'm a new Asterisk user, but I'm impressed with the flexibility and versatility of Asterisk, and am moving quickly to adopt it's main-line use in our company. Hopefully, you'll be hearing more from me as the project moves forward. Right now, though, I have a question about SIP peer registration. Right now, for our SIP-based phone,s, we're using the Sip Express Router product, which accepts sip registration requests and lets us route calls to any of the phones which register with SER. I am a semi-nomatic user, and can work at any of three different locations. Right now, my phones all sign up with SER, and register with the same telephone number. When someone dials that number, all three phones ring, and which ever one gets answered first, gets the call. When I tried to do this with Asterisk, sources from the cvs repository as of 12/18/2003, sip show peers only showed the most recent registration. This lead me to believe that if I dialed the number, only the most recently registered phone would ring. I was able to work around the problem by defining an umbrella extension which rings all three phones at the same time, but I'd like to have a way of dynamically adding phones to a given extension without having to necessarily rewrite the extensions.conf file, and I'd like calls from these extensions to show up from the master extension that folks should use to reach me. I imagine I could do something with pickup groups, but my understanding is that it is not true that all phones in a pickup group will necessarily ring just because they're a member of a given pickup group. The phones on this particular extension are many miles from each other, so one couldn't hear the other phone ring. Another work around is to put Asterisk behind SER, but this seems overly complicated, and I want to make sure that Asterisk doesn't do what I want before I pursue that path. Any suggestions on how to have multiple phones register with the same number in Asterisk? -Brian
On Wednesday 24 December 2003 13:06, Brian Buhrow wrote:> Hello. I'm a new Asterisk user, but I'm impressed with the > flexibility and versatility of Asterisk, and am moving quickly to > adopt it's main-line use in our company. Hopefully, you'll be > hearing more from me as the project moves forward. > Right now, though, I have a question about SIP peer registration. > Right now, for our SIP-based phone,s, we're using the Sip Express > Router product, which accepts sip registration requests and lets us > route calls to any of the phones which register with SER. I am a > semi-nomatic user, and can work at any of three different > locations. Right now, my phones all sign up with SER, and register > with the same telephone number. When someone dials that number, > all three phones ring, and which ever one gets answered first, gets > the call. > When I tried to do this with Asterisk, sources from the cvs > repository as of 12/18/2003, sip show peers only showed the most > recent registration. This lead me to believe that if I dialed the > number, only the most recently registered phone would ring. I was > able to work around the problem by defining an umbrella extension > which rings all three phones at the same time, but I'd like to have > a way of dynamically adding phones to a given extension without > having to necessarily rewrite the extensions.conf file, and I'd > like calls from these extensions to show up from the master > extension that folks should use to reach me. I imagine I could do > something with pickup groups, but my understanding is that it is > not true that all phones in a pickup group will necessarily ring > just because they're a member of a given pickup group. The phones > on this particular extension are many miles from each other, so one > couldn't hear the other phone ring. > Another work around is to put > Asterisk behind SER, but this seems overly complicated, and I want > to make sure that Asterisk doesn't do what I want before I pursue > that path. > > Any suggestions on how to have multiple phones register with the > same number in Asterisk?In sip.conf: [phone1] type=peer host=dynamic [phone2] type=peer host=dynamic [phone3] type=peer host=dynamic in extensions.conf: [default] exten => 0,1,Dial(SIP/phone1&SIP/phone2&SIP/phone3,30,T) -Tilghman
Hello. I think I understand your suggestion, but don't understand how that's any different than the one I came up with. What I want, is to be able to define a specific extension, and then have any external SIP phones register with that extension that want to. It's important that multiple phones be able to register with the same extension simultaneously. Then, I can define something like: exten => 300,1,Dial(SIP/300,15|t) and all phones registered to extension SIP/300 will ring. The number of phones existing on that extension at any given time is unknown, and Asterisk should be able to keep a list of all devices which are currently registered on a given extension, even if it has seen another device register to the same extension. To guard against number stealing, one could restrict the registration of a given phone number to a single password, but allow that password to be used as often and from where ever. So, for example, if my extension is 300, and my password is "JustForFun", I should be able to program any number of SIP phones to register as extension 300, and as long as they know the magic password, "JustForFun", Asterisk will permit all of them to register as SIP/300. Then, if someone calls 300, they'll all ring simultaneously, and which ever phone gets picked up first, gets the call. This doesn't appear to be how Asterisk works at the moment. Am I wrong about this? -Brian Message: 9 From: Tilghman Lesher <tilghman@mail.jeffandtilghman.com> To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Sip phones on the same extension? Date: Wed, 24 Dec 2003 13:24:53 -0600 Reply-To: asterisk-users@lists.digium.com In sip.conf: [phone1] type=peer host=dynamic [phone2] type=peer host=dynamic [phone3] type=peer host=dynamic in extensions.conf: [default] exten => 0,1,Dial(SIP/phone1&SIP/phone2&SIP/phone3,30,T) -Tilghman
daryl@introspect.net
2003-Dec-25 12:46 UTC
[Asterisk-Users] Re: Sip phones on the same extension?
-----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Brian Buhrow Sent: Thursday, December 25, 2003 2:15 PM To: asterisk-users@lists.digium.com Cc: buhrow@lothlorien.nfbcal.org Subject: [Asterisk-Users] Re: Sip phones on the same extension? Hello. I think I understand your suggestion, but don't understand how that's any different than the one I came up with. What I want, is to be able to define a specific extension, and then have any external SIP phones [...] The difference is, his suggestion works. Yours doesn't. If you register multiple SIP devices in the way you suggest, only one of them will ring. It appears to me that the one that is "fastest" to respond will work, but I only tried the setup briefly before doing a bit of research that told me it wasn't the way this is done in *. Daryl
Hello. I'm sorry I wasn't clear. In the original question I asked, I said that I found the same work around that was suggested on this list. Since the suggestion was there, and since I had posted my original work around in my original message, I thought there was something that I was missing with respect to the work around itself, and I was asking for clarification. The solution I have working at the moment, is exactly the one which was offered up. However, I don't like it, because it's a solution which doesn't scale. I was trying to assertain if Asterisk would do what I was envisioning, and which SER does very well, and if the fact that I couldn't think of a way was merely due to my lack of knowledge about Asterisk. It sounds like Asterisk doesn't work like this right now. Do folks think they'd find such a feature useful if I coded it up and sent it back to Digium? -thanks -Brian Message: 5 Date: Thu, 25 Dec 2003 13:20:51 -0600 (CST) From: Brian West <brian@bkw.org> To: asterisk-users@lists.digium.com Cc: buhrow@lothlorien.nfbcal.org Subject: Re: [Asterisk-Users] Re: Sip phones on the same extension? Reply-To: asterisk-users@lists.digium.com Because the one you came up with isn't possible with asterisk at this time. On Thu, 25 Dec 2003, Brian Buhrow wrote:> Hello. I think I understand your suggestion, but don't understand how > that's any different than the one I came up with. What I want, is to be > able to define a specific extension, and then have any external SIP phones > register with that extension that want to. It's important that multiple > phones be able to register with the same extension simultaneously. Then, I > can define something like: > > exten => 300,1,Dial(SIP/300,15|t) > > and all phones registered to extension SIP/300 will ring. > The number of phones existing on that extension at any given time is > unknown, and Asterisk should be able to keep a list of all devices which are > currently registered on a given extension, even if it has seen another > device register to the same extension. To guard against number stealing, > one could restrict the registration of a given phone number to a single > password, but allow that password to be used as often and from where ever. > So, for example, if my extension is 300, and my password is > "JustForFun", I should be able to program any number of SIP phones to > register as extension 300, and as long as they know the magic password, > "JustForFun", Asterisk will permit all of them to register as SIP/300. > Then, if someone calls 300, they'll all ring simultaneously, and which ever > phone gets picked up first, gets the call. > This doesn't appear to be how Asterisk works at the moment. Am I > wrong about this? > > -Brian > > Message: 9 > From: Tilghman Lesher <tilghman@mail.jeffandtilghman.com> > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Sip phones on the same extension? > Date: Wed, 24 Dec 2003 13:24:53 -0600 > Reply-To: asterisk-users@lists.digium.com > > In sip.conf: > > [phone1] > type=peer > host=dynamic > > [phone2] > type=peer > host=dynamic > > [phone3] > type=peer > host=dynamic > > in extensions.conf: > > [default] > exten => 0,1,Dial(SIP/phone1&SIP/phone2&SIP/phone3,30,T) > > -Tilghman > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >--__--__--
Philipp von Klitzing
2003-Dec-25 18:33 UTC
[Asterisk-Users] Sip phones on the same extension?
How about using a queue and call agents and the ring-all strategy for the inbound calls?> any of the phones which register with SER. I am a semi-nomatic user, and > can work at any of three different locations. Right now, my phones all > sign up with SER, and register with the same telephone number. When > someone dials that number, all three phones ring, and which ever one gets > answered first, gets the call. > When I tried to do this with Asterisk, sources from the cvs repository > as of 12/18/2003, sip show peers only showed the most recentregistration.> and I'd like calls from these extensions to show up from the master > extension that folks should use to reach me.Tune your extensions.conf using SetCallerID() or SetCIDName() as needed. It doesn't appear to be particularly wise to operate two SIP phones at the same time with the same credentials (be it with * or SER or what-have-you), at least not if you have a chance to avoid that situation. Just think about what this would do to the usefulness of the new incominglimit= feature if both phones were in use at the same time... Cheers, Philipp