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

juha-h notifications at github.com
Thu Jul 30 08:16:39 CEST 2020


Victor Seva writes:

> @juha-h since you committed https://github.com/kamailio/kamailio/commit/6822ff45e931ad3e93b22ebf7d1beb350bf27e70, 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/6822ff45e931ad3e93b22ebf7d1beb350bf27e70#diff-0c68f4211a54ae66988228c3e4b61852R521-R528

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);
		}
	}
```


-- 
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-666147074
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200729/082f6ce4/attachment-0001.htm>


More information about the sr-dev mailing list