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


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2414#issuecomment-666147074">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNLHK7ESG3VK7WY5QLR6EF4PANCNFSM4PLSO44A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZJUYSYQ4UWCWCZ6LITR6EF4PA5CNFSM4PLSO44KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE62JSAQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2414#issuecomment-666147074",
"url": "https://github.com/kamailio/kamailio/issues/2414#issuecomment-666147074",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>