[OpenSIPS-Users] user part P-Asserted-Identity

Jan D. j-doedel at zonnet.nl
Fri May 13 14:04:43 CEST 2011


In case of Privacy some systems put a 'anonymous' in the From header. The
CLIP is than shown in the  P-Asserted-Identity header like
"john"<sip:5014 at 10.10.10.15>.

In this case I want to use the user part 5014 and put this in the From
header again. I have to use the variable $ai
("john"<sip:5014 at 10.10.10.15>).

How can I strip the user part from $ai, do I have to use a regexp, any
thoughts?

Jan

--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/user-part-P-Asserted-Identity-tp6359173p6359173.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.



More information about the Users mailing list