<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Antonios,<br>
      <br>
      why not, as Walter suggested, grabbing the A records behind the
      SRV record and register and balance explicitly to them....<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 23.06.2025 11:38, Antonios Psaras
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:3b6401dbe41a$31755fa0$94601ee0$@microbase.gr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}div.WordSection1
        {page:WordSection1;}ol
        {margin-bottom:0cm;}ul
        {margin-bottom:0cm;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Thank you Walter for your reply.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Unfortunately there is no way to change
          Carrier’s configuration so we need to find a way to tackle the
          issue on our side.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks again.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Regards<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b>From:</b> Walter Schober
              <a class="moz-txt-link-rfc2396E" href="mailto:walter.schober@neotel.at"><walter.schober@neotel.at></a> <br>
              <b>Sent:</b> Δευτέρα, 23 Ιουνίου 2025 10:37<br>
              <b>To:</b> OpenSIPS users mailling list
              <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
              <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:apsaras@microbase.gr">apsaras@microbase.gr</a><br>
              <b>Subject:</b> AW: [OpenSIPS-Users] Registrant & LB
              with SRV<o:p></o:p></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span lang="DE-AT">Hello Antonis!<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
        <p class="MsoNormal">IMHO the carrier cannot expect Register and
          Invite going to the same destination if the SRV for _<i>the</i>_
          service is load-balanced.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">We do offer such a service as carrier also
          but encountered the issue with LB on nearly every device,
          incl. phones. Since we also need the call to be established
          across the same service endpoint selected in the Register
          process we set priorities on each SRV for each datacenter.<o:p></o:p></p>
        <p class="MsoNormal">For such cases we do additionally name two
          A records where the endpoint must register on both and then
          can do LB calls to each. Otherwise the carriers service must
          allow registers and invites going different ways. It is
          **one** service based on the SRV entry!<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Br<o:p></o:p></p>
        <p class="MsoNormal">Walter<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div
style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span lang="DE">Von:</span></b><span
                lang="DE"> Users <<a
                  href="mailto:users-bounces@lists.opensips.org"
                  moz-do-not-send="true" class="moz-txt-link-freetext">users-bounces@lists.opensips.org</a>>
                <b>Im Auftrag von </b>Antonios Psaras<br>
                <b>Gesendet:</b> Freitag, 20. Juni 2025 11:24<br>
                <b>An:</b> 'OpenSIPS users mailling list' <<a
                  href="mailto:users@lists.opensips.org"
                  moz-do-not-send="true" class="moz-txt-link-freetext">users@lists.opensips.org</a>><br>
                <b>Betreff:</b> [OpenSIPS-Users] Registrant & LB
                with SRV<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><span lang="DE-AT"><o:p> </o:p></span></p>
        <p class="MsoNormal">Hello Team<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have the following situation.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">A telecom carrier requires SIP Registration
          prior to Dial out using SIP Domain and SRV Lookup.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">To achieve that I am using registrant
          module and load balancing module.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The problem I have, is that in some cases
          registrant registers on different SBC of the Carrier than the
          one resolved by Load Balancer Module so my outbound calls are
          failing with 407.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I have two thoughts but I do not know how
          to implement any of those.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <ol style="margin-top:0cm" type="1" start="1">
          <li class="MsoListParagraph"
            style="margin-left:0cm;mso-list:l0 level1 lfo3">Instead of
            using LB Modules, I will some how get the registrar IP from
            registrant module and statically route the calls through
            that. Is there a way to get that information from registrant
            module?<o:p></o:p></li>
          <li class="MsoListParagraph"
            style="margin-left:0cm;mso-list:l0 level1 lfo3">DNS lookup
            is done automatically only in case of 503 or timeout. Is
            there a way to force DNS lookup with in OpenSIP Script? If
            yes I can handle 407, force DNS Lookup, create a new branch
            and re-send the call.<o:p></o:p></li>
        </ol>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Any other thoughts are welcome<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Best regards<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Antonis Psaras<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </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>