<html><head></head><body><div class="ydpd3fa054yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;"><div><div class="ydpd3fa054signature"><div> Hi Abu,<div class="ydp5f2f9efayiv7450633233ydp8a0c22d7signature"><div dir="ltr"><div><br clear="none"></div><div dir="ltr">For first try putting some xlog debugging lines and see whats happening with your request. <br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">For ex:</div><div dir="ltr"><br clear="none"></div><div dir="ltr">if(!t_relay()) {</div><div dir="ltr">xlog(" From $fu   DEST $du");<br clear="none"></div><div dir="ltr"> sl_reply_error();<br clear="none"></div><div dir="ltr">}<br clear="none"></div><div> </div><div dir="ltr"> Put xlog every condition you have to get an idea whats happening when opensips executing the script for your request :) This was it'll give you more undestanding what could go wrong.</div><div dir="ltr"><br clear="none"></div><div dir="ltr">from my understanding you get 404 after t_relay(0 function so it appears opensips having issues sending the request to final destination ?<br clear="none"></div><div> </div><div> </div><div> </div><div> </div><div> </div><div> </div><div><font style="BACKGROUND-COLOR:#e6e6e6;">Distinguishing <font color="#0000ff"><strong>What</strong></font> && <font color="#ff007f"><strong>How</strong></font> !</font></div></div></div></div></div></div></div><div id="ydp5f2f9efayahoo_quoted_7443711406" class="ydp5f2f9efayahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;"><div><div id="ydp5f2f9efayiv7450633233"><div><div class="ydp5f2f9efayiv7450633233ydp8a0c22d7yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:10px;">
        <div><br clear="none"></div><div><br clear="none"></div>
        
        </div><div class="ydp5f2f9efayiv7450633233yahoo_quoted" id="ydp5f2f9efayiv7450633233yahoo_quoted_7170891362">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div class="ydp5f2f9efayiv7450633233yqt9250406496" id="ydp5f2f9efayiv7450633233yqt34112"><div>
                    On Wednesday, 18 December 2019, 11:00:50 pm GMT+5:30, Abu Ibrahim via Users <users@lists.opensips.org> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="ydp5f2f9efayiv7450633233"><div><div class="ydp5f2f9efayiv7450633233yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div dir="ltr"><div><div>Hi,</div><div><br clear="none"></div><div>I recently started using opensips and installed 3.0 version by following the steps available at opensips.org. My requirement is just to set up Opensips as load-balancer between two backend sip servers (actually two freeswitch servers) which will be working as registrars and call routing servers. So my opensips will just be load balancing REGISTER and INVITEs to my two backend freeswitch servers.</div><div><br clear="none"></div><div>After installing the opensips, I've tried route scripts mentioned on the following two links but none of them is working and calls are always failed with 404 not found.</div><div><br clear="none"></div><div>https://www.opensips.org/Documentation/Tutorials-LoadBalancing-1-9</div><div>https://freeswitch.org/confluence/display/FREESWITCH/Enterprise+deployment+OpenSIPS</div><div><br clear="none"></div><div>I am attaching my configuration details in the text file here. </div><div><br clear="none"></div><div>Can someone please help me further what exact or minimal configuration and routing script required at opensips side to accept my traffic and load balance as mentioned above? Also, can someone please let me know a good tutorial/link where basic call routing, endpoints definition or related information for opensips are explained and will be helpful for me to start off with the call testing. Thanks in advance</div><div><br clear="none"></div><div>Regards</div><div><br clear="none"></div></div><br clear="none"></div></div></div></div>_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" href="mailto:Users@lists.opensips.org" rel="nofollow" target="_blank">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div>
            </div>
        </div></div></div></div>
            </div>
        </div></body></html>