[SR-Users] Rewrite $tU

Andrew Pogrebennyk apogrebennyk at sipwise.com
Wed Mar 7 20:22:37 CET 2012


On 03/07/2012 07:37 PM, Lucas Alvarez 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.

Did you verify what is actually sent on the wire?
If it's just a logging issue you need to do msg_apply_changes().



More information about the sr-users mailing list