Victor Seva writes:
@juha-h since you committed https://github.com/kamailio/kamailio/commit/6822ff45e931ad3e93b22ebf7d1beb35..., can you please comment why it was necessary?
I don't remember. It was long time ago. Perhaps there has been some mailing list discussion related to the commit.
Why on PUA_DB_ONLY there's no call to ``get_record_puadb`` https://github.com/kamailio/kamailio/commit/6822ff45e931ad3e93b22ebf7d1beb35...
There is call to ``get_record_puadb``:
``` if (dbmode==PUA_DB_ONLY) { if (publ->etag) { memset(&dbpres, 0, sizeof(dbpres)); dbpres.pres_uri = &pres_uri; dbpres.watcher_uri = &watcher_uri; dbpres.extra_headers = &extra_headers; presentity = get_record_puadb(publ->id, publ->etag, &dbpres, &res); } } ```