[Kamailio-Users] Username of P-Asserted-Identity header
marius zbihlei
marius.zbihlei at 1and1.ro
Fri Feb 19 16:45:20 CET 2010
Alex Balashov wrote:
> If it's not in this list ...
>
> http://www.kamailio.org/dokuwiki/doku.php/pseudovariables:1.5.x
> (substitute your version number)
>
> ... there is no built-in pseudo-variable for it.
>
> On 02/19/2010 10:30 AM, Marco Bungalski wrote:
>
>> Hi, all!
>>
>> Is there an easy possibility to get the Username of the
>> P-Asserted-Identity header?
>>
>> When i use $ai i get for example "sip:+4942317769999 at testdomain.de". I
>> need only "+4942317769999" in a variable.
Hello
Have you tried transformations ?
(http://www.kamailio.org/dokuwiki/doku.php/transformations:1.5.x)
For example $(ai{uri.user}) should do the trick
Marius
More information about the Users
mailing list