Hello,

you can add ";transport=..." to $ru if there is something wrong on how the UA builds the contact or r-uri:

$ru = $ru + "...";

Cheers,
Daniel


On 24/11/2016 17:38, Yuriy Gorlichenko wrote:
Hi. Have strange issue

Calling from kamailio through WS

invite and resposes goes ok but with ACK to WS client has this issue

 get_send_socket2(): protocol/port mismatch (forced tls:kamailioIP:4443, to udp:MyWSClientIP:65451)

Guess kamailio thinks that it is UDP client because 
$ru is sip:10002@MyWSClientIP:65451

But can not understand how to fix this...




_______________________________________________
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