<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi jef,<br>
      <span id="result_box" class="" lang="en"><span class="hps">I</span>
        <span class="hps">advice</span> <span class="hps">you</span> <span
          class="hps">to use the</span> <span class="hps">perl</span> <span
          class="hps">module</span> <span class="hps">OpenSIPS</span><span>,</span>
        <span class="hps">and create a</span> <span class="hps">perl</span>
        <span class="hps">function.</span> <span class="hps">This is</span>
        <span class="hps">what I do</span> <span class="hps">to get</span>
        <span class="hps">the fields</span> <span class="hps">in</span>
        <span class="hps">resolv</span> <span class="hps">NAPTR<br>
          <br>
          ++<br>
          <br>
        </span></span>Le 24/07/2013 14:50, Jeff Pyle a &eacute;crit&nbsp;:<br>
    </div>
    <blockquote
cite="mid:CACYJG3LZyET0S3Dp1J_nzA9cmAdzWm51ZV9utW-eqRZMeoKBJg@mail.gmail.com"
      type="cite">Hello,
      <div><br>
      </div>
      <div>Is there a way to extract an IP address list from SRV and/or
        NAPTR records from within the script?</div>
      <div><br>
      </div>
      <div>I have an application where outbound traffic will be relayed
        via SRV or NAPTR. &nbsp;Those name records ultimately resolve to
        about 4 different IP addresses after you take into consideration
        priorities, weights, etc. &nbsp;I'd like to learn and store those 4
        IP addresses so I can do IP-based authentication on inbound
        calls from the same network.</div>
      <div><br>
      </div>
      <div>Another way to look at this is that I'm looking for a dynamic
        address table-like list of IP addresses resolved from SRV or
        NAPTR.</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>- Jeff</div>
      <div><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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>