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@domain">
<tuple xmlns="urn:ietf:params:xml:ns:pidf" 
id="0x7ffe75896760"><status><basic>open</basic></status></tuple><tuple 
xmlns="urn:ietf:params:xml:ns:pidf" 
id="0x7ffd0716b390"><status><basic>open</basic></status></tuple></presence>

I need to stop this occurring ideally, any help much appreciated.

Many thanks

Jon



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to