[Serusers] modify the From header

Greger V. Teigre greger at teigre.com
Mon Dec 4 21:29:46 CET 2006


Yes, uac is also available for SER.
g-)

Andreas Heise wrote:
> 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
>>   
>
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>



More information about the sr-users mailing list