<p></p>
<p>Hi <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/henningw/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/henningw">@henningw</a> ,</p>
<p>I certainly do use <code>reg_fetch_contacts</code> to fetch all the Contacts of a caller/callee, it provides access to all the <code>location</code> parameters of a Contact (aor, addr, path, received, e.t.c) and that works fine.</p>
<p>Here's the general Lookup flow I use:</p>
<ol>
<li>reg_fetch_contacts("location"); exposes Contact's profile in $ulc pseudo-variable</li>
<li>registered("location"); exposes extra attributes from <code>location_attr</code> in $xavp(ulattrs)</li>
</ol>
<p>The name of XAVP storing the attributes per Contact<br>
modparam("tm|usrloc", "xavp_contact", "ulattrs")</p>
<p>My quarrel is with the extra attributes. I can't find a way to reload/refresh them at runtime. I have to alter the records in DB table <code>location_attrs</code> then restart Kamailio.</p>
<p>Having <code>db_load=1</code> loads all Contacts & Attributes on restart, so I thought - may be the function that does that on restart can do the same thing on-demand in some rpc?</p>
<p>Thanks.</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-620044939">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZP52FG6EECGNJLF4PLROWNQNANCNFSM4MPK66WA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZO7LTF43YCIATFSJ3LROWNQNA5CNFSM4MPK66WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOET2SFCY.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-620044939",
"url": "https://github.com/kamailio/kamailio/issues/2299#issuecomment-620044939",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>