No matter if UA uses ws or wss to connect to Kamailio, when K routes INVITE from this UA and record_route() is called, K always adds ;transport=ws parameter to Record-Route URI, for example,
Record-Route: sip:192.168.43.83:7998;transport=ws;r2=on;lr
In this test, Kamailio is listening on that port like this:
# SIP over WebSocket listen=tls:192.168.43.83:7998
Why doesn't K in this case add ;transport=wss to the R-R URI?
-- Juha