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=~".*(a)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@localhost.localdomain>;tag=4a6dec6f
to
From: "Zeeshan"<sip:shani@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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers