[SR-Users] Websocket Path Issues

Colin Morelli colin.morelli at gmail.com
Thu Jul 14 19:34:55 CEST 2016


Hey all,

I'm using Kamailio as an outbound edge proxy for websocket connections.
When my registrar calls out to Kamailio to forward to a websocket
connection that has since been killed, rather than just entering the
failure branch, it throws a few errors:

 5(24) WARNING: <core> [msg_translator.c:2760]: via_builder(): TCP/TLS
connection (id: 0) for WebSocket could not be found
 5(24) ERROR: <core> [msg_translator.c:1978]: build_req_buf_from_sip_req():
could not create Via header
 5(24) ERROR: tm [t_fwd.c:476]: prepare_new_uac(): could not build request
 5(24) ERROR: tm [t_fwd.c:1737]: t_forward_nonack(): ERROR:
t_forward_nonack: failure to add branches
 5(24) ERROR: sl [sl_funcs.c:363]: sl_reply_error(): ERROR: sl_reply_error
used: No error (2/SL)


Ultimately this means the proxy gets a 500 rather than a 430 flow failed,
and the registration sits around in the proxy when it should be removed.

Am I missing something obvious to get this behavior?

Best,
Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160714/11e92106/attachment.html>


More information about the sr-users mailing list