Nick,<div><br></div><div>If lookup is returning -1 or -3, that means it didn&#39;t find the user in the location table and it should send 404 instead of routing the call.</div><div><br></div><div>You need to find out why lookup can not find the user. You need to look at opensips logs not the sip logs. </div>
<div><br></div><div>Enable debugging in your opensips.cfg file and look at the logs and see why it can&#39;t find the user in the location table. If you don&#39;t see any error messages, then post the opensips logs here. </div>
<div><br></div><div>Regards,</div><div>Ali Pey</div><div><br><br><div class="gmail_quote">On Fri, Jul 6, 2012 at 2:23 AM, Nick Chang <span dir="ltr">&lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="ZH-TW" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hello<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I found this error.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">In my old opensips.cfg<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">route[generic_relay] {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        # for INVITEs enable some additional helper routes<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- Helper route, if nat=yes in the R-URI  set flag 6 ----#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #----        This is used to Process REINVITES          ----#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (subst_uri(&#39;/((sip:.*)||(sip:.*:.*));nat=yes/\1/&#39;)){<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                setbflag(6);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- If caller(flag 5) or callee(flag 6) are behind NAT  ---#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- Call the route(6) to force the use of the RTP Proxy ---#<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (isflagset(5)||isbflagset(6)) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                route(nat_fixups);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (!t_relay()) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                sl_reply_error();<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        exit;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">}<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">route[user_location]{<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (!lookup(&quot;location&quot;, &quot;m&quot;)) {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                switch ($retcode) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                        case -1:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                        case -3:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                               t_newtran();<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                               send_reply(&quot;404&quot;, &quot;Not Found&quot;);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                               exit;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                        case -2:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                                send_reply(&quot;405&quot;, &quot;Method Not Allowed&quot;);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                                exit;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                }<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        }<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        # when routing via usrloc, log the missed calls also<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        setflag(2); # Account missed calls<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        t_on_failure(&quot;user_failure&quot;);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        route(generic_relay);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">}<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Then, I modify it.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">route[generic_relay] {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        # for INVITEs enable some additional helper routes<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- Helper route, if nat=yes in the R-URI  set flag 6 ----#<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #----        This is used to Process REINVITES          ----#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (subst_uri(&#39;/((sip:.*)||(sip:.*:.*));nat=yes/\1/&#39;)){<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                setbflag(6);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- If caller(flag 5) or callee(flag 6) are behind NAT  ---#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #---- Call the route(6) to force the use of the RTP Proxy ---#<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (isflagset(5)||isbflagset(6)) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                route(nat_fixups);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (!t_relay()) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                sl_reply_error();<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        };<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        exit;<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">}<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">route[user_location]{<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        if (!lookup(&quot;location&quot;, &quot;m&quot;)) {<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                switch ($retcode) {<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                        case -1:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                        case -3:<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        route(generic_relay);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #                       t_newtran();<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #                       send_reply(&quot;404&quot;, &quot;Not Found&quot;);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        #                       exit;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                        case -2:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                                send_reply(&quot;405&quot;, &quot;Method Not Allowed&quot;);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                                exit;<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">                }<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        }<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        # when routing via usrloc, log the missed calls also<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        setflag(2); # Account missed calls<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        t_on_failure(&quot;user_failure&quot;);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">        route(generic_relay);<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">}<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Now, SIP1 can call to SIP2. It’s OK.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">But, If User isn’t online.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">It can not display “user not found”, only display “request timeout(408)”<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Do everyone have any good suggest??<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Can modify it to fine??<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks for your support.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Nick<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span lang="EN-US" style="font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a> [mailto:<a href="mailto:users-bounces@lists.opensips.org" target="_blank">users-bounces@lists.opensips.org</a>] <b>On Behalf Of </b>Ali Pey<br>
<b>Sent:</b> Thursday, July 05, 2012 11:34 PM<br><b>To:</b> OpenSIPS users mailling list<br><b>Subject:</b> Re: [OpenSIPS-Users] About L4 Swtich + 2 * opensips<u></u><u></u></span></p></div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US">What do you see in the logs? Is it that it can not find the other user or is it that it can not reach it? <u></u><u></u></span></p><div><div class="h5"><div><p class="MsoNormal">
<span lang="EN-US">If you can&#39;t find the reason in the logs, then post them here.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US">Ali Pey <u></u><u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">On Thu, Jul 5, 2012 at 11:05 AM, Nick &lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt; wrote:<u></u><u></u></span></p>
<div><div><p class="MsoNormal"><span lang="EN-US">Dear<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">My two opensips connected to the same location table in the same database<br>
<br>Thanks<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Nick<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>Ali Pey &lt;<a href="mailto:alipey@gmail.com" target="_blank">alipey@gmail.com</a>&gt; </span>於<span lang="EN-US"> 2012/7/5 22:24 </span>寫道:<span lang="EN-US"><u></u><u></u></span></p>
</div><div><div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span lang="EN-US">Both opensips server should be connected to the same location table in the same Database.<u></u><u></u></span></p>
<div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Regards,<u></u><u></u></span></p></div><div><p class="MsoNormal"><span lang="EN-US">Ali Pey<u></u><u></u></span></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><u></u> <u></u></span></p><div><p class="MsoNormal"><span lang="EN-US">On Thu, Jul 5, 2012 at 6:18 AM, Nick Chang &lt;<a href="mailto:nick.chang@kland.com.tw" target="_blank">nick.chang@kland.com.tw</a>&gt; wrote:<u></u><u></u></span></p>
<div><div><p class="MsoNormal"><span lang="EN-US">Dear <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">I have a ServerIronADX 1000. <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have two OpenSIPS Server<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Then I setup this L4 Switch for SIP’s load balance<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">When client1 login to SIP1 and client2 login to SIP2<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Then client1 call to client2.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Client1 can’t call to client2. It’s failed.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">How to setup OpenSIPS, Lets it found client1 and client2??<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thanks for your help.<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US"> <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">It’s my config.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">server real SIP1 10.1.3.131<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US">port default disable<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">port sip<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">port sip udp-only<u></u><u></u></span></p><p class="MsoNormal">
<span lang="EN-US">!<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">server real SIP2 10.1.3.132<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">port default disable<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">port sip<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">port sip udp-only<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">!<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">server virtual SIP-VIP 10.1.3.130<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">port sip<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">port sip udp-only<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">port sip reset-on-port-fail<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">bind sip SIP1 sip SIP2 sip<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"> <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="color:#888888">Nick<u></u><u></u></span></p></div></div><p class="MsoNormal" style="margin-bottom:12.0pt">
<span lang="EN-US"><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p>
</div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div></blockquote><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><div><p class="MsoNormal"><span lang="EN-US">_______________________________________________<br>
Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p>
</div></blockquote></div></div></div><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US"><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><u></u><u></u></span></p></div><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div></div></div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>