It was the parser setting the value of host part to "", not the transformation, so the change had to be done in other file. Can you try again with latest master?
Cheers, Daniel On 07.04.17 16:05, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> Thanks, I just pushed a patch, can you try it? > Unfortunately still the same crash with this placed as the first thing > in main routing block: > > $var(test_uri) = "tel:+358447058060"; > xlog("L_INFO", "****** extracting domain from <$var(test_uri)>\n"); > $rd = $(var(test_uri){uri.host}); > xlog("L_INFO", "****** request uri is <$ru>\n"); > > -- Juha -- Daniel-Constantin Mierla www.twitter.com/miconda -- www.linkedin.com/in/miconda Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com _______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev