Hello Inaki,
On 01/20/2009 11:49 AM, Iñaki Baz Castillo wrote:
2009/1/20 Daniel-Constantin Mierla
<miconda(a)gmail.com>om>:
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_tra…
$(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
--
Daniel-Constantin Mierla
http://www.asipto.com