[Kamailio-Users] URIs in "P-Asserted-Identity" headers

Iñaki Baz Castillo ibc at aliax.net
Fri Jan 16 01:28:25 CET 2009


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 at domain.org...

But $hdr(P-Asserted-Identity) is:
  "Name" <sip:user at domain.org>

You should do some replacements using AVP module.

-- 

Iñaki Baz Castillo




More information about the Users mailing list