[Kamailio-Devel] new transformation class: tobody
Daniel-Constantin Mierla
miconda at gmail.com
Wed Jan 21 20:30:33 CET 2009
Hello,
trunk has a new transformation class: tobody
The name comes from To header Body and provides access to fields inside
strings that follow the grammar of a To header - such headers are From,
P-Asserted-Identity, ....
Real benefit of using this transformation is that it copes with strings
that can have values either simple URIs or NameAddr.
The format of transformation is {tobody.param}, where param can be:
- display - return display name
- uri - return uri
- user - return username from uri
- host - return hostname from uri
- tag - return the value of tag parameter
Documentation is available at:
http://www.kamailio.org/dokuwiki/doku.php/transformations:devel#to-body_transformations
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Devel
mailing list