[Kamailio-Users] URIs in "P-Asserted-Identity" headers
Iñaki Baz Castillo
ibc at aliax.net
Thu Jan 15 22:12:33 CET 2009
El Jueves, 15 de Enero de 2009, Alex R.S.M escribió:
> Hi,
>
> How can I extract the URIs in "P-Asserted-Identity" when there are multiple
> "P-Asserted-Identity" headers. Variable $ai return the URI in the first
> "P-Asserted-Identity" header.
You should play with URI transformations, something like (not tested):
$(hdr(P-Asserted-Identity)[1]){uri.transport}
$(hdr(P-Asserted-Identity)[1]){uri.user}
$(hdr(P-Asserted-Identity)[1]){uri.host}
--
Iñaki Baz Castillo
More information about the sr-users
mailing list