[Kamailio-Users] URIs in "P-Asserted-Identity" headers

Alex Balashov abalashov at evaristesys.com
Tue Jan 20 11:14:43 CET 2009


Daniel-Constantin Mierla wrote:
> Hello Inaki,
> 
> On 01/20/2009 11:49 AM, Iñaki Baz Castillo wrote:
>> 2009/1/20 Daniel-Constantin Mierla <miconda at gmail.com>:
>>   
>>> for 1.5.0, I have just introduced a new transformation class - tobody,
>>> which can be used directly with PAI headers:
>>> http://www.kamailio.org/dokuwiki/doku.php/transformations:devel#to-body_transformations
>>>
>>> $(hdr(P-Asserted-Identity)[1]{tobody.host})
>>>     
>> Hi Daniel, can I ask why the transformation name is "tobody"?
>> How looks the ToBody structure?
>>   
> it applies for strings that follow the grammar defining the body of To 
> header (or similar - From, PAI, ...). Inside kamailio, the structure is 
> defined in parser/parse_to.h.

That's cool.  I like that!

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775




More information about the sr-users mailing list