<p></p>
<p>Well, the design of the usrloc db_mode 2 is that the memory is used as write-back cache. So it is not expected to be changed from database. If you are just looking for some variables from a DB, maybe just using sqlops, htable or avpdbops (just to name a few possibilities) are available.</p>

<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/2299#issuecomment-620070627">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZJN36W4LXPWA2ETU33ROWSSXANCNFSM4MPK66WA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMOBOO3P62ZRLFCGG3ROWSSXA5CNFSM4MPK66WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOET2YNYY.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/2299#issuecomment-620070627",
"url": "https://github.com/kamailio/kamailio/issues/2299#issuecomment-620070627",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>