Hi, With Asterisk 1.8 is it now possible to register the same SIP account at multiple endpoints and for both to ring when the associated extension is dialed ? -- Thanks, Phil -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110309/fe9d7bc7/attachment.htm>
Bryant Zimmerman
2011-Mar-09 13:21 UTC
[asterisk-users] Multiple SIP endpoint registrations
---------------------------------------- From: "--[ UxBoD ]--" <uxbod at splatnix.net> Sent: Wednesday, March 09, 2011 6:17 AM To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com> Subject: [asterisk-users] Multiple SIP endpoint registrations Hi, With Asterisk 1.8 is it now possible to register the same SIP account at multiple endpoints and for both to ring when the associated extension is dialed ? -- Thanks, Phil ---------------------------------------- Phil Based on what we have seen you must have a sip account per end point. If you want to ring multiple endpoints you can specify them in the dial command exten => exp,n,Dial(SIP/Account1&SIP/Account2&SIP/Account3, options). This is the only way we know of to do this as you must have an IP and port number to send traffic to and we have seen no method of having two IP's and Ports per account. The only other way I could think of is some outside the box multicast method and the endpoints would need to be set to receive any SIP traffice without registration. This would not be secure and to my knowledge would be beyond basic asterisk at this time. Thanks Bryant -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110309/032988cc/attachment-0001.htm>
You can register multiple end users with only one sip account but asterisk does not support ringing all the registered phones on single account. Whenever a new registration comes, asterisk updates its contact info in memory. So if the registration is coming from multiple end users (multiple ip address and port) then the call will be placed to the phone who sent latest registration request. Asterisk does not keep track of all the ip addresses for single account registration. What we have done to ring all the end users with same account is that we listen to registration requests thru manager api in order to detect multiple registration. If we have detected multiple registration then we store the contact information of all the end user phones which are related to single account. And when asterisk receives a dial request for that user, we create a temporary/fake users (as many as needed) in memory and dial all of them in the code not thru Dial application as it does not support thsi scenario. We are still working on this scenario. It is in working condition but in testing phase. On Wed, Mar 9, 2011 at 4:14 PM, --[ UxBoD ]-- <uxbod at splatnix.net> wrote:> Hi, > > With Asterisk 1.8 is it now possible to register the same SIP account at > multiple endpoints and for both to ring when the associated extension is > dialed ? > -- > Thanks, Phil > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Best Ragards Rizwan Qureshi VoIP/Asterisk Engineer Axvoice Inc. V: +92 (0) 3333 6767 26 E: rizwanhasham at gmail.com W: www.axvoice.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110309/4ea7b08c/attachment.htm>
"--[ UxBoD ]--" <uxbod at splatnix.net> writes:> Hi, > With Asterisk 1.8 is it now possible to register the same SIP account at > multiple endpoints and for both to ring when the associated extension is > dialed ?No. Our solution is to give each phone an account and make a Local/234 at somecontext which dials SIP/234-foo&SIP/234-bar. There are some challenges with Local channels, and we are working with Olle E. Johansson to get some of them resolved. One of them is that in some cases Asterisk cannot do reinvite if Local is done without /n. /Benny
Kevin P. Fleming
2011-Mar-15 23:13 UTC
[asterisk-users] Multiple SIP endpoint registrations
On 03/10/2011 03:42 PM, Benny Amorsen wrote:> "--[ UxBoD ]--"<uxbod at splatnix.net> writes: > >> Hi, >> With Asterisk 1.8 is it now possible to register the same SIP account at >> multiple endpoints and for both to ring when the associated extension is >> dialed ? > > No. Our solution is to give each phone an account and make a > Local/234 at somecontext which dials SIP/234-foo&SIP/234-bar.Why do you need a Local channel to do this? If extension 234 exists in some context, the Dial() statement in that extension can dial SIP/234-foo and SIP/234-bar itself. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org