<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Not using ims modules I don't know if they do any dns internally.
    But speaking in general for kamailio, when sending out with
    t_relay() or forward(), if the SRV fails, the fallback is to do A
    query on hostname from R-URI and use default SIP port 5060.<br>
    <br>
    If you wand us to try to help more, perhaps is better to provide
    syslog messages with debug=3 in kamailio.cfg.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 13/12/13 11:58, Flavio Battimo
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADKbteeR16gwkhLmx-83JBQPBG=89T5NnDpnVEN8D0HfdhyWow@mail.gmail.com"
      type="cite">
      <pre wrap="">I attach a Wireshark dump


2013/12/13 Flavio Battimo <a class="moz-txt-link-rfc2396E" href="mailto:flaviobattimo@gmail.com"><flaviobattimo@gmail.com></a>:
</pre>
      <blockquote type="cite">
        <pre wrap="">Hello,

working on Kamailio SCSCF module, when I receive an INVITE the serving
module should find the corresponding ICSCF to forward the INVITE. In
order to do this it should perform a NAPTR query, followed by a DNS
SRV query and a DNS A query.

In our case the serving has the following behavior:
1) it CORRECTLY make NAPTR query
2) it send an SRV query to resolve ICSCF service port having invalid
response 4 times.

After 4 times, so 20 seconds, it sends INVITE message to ICSCF at
default port 5060.
SRV query contains a null name, shown as <Root> in Wireshark. Current
DNS application (MyDNS) answer with a not implemented response.

I expect that the serving CSCF try to resolve the ICSCF making an SRV
query and an A query to discover the service port and ip address using
the domain returned by NAPTR query.

I have two questions:
It seems that SRV query is not valid, because it's not based on SIP
domain, do you think it's correct?

At least, is it possible to configure s-cscf to force an INVITE to be
sent always to the same interrogating?

--
Flavio Battimo
<a class="moz-txt-link-abbreviated" href="mailto:flavio.battimo@gmail.com">flavio.battimo@gmail.com</a>
<a class="moz-txt-link-abbreviated" href="mailto:fbattimo@meetecho.com">fbattimo@meetecho.com</a>
skype: flaviobattimo
</pre>
      </blockquote>
      <pre wrap="">


</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>