Skip to content

Conversation

@neutrino38
Copy link

Adding support of SIP over WSS based on libwebsocket

@Javdu10
Copy link

Javdu10 commented Nov 24, 2025

Hello there!

Great work, it would be very nice if we could somehow change the ws ccinfo.path (For example I have /ws on my side) aswell as be able to use flags like LCCSCF_ALLOW_SELFSIGNED, LCCSCF_ALLOW_INSECURE, LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK

@neutrino38
Copy link
Author

Hello there!

Great work, it would be very nice if we could somehow change the ws ccinfo.path (For example I have /ws on my side) aswell as be able to use flags like LCCSCF_ALLOW_SELFSIGNED, LCCSCF_ALLOW_INSECURE, LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK

regarding the ccinfo.path, how would you specify that in the sipp scenario?
regarding the flags, do you want me to add options to the command line? I'll check how it's done with TLS.

@Javdu10
Copy link

Javdu10 commented Nov 26, 2025

Hello there!
Great work, it would be very nice if we could somehow change the ws ccinfo.path (For example I have /ws on my side) aswell as be able to use flags like LCCSCF_ALLOW_SELFSIGNED, LCCSCF_ALLOW_INSECURE, LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK

regarding the ccinfo.path, how would you specify that in the sipp scenario? regarding the flags, do you want me to add options to the command line? I'll check how it's done with TLS.

Hello!

I think it must be a command argument next to where we specify the transport layer for websocket

if not used, something like -wp or -wsp for short args and --ws-path for longer version would probably do

Other than that it works nicely, thanks!

… Websocket connection. Specified flags LCCSCF_ALLOW_INSECURE and LCCSCF_ALLOW_SELFSIGNED to relax constraints when connecting.
@neutrino38
Copy link
Author

I added LCCSCF_ALLOW_SELFSIGNED and LCCSCF_ALLOW_INSECURE flags to the ccinfo and added a -wss_path option to the command line. I could not find any definition of LCCSCF_SKIP_SERVER_CERT_HOSTNAME_CHECK however.

@orgads
Copy link
Contributor

orgads commented Dec 14, 2025

Thanks for the contribution!

Can you suggest a way to (manually) test this?

@neutrino38
Copy link
Author

Hello,

It can be tested with an UAC like scenario against an asterisk software configured to handle WebRTC calls.

@orgads orgads requested review from lemenkov and wdoekes January 3, 2026 20:39
@orgads
Copy link
Contributor

orgads commented Jan 3, 2026

@neutrino38 Please fix the lint issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants