<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hello,</p>
    <p>the unresolvable destination should be triggered when the dns
      server failed to resolve the hostname in r-uri and in this case
      it's clear it's an invalid one being a contact for webrtc. You are
      not handling correctly the devices connected over websocket, you
      have to deal with them as with devices behind the nat, so you add
      a contact alias and handle the parameter in r-uri for requests
      within dialog -- look at default kamailio.cfg how the nat
      traversal part is done.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 18/10/16 22:40, Serhat Guler wrote:<br>
    </div>
    <blockquote
cite="mid:CA+Eb_nz_U_ot=P9nhni77E0P+tc4-1RgZDUmdTiNAi6grPQJJA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_default"><font face="verdana, sans-serif"
            color="#0b5394">Dear all,</font><br>
          <br>
          <font face="verdana, sans-serif" color="#0b5394">I am trying
            to make a call between 2 webrtc clients(sipml5) using my
            kamailio IMS setup. The invite request fails at the
            terminating PCSCF with error code "Status: 478 Unresolvable
            destination (478/TM)". I have traced the packages and saw
            that the package that arrives at the terminating PCSCF has
            an unresolvable request URI due to the websocket connection.</font></div>
        <div class="gmail_default"><font face="verdana, sans-serif"
            color="#0b5394"><br>
            The package being sent from terminating ICSCF to SCSCF has
            the "Request-URI: <a class="moz-txt-link-freetext" href="sip:bob@net1.test">sip:bob@net1.test</a>"</font></div>
        <div class="gmail_default"><font face="verdana, sans-serif"
            color="#0b5394">The package from </font><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif">terminating</span><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif"> </span><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif">SCSCF
            to </span><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif">terminating</span><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif"> PCSCF
            has the "</span><font face="verdana, sans-serif"
            color="#0b5394">Request-URI:
            <a class="moz-txt-link-freetext" href="sip:bob@df7jal23ls0d.invalid;rtcweb-breaker=yes;transport=ws">sip:bob@df7jal23ls0d.invalid;rtcweb-breaker=yes;transport=ws</a>"</font></div>
        <div class="gmail_default"><br>
        </div>
        <div class="gmail_default"><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif">I
            guess the terminating SCSCF replaces the request URI with
            the one it stored during the registration process, but the
            terminating PCSCF cannot resolve the host name&port
            number; therefore, it reports back "</span><span
            style="color:rgb(11,83,148);font-family:verdana,sans-serif">Unresolvable
            destination". Is that really the case happening in here ?
            How can I get over this problem ? Any ideas are welcome.<br>
          </span><font face="verdana, sans-serif" color="#0b5394"><br>
            Cheers,<br>
            Serhat</font></div>
      </div>
      <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://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>
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
  </body>
</html>