Hi Nick,
You can simply remove the header and add a new one preserving the URI
part, like :
remove_hf("P-Preferred-Identity");
append_hf('P-Preferred-Identity: "my_display_name"
<$(hdr(P-Preferred-Identity){nameaddr.uri})>\r\n');
Regards,
Bogdan
On 12/20/2011 11:26 AM, Nick wrote:
Hello
I want to change P-Preferred-Identity with header.
Now, My P-Preferred-Identity is <sip:[email protected]>
I want to change display name.
Can everyone give me a suggestion?
Thanks
Nick
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users