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

Ovidiu Sas osas at voipembedded.com
Fri May 13 14:09:37 CEST 2011


Try to play with name-address and uri transformations:
http://www.opensips.org/Resources/DocsCoreTran#toc47
http://www.opensips.org/Resources/DocsCoreTran#toc17
First extract the URI and then from URI extract the user.


Regards,
Ovidiu Sas

On Fri, May 13, 2011 at 8:04 AM, Jan D. <j-doedel at zonnet.nl> wrote:
> 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"&lt;sip:5014 at 10.10.10.15&gt;.
>
> 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"&lt;sip:5014 at 10.10.10.15&gt;).
>
> 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.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list