On Fri, Jan 20, 2017 at 05:11:32PM +0100, Daniel Tryba wrote: > The host part of this contact is: $(T_rpl($ct){nameaddr.uri}); Which is not correct, {uri.host} should to the job (according to https://www.kamailio.org/wiki/cookbooks/4.1.x/transformations#urihost )