<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>are you using Kamailio v4.4.x? If yes, can you try with a newer
version to be sure we do not hunt an issue that was already fixed?
At this moment 5.2.x and 5.1.x are maintained branches.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 01.05.19 13:51, Phillman25 Kyriacou
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEprJzL7Q+VSzQz4Wfua616svm1fHp6hDXpkiXArwertNZTubg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Dear List
<div><br>
</div>
<div>I have an issue with topoh module.</div>
<div><br>
</div>
<div>Specifically for in-dialog requests, if the encoded
uri is altered i.e. initial encoded contact uri is</div>
<div><br>
</div>
<div>Contact:
<a class="moz-txt-link-rfc2396E" href="sip:X.X.X.X;line=sr-huAWi7oPBYsF.cC0L2lWOUlPwbSWOUl6wURTw24W"><sip:X.X.X.X;line=sr-huAWi7oPBYsF.cC0L2lWOUlPwbSWOUl6wURTw24W></a><br>
</div>
<div><br>
</div>
<div>and UAS sends an in-dialog INVITE like this adding
tgrp and user=phone:</div>
<div><br>
</div>
<div>INVITE
<a class="moz-txt-link-freetext" href="sip:X.X.X.X;line=sr-huAWi7oPBYsF.cC0L2lWOUlPwbSWOUl6wURTw24W;tgrp=1069912311;user=phone">sip:X.X.X.X;line=sr-huAWi7oPBYsF.cC0L2lWOUlPwbSWOUl6wURTw24W;tgrp=1069912311;user=phone</a></div>
<div> </div>
<div>Kamailio cant seem to match/decode this and
responds "404 Not Found"</div>
<div><br>
</div>
<div>I have also set:</div>
<div>modparam("topoh", "uri_prefix_checks", 0)</div>
<div><br>
</div>
<div>As specified here:</div>
<div><a
href="https://www.kamailio.org/docs/modules/4.4.x/modules/topoh.html#idp37582868"
moz-do-not-send="true">https://www.kamailio.org/docs/modules/4.4.x/modules/topoh.html#idp37582868</a><br>
</div>
<div><br>
</div>
<div>But still doesn't work. Is there a bug with this
module?</div>
<div><br>
</div>
<div>
<div>#
====================================================</div>
<div># ================ TOPOLOGY HIDING
===================</div>
<div>#
====================================================</div>
<div>
<div>modparam("topoh", "mask_key", "secret")</div>
<div>modparam("topoh", "mask_ip", "X.X.X.X")</div>
<div>modparam("topoh", "mask_callid", 0)</div>
<div>modparam("topoh", "uparam_name", "line")</div>
<div>modparam("topoh", "uparam_prefix", "sr-")</div>
<div>modparam("topoh", "vparam_name", "branch")</div>
<div>modparam("topoh", "vparam_prefix",
"z9hG4bKsr-")</div>
<div>modparam("topoh", "uri_prefix_checks", 0)</div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance for your support</div>
<div>Phillip</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>