<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello,</p>
<p>REGISTER requests are typically only with the address of the
server in request URI, no username there. So this if fine to have
$rU being NULL.</p>
<p>No relaying means that From header and To header have URIs with
domains not belonging to local SIP server. Check alias and listen
parameters.<br>
</p>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 27.06.17 12:05, 赵国杰 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:552d5f46.bb00.15ce9038487.Coremail.zhaoguojie2010@163.com">
<div
style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">
<div>Hello all,</div>
<div> I have two kamailio servers(A and B) with exact same
config using the same mysql db. I can register to A but not B.
Server B complained:</div>
<div> <b>ERROR: <script>: fu is
<a class="moz-txt-link-freetext" href="sip:851968556538527744@104.198.52.31">sip:851968556538527744@104.198.52.31</a>, ru is
<a class="moz-txt-link-freetext" href="sip:104.198.52.31">sip:104.198.52.31</a>, rU is <null></b></div>
<div><b><br>
</b></div>
<div><b> </b>After capture the udp packet on both server
using ngrep, the REGISTER they received are both good except A
returns 200 OK and B returns <b>403 Not relaying.</b></div>
<div><b> </b></div>
<div> I don't have a clue what went wrong. How come the $rU
is null when all the headers in REGISTER are valid? Can
someone please point me the direction?</div>
<br>
<div style="position:relative;zoom:1">Thanks</div>
<div style="position:relative;zoom:1">Jesse</div>
</div>
<br>
<br>
<span title="neteasefooter">
<p> </p>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<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 Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>