<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    On 2012-11-30 09:07, Daniel-Constantin Mierla wrote:
    <blockquote cite="mid:50B86929.5050901@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      Hello,<br>
      <br>
      <div class="moz-cite-prefix">On 11/19/12 10:18 AM, M&Eacute;SZ&Aacute;ROS Mih&aacute;ly
        wrote:<br>
      </div>
      <blockquote cite="mid:50A9F96D.9020701@niif.hu" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Hi Daniel,<br>
        <br>
        On 2012-11-14 12:51, Daniel-Constantin Mierla wrote:
        <blockquote cite="mid:50A385DD.7080300@gmail.com" type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          Hello,<br>
          <br>
          <div class="moz-cite-prefix">On 11/12/12 10:50 AM, M&Eacute;SZ&Aacute;ROS
            Mih&aacute;ly wrote:<br>
          </div>
          <blockquote cite="mid:50A11AE2.5040305@niif.hu" type="cite">
            <meta content="text/html; charset=ISO-8859-1"
              http-equiv="Content-Type">
            Hi,<br>
            <br>
            I made some progress. As I stated before, I made a patch and
            submitted to git branch misi/dns_srv.<br>
            I tested with dns cache. It works for me.<br>
            <br>
            I made it also available for case if "no dns cache" is used
            too,<br>
            but it isn't tested yet.<br>
            <br>
            Please review my commit, and let me know if any corrections
            needed. <br>
          </blockquote>
          if nobody does it meanwhile, I can look over it next week and
          also check properly what's all about this discussion,
          currently being out of the office.<br>
          <br>
        </blockquote>
        After you had time to review it, please let me know your
        thoughts.<br>
      </blockquote>
      unfortunately I had no time to look at it yet. Hopefully I will
      find some soon.<br>
      <br>
      Btw, is it complete? IIRC, I saw something like it still has to be
      extended.<br>
      <br>
    </blockquote>
    It is complete and working patch. <br>
    If there are no NAPTR records to a domain, then according to the
    local protocol preference it orders protocols and it tries to
    resolve SRV records according this ordered list. If there is no
    order then the order is udp,tcp,tls,sctp,..<br>
    <br>
    SRV records are resolved in order Kamailio dns protocol preference.
    <br>
    My algorithm picks and returns with the first protocol resolvable
    SRV record, so it sets from SRV the port and protocol.<br>
    (Of course if there are no SRV at all then it fallbacks to host
    resolving so dns "A" record.)<br>
    <br>
    It is big step forward comparing to current Kamailio behavior where
    it is using strictly udp only and after it stops searching SRV
    records at all, and go for "A" record!<br>
    <br>
    As i wrote in my patch announcing email it is a step further on the
    way to conforming with RFC3263, but my patch not handling fallback
    if there are SRV-s&nbsp; for multiple protocols in DNS. <br>
    In such case only and only if the first protocol is temporary not
    available or fails we are not falling back to other protocol but
    falling back to host resolving so "A" record (and/or AAAA).<br>
    <br>
    Can you send meg the iirc message what was there exactly? <br>
    Is there any other problem in it?<br>
    I guess no just what i explained above.<br>
    <br>
    I am eagerly waiting your review and comment.<br>
    <br>
    Thanks in advance!<br>
    Misi<br>
  </body>
</html>