[OpenSIPS-Users] Clustering Presence opensips 3.2/3.3 in K8s environment
bogdan at opensips.org
Mon Apr 18 12:58:50 UTC 2022
Maybe the k8s layer (the ingress ??) sticks its tails in there - could
you check at opensips level if the TCP conn is still seen as up ? Use
the mi list_tcp_conns MI function
OpenSIPS Founder and Developer
OpenSIPS eBootcamp 23rd May - 3rd June 2022
On 4/13/22 6:08 PM, Jonathan Hunter wrote:
> Hi All,
> Has anyone managed to get presence working when using an active/active
> opensips setup with k8s ?
> Everything works apart from presence, In particular when a websocket
> user disconnects due to a client crash.
> I ideally would want to use event_route[E_CORE_TCP_DISCONNECT] to then
> grab the disconnect when it comes in via websockets/tcp, however I
> cant seem to get it to trigger. Could this be due to the underlying
> hooks OpenSIPS uses to interact with with OS with TCP or something else?
> As I would use the event route, to then remove the registration from
> the location table, as otherwise I have duplicate entries in both
> location and the presentity list.
> Is this something anyone else has encountered?
> I have tried using clustering with both presence and pua and have same
> issues, whereby after an unwanted disconnect subsequent NOTIFY
> messages contain more than one id per entity;
> <presence xmlns="urn:ietf:params:xml:ns:pidf"
> entity="sip:61067470a372a031a7495a1a at domain">
> <tuple xmlns="urn:ietf:params:xml:ns:pidf"
> I need to stop this occurring ideally, any help much appreciated.
> Many thanks
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users