<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Sasmita,<br>
      <br>
      There is no round robin, but weight based random selection. If the
      weights are both equal, you should get a half-half distribution on
      large numbers of calls.<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
  <a class="moz-txt-link-freetext" href="https://www.siphub.com">https://www.siphub.com</a></pre>
    <div class="moz-cite-prefix">On 22.01.2025 16:10, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALf-Q45nPC2nK5Gp15d80ft4-rgMPQJu5xvudU7oStfb5dBjpA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi , </div>
        <div><br>
        </div>
        <div>I have a domain mapped as SRV as below in route 53  . </div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">_sip._<a
          href="http://udp.fs.sip.dev.xxx.com" moz-do-not-send="true">udp.fs.sip.dev.xxx.com</a>   ttl : 60sec</span></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">1 10 6080 1.1.1.1</span></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">1 10 6080 2.2.2.2</span></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">
</span></div>
        <div><font
face="Amazon Ember, Helvetica Neue, Roboto, Arial, sans-serif"
            color="#0f141a"><span style="font-size:14px;white-space:pre">Inside opensips config </span></font></div>
        <div><font
face="Amazon Ember, Helvetica Neue, Roboto, Arial, sans-serif"
            color="#0f141a"><span style="font-size:14px;white-space:pre">if(is_from_gw())</span></font></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">{</span></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">   sethost("</span><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre"><a
          href="http://fs.sip.dev.xxx.com" moz-do-not-send="true">fs.sip.dev.xxx.com</a></span><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">");</span></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">   setport("");</span></div>
        <div><span
style="color:rgb(15,20,26);font-family:"Amazon Ember","Helvetica Neue",Roboto,Arial,sans-serif;font-size:14px;white-space:pre">  route(inbound);</span></div>
        <div><b><i>}</i></b></div>
        <div><b><i><br>
            </i></b></div>
        <div><b><i>As for the SRV record , the explanation says ,
              opensips must do round robin while giving a call to the
              destination . I mean , when I am placing multiple calls
              both servers must get a call one by one , but I can see
              2/3 calls at a time going to the same server . Why is this
              happening ?  </i></b></div>
        <div><b><i><br>
            </i></b></div>
        <div><b><i><br>
            </i></b></div>
        <div><b><i>Thanks & Regards</i></b></div>
        <div>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div dir="ltr">
                <div><i>Sasmita Panda</i></div>
                <div><i>Senior Network Testing and Software Engineer</i></div>
                <div><i>3CLogic , ph:07827611765<br>
                  </i></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-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>