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_tran...
Cheers, Daniel