[sr-dev] [kamailio/kamailio] pua: different behavior depending on db_mode (#2414)

Victor Seva notifications at github.com
Fri Jul 31 09:27:21 CEST 2020


Sorry @juha-h but I don't get your point.

If a pua_* module execute send_publish() and etag is not set pua has to search anyway for that ``ua_pres_t`` in the db. So it would be updated. If not, we are getting a record for every state, SIP-If-Match in later PUBLISH of the same dialog is missing and only the last record gets removed when the dialog is finished.

All of that doesn't happen with https://github.com/kamailio/kamailio/commit/da7f7ef082e28f81893ec06081358a9f88571bcc

Every **pua_*** module that uses pua.send_publish() except **pua_rpc** doesn't set etag parameter.
* **pua_bla**
* **pua_dialoginfo**
* **pua_usrloc**
* **pua_xmpp**

So I don't get what you want to achieve. This was a bug that users reported and I had suffered.

-- 
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/2414#issuecomment-666977383
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200731/f95d372a/attachment.htm>


More information about the sr-dev mailing list