[Kamailio-Users] Change FROM display name

Daniel-Constantin Mierla miconda at gmail.com
Thu Oct 16 12:32:06 CEST 2008


Hello,

On 10/15/08 13:22, ALAEDDINE abbech wrote:
> Hi,
>
> I should change the actual display name in header From with an other 
> name stored in avp(s:display) .
> I use uac_replace_from("$avp(s:display)","");, but this function add 
> the new name in the end line of From.
> Exemple after tcpdump:
> i like change "aladin" with "1111111111" but i have this line in 
> INVITE request,
>
> From: aladin 
> <sip:testerser at x.x.x.x:5060>;tag=64204a12d09be0c^M"11111111111"
>
> Have you a solution for this pb.
> Thanks
>
>
are you doing other operations that alter the From header? Like changing 
first the URI and then the display name?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com





More information about the Users mailing list