Any Known Dual-Registration Issue?
I've noticed that sometimes my phones end up with two registrations with two Call-IDs at Freeswitch. Is there any known bug that would cause this? I've seen it on different phone models, so I'm thinking there is some timing issue with Freeswitch. Best Regards, Jerry
The phone is at fault. It prob. uses a different call-id for each new reg... and or you restart the phone without it unregistering and you'll end up with TWO. /b On Feb 9, 2010, at 2:26 PM, Jerry Richards wrote:
I've noticed that sometimes my phones end up with two registrations with two Call-IDs at Freeswitch. Is there any known bug that would cause this? I've seen it on different phone models, so I'm thinking there is some timing issue with Freeswitch.
Best Regards, Jerry
What kind of phones? If you have multiple registartion, this can happen sometimes if you reboot a phone. Crappy phones, like Grandstream, don't un-register when you reboot and then when they come back up, they register again and thus two registrations until the lifetime of the registration ends and it gets flushed. Changing the multiple-registration to contact can help as I believe that uses port and source IP as part of the registration info: <param name="multiple-registrations" value="contact"/> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jerry Richards Sent: Tuesday, February 09, 2010 2:27 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Any Known Dual-Registration Issue? I've noticed that sometimes my phones end up with two registrations with two Call-IDs at Freeswitch. Is there any known bug that would cause this? I've seen it on different phone models, so I'm thinking there is some timing issue with Freeswitch. Best Regards, Jerry _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
As a note, this can cause issues too if you have multiple legitimate registrations from the same ip and port, beware unless you understand the consequences. Mike On Feb 9, 2010, at 3:40 PM, Peder wrote:
What kind of phones? If you have multiple registartion, this can happen sometimes if you reboot a phone. Crappy phones, like Grandstream, don't un-register when you reboot and then when they come back up, they register again and thus two registrations until the lifetime of the registration ends and it gets flushed. Changing the multiple-registration to contact can help as I believe that uses port and source IP as part of the registration info:
<param name="multiple-registrations" value="contact"/>
I am using Bria Pro softphones, but it is possible that the PC was disconnected before a restart. Any phone does not necessarily send unregister, for example if there is a power outage or it is disconnected from the network. Anyway, I'll just try setting multiple-registrations to contact as you suggest. Thanks, Jerry -----Original Message----- From: Peder [mailto:peder@networkoblivion.com] Sent: Tuesday, February 09, 2010 12:41 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Any Known Dual-Registration Issue? What kind of phones? If you have multiple registartion, this can happen sometimes if you reboot a phone. Crappy phones, like Grandstream, don't un-register when you reboot and then when they come back up, they register again and thus two registrations until the lifetime of the registration ends and it gets flushed. Changing the multiple-registration to contact can help as I believe that uses port and source IP as part of the registration info: <param name="multiple-registrations" value="contact"/> -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jerry Richards Sent: Tuesday, February 09, 2010 2:27 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Any Known Dual-Registration Issue? I've noticed that sometimes my phones end up with two registrations with two Call-IDs at Freeswitch. Is there any known bug that would cause this? I've seen it on different phone models, so I'm thinking there is some timing issue with Freeswitch. Best Regards, Jerry _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This is correct, so registrations have a timeout. If your timeout is long, and you allow multiple registrations, it will keep trying to call the bad registration until timeout. Our middle-ground setting is to have a setting that specifies only one reg per ip/port. Anything beyond that is just not possible with the protocol, at least when using udp. If you are using tcp for the registrations it *might* clear that down properly in these cases. So you have 3 ways to address this. Only allow 1 registration per user, only allow 1 registration per contact, allow all the registrations and expect this issue until timeout (set at the length you can tollerate), and a possible 4th of tcp may address this. Mike On Feb 10, 2010, at 11:13 AM, Jerry Richards wrote:
I am using Bria Pro softphones, but it is possible that the PC was disconnected before a restart. Any phone does not necessarily send unregister, for example if there is a power outage or it is disconnected from the network. Anyway, I'll just try setting multiple-registrations to contact as you suggest.
Thanks, Jerry
participants (4)
-
Brian West
-
Jerry Richards
-
Michael Jerris
-
Peder