Re: [asterisk-users] Failed SIP registration kicks registered device off?
On Wed, Jan 12, 2011 at 10:13:22AM -0600, Kevin P. Fleming wrote: >His point is valid though... A's registration should not have been >overwritten until B *successfully* registered. A failed attempt to >register should have no effect on the existing registration. Indeed, the avenue for a brute-force DoS (absent something like fail2ban) is fairly obvious. -- _ -- 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
Re: [asterisk-users] Failed SIP registration kicks registered device off?
On 01/12/2011 10:07 AM, James Lamanna wrote: HI Ye, On Mon, Jan 10, 2011 at 10:04 AM, Ye Liu wrote: Hi folks, I'm currently running a modified version of Asterisk 1.6.1.1, I observed an unexpected behavior of my system today: 1. SIP device A successfully registered extension 100; 2. SIP device B tried to register extension 100 but with wrong password, so registration failed; 3. A then showed it was unregistered! Failed registration of device B shouldn't kick A off, I expect A stay online and work properly in this situation. Could anyone confirm this? Because my asterisk is modified, I'm not sure this behavior is in vanilla asterisk or it is caused by my own code. AFAIK, Asterisk does not support simultaneous registration from more than one device on the same extension. That is why you are seeing this behavior. As soon as B tries to register, the registration of A is 'overwritten'. If you need this behavior, you might want to try and look into a different UA Registrar like OpenSIPS, which supports this. His point is valid though... A's registration should not have been overwritten until B *successfully* registered. A failed attempt to register should have no effect on the existing registration. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: kflem...@digium.com Check us out at www.digium.com & www.asterisk.org -- _ -- 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
Re: [asterisk-users] Failed SIP registration kicks registered device off?
HI Ye, On Mon, Jan 10, 2011 at 10:04 AM, Ye Liu wrote: > Hi folks, > > I'm currently running a modified version of Asterisk 1.6.1.1, I > observed an unexpected behavior of my system today: > > 1. SIP device A successfully registered extension 100; > 2. SIP device B tried to register extension 100 but with wrong > password, so registration failed; > 3. A then showed it was unregistered! > > Failed registration of device B shouldn't kick A off, I expect A stay > online and work properly in this situation. > > Could anyone confirm this? Because my asterisk is modified, I'm not > sure this behavior is in vanilla asterisk or it is caused by my own > code. AFAIK, Asterisk does not support simultaneous registration from more than one device on the same extension. That is why you are seeing this behavior. As soon as B tries to register, the registration of A is 'overwritten'. If you need this behavior, you might want to try and look into a different UA Registrar like OpenSIPS, which supports this. > > Thank you! > > -- > Ye Liu (AKA @jaux) -- James -- _ -- 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
[asterisk-users] Failed SIP registration kicks registered device off?
Hi folks, I'm currently running a modified version of Asterisk 1.6.1.1, I observed an unexpected behavior of my system today: 1. SIP device A successfully registered extension 100; 2. SIP device B tried to register extension 100 but with wrong password, so registration failed; 3. A then showed it was unregistered! Failed registration of device B shouldn't kick A off, I expect A stay online and work properly in this situation. Could anyone confirm this? Because my asterisk is modified, I'm not sure this behavior is in vanilla asterisk or it is caused by my own code. Thank you! -- Ye Liu (AKA @jaux) http://jaux.net -- _ -- 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