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:al...@domain.com" but I want to save it in the location table as "sip:b...@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:b...@domain.com" save(location); or: lookup(location); It is there from v1.1 or so. Cheers, Daniel -- Daniel-Constantin Mierla http://www.asipto.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users