this broke t_relay() for websockets. getting connection not found
From Freeswitch
``` BYE sip:helen1.d8f97e04@first.local.root.io;gr=urn:uuid:06e7104a-22ff-43c3-ac7e-ba363b799b3f;x9nh=192.168.105.1~64930~6 SIP/2.0 Via: SIP/2.0/TCP 10.10.1.10:11000;rport;branch=z9hG4bKNS0Ug4S1m19je Route: sip:10.10.6.119:5070;transport=tcp;r2=on;lr;ftag=f29hrf0d3e Route: sip:192.168.140.121:5065;transport=ws;r2=on;lr;ftag=f29hrf0d3e Max-Forwards: 70 From: sip:3000@first.local.root.io;tag=jp95N51N49XDB To: sip:helen1.d8f97e04@first.local.root.io;tag=f29hrf0d3e Call-ID: bjtacsul5mm6omprf72d CSeq: 88904921 BYE User-Agent: 2600hz Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REFER, NOTIFY, PUBLISH, SUBSCRIBE Supported: path, replaces Reason: SIP;cause=200;text="Call completed elsewhere" Content-Length: 0 ```
Kamailio reply
``` SIP/2.0 408 Request Timeout Via: SIP/2.0/TCP 10.10.1.10:11000;rport=11000;branch=z9hG4bKNS0Ug4S1m19je;received=10.10.1.10 From: sip:3000@first.local.root.io;tag=jp95N51N49XDB To: sip:helen1.d8f97e04@first.local.root.io;tag=f29hrf0d3e Call-ID: bjtacsul5mm6omprf72d CSeq: 88904921 BYE Content-Length: 0 ```
Kamailio relevant logs
``` 2024-09-21 12:17:06.507 [info] bjtacsul5mm6omprf72d default.cfg:301 (log_request) start - received tcp request BYE sip:helen1.d8f97e04@first.local.root.io;gr=urn:uuid:06e7104a-22ff-43c3-ac7e-ba363b799b3f;x9nh=192.168.105.1~64930~6 2024-09-21 12:17:06.507 [info] bjtacsul5mm6omprf72d default.cfg:302 (log_request) source 10.10.1.10:11000 -> 10.10.6.119:5070 2024-09-21 12:17:06.507 [info] bjtacsul5mm6omprf72d default.cfg:303 (log_request) from sip:3000@first.local.root.io 2024-09-21 12:17:06.507 [info] bjtacsul5mm6omprf72d default.cfg:304 (log_request) to sip:helen1.d8f97e04@first.local.root.io 2024-09-21 12:17:06.507 [info] bjtacsul5mm6omprf72d default.cfg:313 (log_request_classified_source) originated from internal sources 2024-09-21 12:17:06.507 [info] bjtacsul5mm6omprf72d default.cfg:482 (handle_in_dialog_requests) loose_route in-dialog message => sip:192.168.105.1:64930;transport=ws 2024-09-21 12:17:06.508 [info] bjtacsul5mm6omprf72d default.cfg:639 (manage_branch) new branch [0] to sip:helen1.d8f97e04@first.local.root.io;gr=urn:uuid:06e7104a-22ff-43c3-ac7e-ba363b799b3f 2024-09-21 12:17:06.508 [info] bjtacsul5mm6omprf72d default.cfg:949 (default_send) pass - tls 10.10.6.119:5065 -> 192.168.105.1:64930 2024-09-21 12:17:06.508 120(399) WARNING: tm [../../core/forward.h:238]: msg_send_buffer(): TCP/TLS connection for WebSocket could not be found 2024-09-21 12:17:11.508 [info] bjtacsul5mm6omprf72d default.cfg:788 (external_fault) 408 Request Timeout ```