El Jueves, 15 de Enero de 2009, Alex R.S.M escribió:
$(hdr(P-Asserted-Identity)[1]) returns the second uri header. However, $(hdr(P-Asserted-Identity)[1]){uri.host} didn't return the host portion of the second uri header.
Probably {uri.host} requires a real URI, this is: sip:user@domain.org...
But $hdr(P-Asserted-Identity) is: "Name" sip:user@domain.org
You should do some replacements using AVP module.