[OpenSIPS-Users] User in SIP Request's P-Asserted-Identity header URI

Nick Altmann nick.altmann at gmail.com
Thu Mar 7 21:05:20 CET 2013


So, you can do $($ai{uri.user})  :-)

--
Nick

2013/3/8 Hubert Mickael <mickael at winlux.fr>

> I want just user in the PAI's URI and $ai is all URI: sip:user at domain
>
> Le 07/03/2013 20:31, Brett Nemeroff a écrit :
>
>  What about $ai ?
>>
>> -Brett
>>
>> On Mar 7, 2013, at 11:41 AM, Bogdan-Andrei Iancu <bogdan at opensips.org>
>> wrote:
>>
>>  Hi Mickael,
>>>
>>> You can simply use a transformation:
>>>
>>> $(hdr(P-Asserted-Identity){**nameaddr.uri}{uri.user})
>>>
>>> See http://www.opensips.org/**Resources/DocsCoreTran19<http://www.opensips.org/Resources/DocsCoreTran19>
>>>
>>> Regards,
>>>
>>> Bogdan-Andrei Iancu
>>> OpenSIPS Founder and Developer
>>> http://www.opensips-solutions.**com <http://www.opensips-solutions.com>
>>>
>>>
>>> On 03/07/2013 06:25 PM, Mickael HUBERT wrote:
>>>
>>>> I list,
>>>> I want extract User to P-Asserted-Identity URI, but I cannot find a
>>>> variable.
>>>>
>>>> To user's PPI is $pU, but to PAI ?
>>>>
>>>> Thanks in advance
>>>>
>>>> Mickael
>>>>
>>>> ______________________________**_________________
>>>> Users mailing list
>>>> Users at lists.opensips.org
>>>> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>>
>>> ______________________________**_________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>>
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>>
>
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-**bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130308/2f076b70/attachment.htm>


More information about the Users mailing list