Hi, Kirill!
You can use the attr_avp [1] in the registrar module to attach the value
to the contact. You could do something like:
modparam("registrar", "attr_avp", "$avp(attr)")
...
if (is_method("REGISTER")) {
$avp(attr) = $hdr(CUSTOM_HEADER);
save("location");
exit;
}
After that
Hello http://www.opensips.org/Documentation/Script-CoreVar-2-23.91 -- С уважением, Денис.Best regards, Denis 22.12.2016, 10:28, "Kirill Galinurov" :Hi All. I need to store some additional info about user from custom sip header in Register request. How i can do it? Can i get this info later from
Hi All. I need to store some additional info about user from custom sip
header in Register request. How i can do it? Can i get this info later
from ul_dump or ul_show_contact command ?
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.