modparam("usrloc", "xavp_contact", "ulattrs")
modparam("registrar", "reg_received_avp", "$avp(chk_origin)")
modparam("registrar", "reg_contact_avp", "$avp(chk_contact)")
using xavp with registered
$avp(chk_origin) = $su;
$avp(chk_contact) = $(ct{nameaddr.uri});
if (registered("location","$fu")) {
xlog("L_INFO", "$ci|log| checking $fu - $xavp(ulattrs=>account_id)");
}
using xavp with reg_fetch_contacts
if(reg_fetch_contacts("location", "$fu", "caller")) {
xlog("L_INFO", "$ci|log| checking $fu - $(ulc(caller=>ulattrs=>account_id))");
}
https://github.com/kamailio/kamailio/pull/91
—
Reply to this email directly or view it on GitHub.