On 10/21/10 10:05 PM, IƱaki Baz Castillo wrote:
Hi, not sure if this question has already taken place in this maillist:
For some exotic reason sometimes the registrar receives a REGISTER with "To: sip:alice@domain.com" but I want to save it in the location table as "sip:bob@domain.com". AFAIK there is no way to do it, am I wrong?
http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2537705 modparam("registrar", "aor_avp", "$avp(aor)")
$avp(aor) = "sip:bob@domain.com"
save(location);
or:
lookup(location);
It is there from v1.1 or so.
Cheers, Daniel