[SR-Users] Presence WARNING after publish and no NOTIFY

Yuriy Gorlichenko ovoshlook at gmail.com
Tue Oct 17 17:49:33 CEST 2017


Hi use 5.0.1 with presence
for TCP/UDP endpoints presence works PERFECT
but for WS socket presence i see next (small cleaned log here with all
described  bellow https://pastebin.com/8a77ggj0 ):

When WS endpoint subscribes - kamailio After kamailio sends 202 to
SUBSCRIBE message (see it on client) it sends fast NOTIFY correcly without
any trouble, and i see at the kamailio reply from WS endpoint - 200

WS endpoint added to active_watchers table.

But when Subscribed endpoint makes for example some call and presence
server sends PUBLISH i see:

presence [presentity.c:426]: delete_presentity_if_dialog_id_exists():
Presentity already exists - deleting it

At the logs and then presence server doesn't send NOTIFY to WS endpoint

What is the issue of this? Can not understand why it happens. Can someone
to help me understand this?

And the dump i see that kamailio send first NOTIFY form UDP port but then
translates it to tls for websocket and i see correct NOTIFY at the WS
endpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171017/c972c6f3/attachment.html>


More information about the sr-users mailing list