Hi,

Please anyone can reply on the issue of 412 conditional request failed.



On Thu, Jan 18, 2024 at 6:49 PM satyaprakash ch <chiramchetty.satyaprakash@gmail.com> wrote:
Hi

There were two PUBLISH requests were sent by the Kamailio Proxy server to the Kamailio Presence server.

Processing of the first PUBLISH request resulted in the presentity table being updated - the "etag" changed from "a.1705053846.16611.21.1" to "a.1705053846.16613.23.2"

Processing of the second PUBLISH failed because it also attempted to update the etag in the presentity table but at this point in time there was no match to the original etag value in the database


Logs in kamailio.log:
------
ps_db_update_presentity(): No E-Tag match a.1705053846.16611.21.1
DEBUG: tm [t_reply.c:637]: _reply_light(): reply sent out - buf=0x7f81e5ca5fc0: SIP/2.0 412 Conditio... shmem=0x7f81de6da068: SIP/2.0 412 Conditional request failed.



Will any one suggest how to resolve the issue of 412 conditional request failed.