<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><tt>Hi guys,</tt></p>
<p><tt>Setting the $du is optional, since a NULL $du will cause
t_relay() to route out to the current $ru. Is OpenSIPS listening
on an interface belonging to that private network? Are there any
relevant error logs? Does the message get sent out at all, even
if not received on the other side? Have you checked your
firewall configurations on both boxes?</tt></p>
<p><tt>Best regards,</tt><br>
</p>
<pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 24.01.2018 10:15, Srigo
Kanapathipillai wrote:<br>
</div>
<blockquote type="cite"
cite="mid:095AA43B-1133-4B46-A95B-B61AADFF2A8D@gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div>
<div id="AppleMailSignature"><span style="background-color:
rgba(255, 255, 255, 0);">Hi, </span></div>
<div id="AppleMailSignature"><span style="background-color:
rgba(255, 255, 255, 0);"><br>
</span></div>
<div id="AppleMailSignature"><span style="background-color:
rgba(255, 255, 255, 0);">In your case1, you have to put
(destination uri) $du = "sip:<a
href="http://192.168.100.100:5070/" moz-do-not-send="true">192.168.100.100:5070</a>"; </span></div>
<div id="AppleMailSignature"><br>
</div>
Srigo<br>
Sent from my iPhone</div>
<div><br>
On 15 Jan 2018, at 11:27, Kirill Galinurov <<a
href="mailto:k.galinurov@gmail.com" moz-do-not-send="true">k.galinurov@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi I try mid register module in Opensips 2.3
<div><br>
</div>
<div>My very simple config is:</div>
<div><br>
</div>
<div><span style="font-family:monospace"><span
style="color:rgb(0,0,0)">mhomed=1
</span><br>
<br>
listen=udp:<a href="http://10.23.96.193:5060"
moz-do-not-send="true">10.23.96.193:5060</a> #
CUSTOMIZE ME
<br>
listen=udp:<a href="http://192.168.100.200:5060"
moz-do-not-send="true">192.168.100.200:5060</a> #
CUSTOMIZE ME
<br>
<br>
<br>
</span><span style="font-family:monospace"><span
style="color:rgb(0,0,0)"> if
(is_method("REGISTER"))
</span><br>
{
<br>
mid_registrar_save("location");
<br>
switch ($retcode) {
<br>
case 1:
<br>
xlog("L_INFO", "forwarding REGISTER to main
registrar...\n");
<br>
$ru = "sip:<a
href="http://192.168.100.100:5070"
moz-do-not-send="true">192.168.100.100:5070</a>";
<br>
if (!t_relay()) {
<br>
send_reply("500", "Server Internal Error
1");
<br>
}
<br>
<br>
break;
<br>
case 2:
<br>
xlog("L_INFO", "REGISTER has been
absorbed!\n");
<br>
break;
<br>
default:
<br>
xlog("L_ERR", "mid-registrar error!\n");
<br>
send_reply("500", "Server Internal Error 2");
<br>
}<br>
<br>
</span></div>
<div><span style="font-family:monospace">But REGISTER
message is'nt </span><font face="monospace"> relayed to
192.168.100.100</font><span
style="font-family:monospace"> </span></div>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>Users mailing list</span><br>
<span><a href="mailto:Users@lists.opensips.org"
moz-do-not-send="true">Users@lists.opensips.org</a></span><br>
<span><a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>