[sr-dev] [kamailio/kamailio] dmq_usrloc: contacts not deleted while 0x04 flag set in save() function (#1445)

Guillaume Bour notifications at github.com
Fri Feb 16 16:44:34 CET 2018


I finally found the delete event on server2 (generated by usrloc):
> DEBUG: usrloc [ul_callback.h:84]: run_ul_callbacks(): contact=0x7f87b6dd0de8, callback type 4/15, id 0 entered
> DEBUG: dmq_usrloc [usrloc_sync.c:578]: dmq_ul_cb_contact(): Callback from usrloc with type=4
> DEBUG: dmq_usrloc [usrloc_sync.c:600]: dmq_ul_cb_contact(): Contact received from DMQ... skip

I guess the problem comes from usrloc_sync.c, line 582:
> if (!(ptr->flags & FL_RPL)) [

My understanding is usrloc delete event is not propagated through DMQ if the contact was not not previously registered from the exact same server.
Why is it like that ?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1445#issuecomment-366271566
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180216/dbf0e7bd/attachment-0001.html>


More information about the sr-dev mailing list