[SR-Users] Register a different URI than the received in the To header

2010-10-21 Thread Iñaki Baz Castillo
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? -- Iñaki Ba

Re: [SR-Users] Register a different URI than the received in the To header

2010-10-21 Thread Daniel-Constantin Mierla
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

Re: [SR-Users] Register a different URI than the received in the To header

2010-10-21 Thread Iñaki Baz Castillo
2010/10/21 Daniel-Constantin Mierla : > 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); Opsss, I was expecting a module function for this purpose and missed it! Than

Re: [SR-Users] Register a different URI than the received in the To header

2010-10-21 Thread Daniel-Constantin Mierla
On 10/21/10 10:37 PM, Iñaki Baz Castillo wrote: 2010/10/21 Daniel-Constantin Mierla: 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); Opsss, I was expecting a module fun