Hi thanks for the patch, I will test this once we have updated to 2.4 in the middle of that atm.
Br/Olle Från: Users [mailto:[email protected]] För Liviu Chircu Skickat: den 24 maj 2018 08:26 Till: [email protected] Ämne: Re: [OpenSIPS-Users] Remove contacts frol location table with same SIP_instance ID Hi Olle, I pushed an additional filter for the remove() function on the development (master) branch -- "remove by sip.instance" [1]. If demand for this feature is popular (with all the PN setups nowadays), we may backport it to 2.4 during some future minor release. Prior to this patch, you could not achieve this kind of filtering at all, as "+sip.instance" is a Contact header parameter, and not a Contact URI parameter. So when you do a lookup(), although you load up all contacts, you lose the "+sip.instance" semantics of each one because only the Contact URIs are relevant for the routing. Please let me know if this works for you. Best regards, [1]: http://www.opensips.org/html/docs/modules/3.0.x/registrar.html#func_remove Liviu Chircu OpenSIPS Developer http://www.opensips-solutions.com On 14.04.2018 17:55, Olle Frimanson wrote: Hi, I wonder if somebody can point me in the right direction. When mobile devices goes to background its fairly common with both iOS and Androids socket behavior that a unregister dont reach the SIP server. We see a lot of multiple registrations from the same user with same SIP_instance ID. When a new registration comes in I would like to remove registrations from the same user and SIP_Instance ID but keep all others so calls can fork in the proper way. So if anybody can point me in the right direction it would be much appreciated. BR/Olle _______________________________________________ Users mailing list [email protected] <mailto:[email protected]> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
