[SR-Users] UAC changing port for same registration

Charles Phillips charles at rustybike.com
Tue Mar 2 17:46:39 CET 2021


If using TCP or TLS, you can use Tcpconn-Id in usrloc with the tcpops module find stale connections.

- Charles




> On Mar 2, 2021, at 11:19 AM, Sergiu Pojoga <pojogas at gmail.com> wrote:
> 
> Are you supporting a single Contact per AoR? Otherwise, I don't see how you can keep track of "changes in location and detect if an agent is online".
> 
> If so, just set the 0x04 registrar flag and you'll always have the latest registered Contact address in Location.
> 
> https://kamailio.org/docs/modules/devel/modules/registrar.html#registrar.f.save <https://kamailio.org/docs/modules/devel/modules/registrar.html#registrar.f.save>
> 
> Regards,
> --Sergiu
> 
> On Tue, Mar 2, 2021 at 8:26 AM Michal Popovic <michal.popovic at cloudtalk.io <mailto:michal.popovic at cloudtalk.io>> wrote:
> Hello everybody,
> 
> let's have a situation where UAC is behind the NAT and router suddenly change the external port.
> 
> Kamailio in this case creates two location entries one with old port and one with the new one.
> 
> Now UAC unregister from the new one and old location remains active until it expires and our support system that is listening to locations changes keep the agent online for other services.
> 
> Is there any way besides the regular OPTIONS ping from UAS to UAC how to solve this issue?
> 
> Thanks.
> Michal
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210302/27407c8a/attachment.htm>


More information about the sr-users mailing list