[OpenSIPS-Users] drouting question

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Tue Mar 30 16:50:58 CEST 2010


On 26.03.2010 12:30, Bogdan-Andrei Iancu wrote:
> the module extracts the FROM uri from the original message, so it will
> not "see" your change on the from hdr.

Interesting.. I will have to re-check it but I think that it worked for 
me in the past for a similar purpose:

     # validate based on the packet IP address
     $var(from) = "sip:" + $fU + "@" + $si;
     uac_replace_from("","$var(from)");

-- 
Sincerely,
Andrew Pogrebennyk



More information about the Users mailing list