<div>Forgot to add, Kamailio 5.2.0</div><br><div class="gmail_quote_attribution">On Feb 19 2019, at 4:35 pm, Igor Olhovskiy <igorolhovskiy@gmail.com> wrote:</div><blockquote><div><div>Hi!</div><br><div>I'm using subst_hf to add some extra info to contact</div><br><div><font style="font-family:"Droid Sans Mono", monospace, monospace, "Droid Sans Fallback"">subst_hf("Contact", "/^(.*)sip:(.*)@(.*)$/\1sip:encei$var(extra_info)-\2@\3/i", "f");</font></div><br><div>With combination of topos it's giving me strange results like</div><br><div>2(26) WARNING: sanity [sanity.c:282]: check_ruri_scheme(): failed to parse request uri [sip:encei302e3734-btpsh-5c6c00ac-2e-f@172.28.0.74><sip:encei302e3734-btpsh-5c6c00ac-2e-f@172.28.0.74]</div><br><div>Seems, it's doubling R-URI on in-dialog requests. If I'm disabling topos - all is ok.</div><br><div>What is interesting - this can't be reproduced with remove_hf/append_hf mechanisms.</div></div></blockquote><img class="mailspring-open" alt="Sent from Mailspring" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/1550589024.local-a9e7e3bb-c32f-v1.5.6-4cb1851b@getmailspring.com?recipient=c3ItdXNlcnNAbGlzdHMua2FtYWlsaW8ub3Jn">