[Serusers] modify the From header

Andreas Heise aheise at gmx.de
Mon Dec 4 21:05:54 CET 2006


Hello Zeeshan,

I don't know if the UAC module is available for SER,
but in OpenSER you could try something like this......

if(from_uri=~".*@localhost.localdomain")
{
uac_replace_from("*$fn* ","sip:*$fU*@128.242.111.222:5060");
};

regards,
Andreas

 


Zeeshan Sajid schrieb:
>
> Is there any way in which i can rewrite the From header efficiently
>
> like i want to change this From header
> From: "Zeeshan"<sip:shani at localhost.localdomain>;tag=4a6dec6f
> to
> From: "Zeeshan"<sip:shani at 128.242.111.222:5060>;tag=4a6dec6f
>
> how can i do that using subst  function ???? please help me thanks in 
> advance
> regards
>
> Zeeshan
>
> Check out the all-new Yahoo! Mail beta 
> <http://us.rd.yahoo.com/evt=43257/*http://advision.webevents.yahoo.com/mailbeta> 
> - Fire up a more powerful email and get things done faster.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>   




More information about the sr-users mailing list