Hello Inaki,
On 01/20/2009 11:49 AM, IƱaki Baz Castillo wrote:
2009/1/20 Daniel-Constantin Mierla miconda@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_tran...
$(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.
Cheers, Daniel