Found the problem...
I've used the function fix_nated_contact() before handling the SUBSCRIBE request.
the problem was caused because websocket connection has a false contact info due to browser limitations.
thanks.


2013/4/24 Jeremy Jongepier <jeremy@autostatic.com>
On 04/18/2013 02:43 PM, אורן אברהם wrote:
Dear Jeremy, thank you for your effort.

my kamailio.cfg file is attached.

Regards,

Oren.

Thanks! Not an expert on this but:

Apr 18 02:55:21 oren-ubuntu /usr/sbin/kamailio[26476]: WARNING: <core>
[msg_translator.c:2499]: TCP/TLS connection (id: 0) for WebSocket could not
be found (tcp:10.0.0.4:8080)

Does this mean a TLS connection is requested? I ask this because TLS is not configured on your setup.


Regards,

Jeremy

_______________________________________________
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