Hi,

I think you should use uac_replace_from/uac_replace_to.

Dani

On Wed, Mar 7, 2012 at 8:37 PM, Lucas Alvarez <lucasaa@gmail.com> wrote:
I want rewrite $tU but I'm not being able, I'm doing the following:

  remove_hf("To");
  insert_hf("To: sip:$rU@$rd\r\n", "From");

Then I'm printing $tU and it is still having the previous value, any help will be appreciated.
Thanks in advance.

Lucas Alvarez



_______________________________________________
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




--
Dani Popa