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

SpeakUp alex at speakup.nl
Fri Jan 16 07:30:17 CET 2009


On Thursday 15 January 2009, Alex R.S.M wrote:
>   $(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.

The transformation should be within the parentheses. You could try 
$(hdr(P-Asserted-Identity)[1]{uri.host})

Alex.




More information about the sr-users mailing list