Hello,

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.

Cheers,
Daniel


On 18/10/16 22:40, Serhat Guler wrote:
Dear all,

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.

The package being sent from terminating ICSCF to SCSCF has the "Request-URI: sip:bob@net1.test"
The package from terminating SCSCF to terminating PCSCF has the "Request-URI: sip:bob@df7jal23ls0d.invalid;rtcweb-breaker=yes;transport=ws"

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 "Unresolvable destination". Is that really the case happening in here ? How can I get over this problem ? Any ideas are welcome.

Cheers,
Serhat


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com