<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hi Ryan,<br>
    <br>
    Could you post the domain and the SRV records you have populated?&nbsp;
    OpenSIPS DNS engine is able to handle priorities and weights between
    records, so .....either records are not right, either there is a bug
    somewhere...<br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 11/21/2011 03:39 PM, Ryan Revels wrote:
    <blockquote
cite="mid:CAKFmOsH7=a+EhoA6=YYOkfSSXZLJ8sjXiCFU67i9yX7pSTQwOQ@mail.gmail.com"
      type="cite">Ovidiu,<br>
      <br>
      The DNS server replies with both SRV records &amp; indicates they
      are of equal priority and weight.<br>
      My question is why OpenSIPS would choose the same A record each
      and every time?<br>
      <br>
      Thanks,<br>
      Ryan<br>
      <br>
      <div class="gmail_quote">On Fri, Nov 18, 2011 at 3:44 PM, Ovidiu
        Sas <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          Probably your DNS server doesn't do round robin on your
          records.<br>
          <div class="HOEnZb">
            <div class="h5"><br>
              On Fri, Nov 18, 2011 at 4:32 PM, Ryan Revels &lt;<a
                moz-do-not-send="true" href="mailto:ryan@revelous.net">ryan@revelous.net</a>&gt;
              wrote:<br>
              &gt; Ovidiu,<br>
              &gt;<br>
              &gt; I am seeing the same behavior when in proxy mode. Can
              you help me understand<br>
              &gt; where the problem may be occurring?<br>
              &gt;<br>
              &gt; Thanks,<br>
              &gt; Ryan<br>
              &gt;<br>
              &gt; On Fri, Nov 18, 2011 at 12:37 PM, Ovidiu Sas &lt;<a
                moz-do-not-send="true"
                href="mailto:osas@voipembedded.com">osas@voipembedded.com</a>&gt;
              wrote:<br>
              &gt;&gt;<br>
              &gt;&gt; The B2B modules are using the tm API to construct
              requests and<br>
              &gt;&gt; therefore the handling of SRV records should not
              be influenced by how<br>
              &gt;&gt; INVITE requests are handled: proxy or b2b.<br>
              &gt;&gt; Try to handle the INVITE in proxy mode and check
              if you have the same<br>
              &gt;&gt; behaviour.<br>
              &gt;&gt;<br>
              &gt;&gt; Regards,<br>
              &gt;&gt; Ovidiu Sas<br>
              &gt;&gt;<br>
              &gt;&gt; On Fri, Nov 18, 2011 at 1:12 PM, Ryan Revels &lt;<a
                moz-do-not-send="true" href="mailto:ryan@revelous.net">ryan@revelous.net</a>&gt;
              wrote:<br>
              &gt;&gt; &gt; Bump<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt; On Nov 11, 2011 2:34 PM, "Ryan Revels" &lt;<a
                moz-do-not-send="true" href="mailto:ryan@revelous.net">ryan@revelous.net</a>&gt;
              wrote:<br>
              &gt;&gt; &gt;&gt;<br>
              &gt;&gt; &gt;&gt; Do the b2bua modules fully support
              resolving SRV records?<br>
              &gt;&gt; &gt;&gt; I have 2 records with equal priority and
              weight, but the b2bua always<br>
              &gt;&gt; &gt;&gt; chooses the same one:<br>
              &gt;&gt; &gt;&gt;<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query NAPTR <a moz-do-not-send="true"
                href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response NAPTR 10 10 S<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query SRV _sip._<a moz-do-not-send="true"
                href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response SRV 0 0 5060<br>
              &gt;&gt; &gt;&gt; <a moz-do-not-send="true"
                href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
              SRV 0 0 5060 <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query A <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response A 1.2.3.4<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query NAPTR <a moz-do-not-send="true"
                href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response NAPTR 10 10 S<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query SRV _sip._<a moz-do-not-send="true"
                href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response SRV 0 0 5060<br>
              &gt;&gt; &gt;&gt; <a moz-do-not-send="true"
                href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
              SRV 0 0 5060 <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query A <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response A 1.2.3.4<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query NAPTR <a moz-do-not-send="true"
                href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response NAPTR 10 10 S<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query SRV _sip._<a moz-do-not-send="true"
                href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response SRV 0 0 5060<br>
              &gt;&gt; &gt;&gt; <a moz-do-not-send="true"
                href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
              SRV 0 0 5060 <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query A <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response A 1.2.3.4<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query NAPTR <a moz-do-not-send="true"
                href="http://sip.notreal.com" target="_blank">sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response NAPTR 10 10 S<br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query SRV _sip._<a moz-do-not-send="true"
                href="http://udp.sip.notreal.com" target="_blank">udp.sip.notreal.com</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response SRV 0 0 5060<br>
              &gt;&gt; &gt;&gt; <a moz-do-not-send="true"
                href="http://test2.notreal.net" target="_blank">test2.notreal.net</a>
              SRV 0 0 5060 <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 10.10.10.1 -&gt; 8.8.8.8 DNS Standard
              query A <a moz-do-not-send="true"
                href="http://test1.notreal.net" target="_blank">test1.notreal.net</a><br>
              &gt;&gt; &gt;&gt; 8.8.8.8 -&gt; 10.10.10.1 DNS Standard
              query response A 1.2.3.4<br>
              &gt;&gt; &gt;&gt;<br>
              &gt;&gt; &gt;&gt; Any help would be much appreciated.<br>
              &gt;&gt; &gt;&gt; Thanks.<br>
              &gt;&gt; &gt;<br>
              &gt;&gt; &gt;
              _______________________________________________<br>
              &gt;&gt; &gt; Users mailing list<br>
              &gt;&gt; &gt; <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              &gt;&gt; &gt; <a moz-do-not-send="true"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              &gt;&gt;<br>
              &gt;&gt; _______________________________________________<br>
              &gt;&gt; Users mailing list<br>
              &gt;&gt; <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              &gt;&gt; <a moz-do-not-send="true"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              &gt;<br>
              &gt;<br>
              &gt; _______________________________________________<br>
              &gt; Users mailing list<br>
              &gt; <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              &gt; <a moz-do-not-send="true"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
              &gt;<br>
              &gt;<br>
              <br>
              <br>
              <br>
            </div>
          </div>
          <span class="HOEnZb"><font color="#888888">--<br>
              VoIP Embedded, Inc.<br>
              <a moz-do-not-send="true"
                href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a><br>
            </font></span>
          <div class="HOEnZb">
            <div class="h5"><br>
              _______________________________________________<br>
              Users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>