Hi, could you please help me check this issue? Or provide tutorial links for WebSocket installation and configuration. Requirement: Support WebSocket signaling Configuration in Kamailio.cfg as follows: [Please paste your specific configuration here]
3. I keep getting the following syntax error in my Kamailio configuration:
4. We suspect it might be because WebSocket is not supported during compilation and installation.
5. Additional information: The websocket.so file exists in /usr/local/lib64/kamailio/modules/, along with other dependencies like xhttp, etc.
Best regards, Kamailio User
Hi!
I don’t think ws: is an available prefix for the listen= directive. Please check with the core cookbook for the version you are using. Here's a link for v6.0 (Yes, I think it could be improved with a better list of available protocols).
https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/%EF%BF%BC
You do mention the websocket module. I suggest you take a look at the websocket module documentation: https://kamailio.org/docs/modules/6.0.x/modules/websocket.html%EF%BF%BC There are some code examples in there to start with. This should get you going.
Best regards, /O
On 23 Oct 2025, at 11:01, tjgcourage11 via sr-users sr-users@lists.kamailio.org wrote:
Hi, could you please help me check this issue? Or provide tutorial links for WebSocket installation and configuration.
Requirement: Support WebSocket signaling Configuration in Kamailio.cfg as follows: [Please paste your specific configuration here]

I keep getting the following syntax error in my Kamailio configuration:
We suspect it might be because WebSocket is not supported during compilation and installation.

Additional information: The websocket.so file exists in /usr/local/lib64/kamailio/modules/, along with other dependencies like xhttp, etc.
Best regards,Kamailio User
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Hi
ws will use tcp and wss will use tls
see the example in the websocket module documentation
so your ws listen should be listen=tcp:192.168.6.22:5066
Regards,
Richard
On 24/10/2025 08:35, Olle E. Johansson via sr-users wrote:
Hi!
I don’t think ws: is an available prefix for the listen= directive. Please check with the core cookbook for the version you are using. Here's a link for v6.0 (Yes, I think it could be improved with a better list of available protocols).
Core Cookbook - Kamailio Wiki Documentation https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/ kamailio.org https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/ favicon.ico https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/
https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/
You do mention the websocket module. I suggest you take a look at the websocket module documentation: WebSocket Module https://kamailio.org/docs/modules/6.0.x/modules/websocket.html kamailio.org https://kamailio.org/docs/modules/6.0.x/modules/websocket.html favicon.ico https://kamailio.org/docs/modules/6.0.x/modules/websocket.html
https://kamailio.org/docs/modules/6.0.x/modules/websocket.html
There are some code examples in there to start with. This should get you going.
Best regards, /O
On 23 Oct 2025, at 11:01, tjgcourage11 via sr-users sr-users@lists.kamailio.org wrote:
Hi, could you please help me check this issue? Or provide tutorial links for WebSocket installation and configuration.
- *Requirement*: Support WebSocket signaling
- *Configuration in Kamailio.cfg as follows*: [Please paste your specific configuration here]
a843c0f2-1491-4822-ac77-2bd6173746d0.png
- I keep getting the following syntax error in my Kamailio
configuration:98fc5345-40b1-4c00-99b2-5663da3f31ac.png
- We suspect it might be because WebSocket is not supported during
compilation and installation. 685cd7e2-726b-4cb2-b2f1-ef9fc19df61e.png
- Additional information: The websocket.so file exists in
/usr/local/lib64/kamailio/modules/, along with other dependencies like xhttp, etc.
Best regards, Kamailio User __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Kamailio - Users Mailing List - Non Commercial Discussions --sr-users@lists.kamailio.org To unsubscribe send an email tosr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
The syntax for that is actually tcp, not ws. The ws upgrade happens after the client connects, check https://github.com/davidcsi/voip-full-k8s-sip-proxy/blob/master/kamailio.cfg
Regards,
David Villasmil email: david.villasmil.work@gmail.com
On Tue, Oct 28, 2025 at 9:45 AM Richard Robson via sr-users < sr-users@lists.kamailio.org> wrote:
Hi
ws will use tcp and wss will use tls
see the example in the websocket module documentation
so your ws listen should be listen=tcp:192.168.6.22:5066
Regards,
Richard On 24/10/2025 08:35, Olle E. Johansson via sr-users wrote:
Hi!
I don’t think ws: is an available prefix for the listen= directive. Please check with the core cookbook for the version you are using. Here's a link for v6.0 (Yes, I think it could be improved with a better list of available protocols).
Core Cookbook - Kamailio Wiki Documentation https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/ kamailio.org https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/ [image: favicon.ico] https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/ https://www.kamailio.org/wikidocs/cookbooks/6.0.x/core/
You do mention the websocket module. I suggest you take a look at the websocket module documentation: WebSocket Module https://kamailio.org/docs/modules/6.0.x/modules/websocket.html kamailio.org https://kamailio.org/docs/modules/6.0.x/modules/websocket.html [image: favicon.ico] https://kamailio.org/docs/modules/6.0.x/modules/websocket.html https://kamailio.org/docs/modules/6.0.x/modules/websocket.html
There are some code examples in there to start with. This should get you going.
Best regards, /O
On 23 Oct 2025, at 11:01, tjgcourage11 via sr-users sr-users@lists.kamailio.org sr-users@lists.kamailio.org wrote:
Hi, could you please help me check this issue? Or provide tutorial links for WebSocket installation and configuration.
- *Requirement*: Support WebSocket signaling
- *Configuration in Kamailio.cfg as follows*: [Please paste your
specific configuration here]
[image: a843c0f2-1491-4822-ac77-2bd6173746d0.png]
- I keep getting the following syntax error in my Kamailio configuration:[image:
98fc5345-40b1-4c00-99b2-5663da3f31ac.png]
- We suspect it might be because WebSocket is not supported during
compilation and installation. [image: 685cd7e2-726b-4cb2-b2f1-ef9fc19df61e.png]
- Additional information: The websocket.so file exists in
/usr/local/lib64/kamailio/modules/, along with other dependencies like xhttp, etc.
Best regards,Kamailio User
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
WS uses tls as its transport ans wss uses tls for its transport.
Therefore you need listen=tcp:192.168.6.17:5066 and also the module compiled and loaded
Regards,
Richard
On 24/10/2025 08:35, Olle E. Johansson via sr-users wrote:
Hi!
I don’t think ws: is an available prefix for the listen= directive. Please check with the core cookbook for the version you are using. Here's a link for v6.0 (Yes, I think it could be improved with a better list of available protocols).
YYou do mention the websocket module. I suggest you take a look at the websocket module documentation:
There are some code examples in there to start with. This should get you going.
Best regards, /O
On 23 Oct 2025, at 11:01, tjgcourage11 via sr-users sr-users@lists.kamailio.org wrote:
Hi, could you please help me check this issue? Or provide tutorial links for WebSocket installation and configuration.
*Requirement*: Support WebSocket signaling
*Configuration in Kamailio.cfg as follows*: [Please paste your specific configuration here]
I keep getting the following syntax error in my Kamailio
configuration:
- We suspect it might be because WebSocket is not supported during
compilation and installation. 685cd7e2-726b-4cb2-b2f1-ef9fc19df61e.png
- Additional information: The websocket.so file exists in
/usr/local/lib64/kamailio/modules/, along with other dependencies like xhttp, etc.
Best regards, Kamailio User __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Kamailio - Users Mailing List - Non Commercial Discussions --sr-users@lists.kamailio.org To unsubscribe send an email tosr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
Hello,
just for the archives, WS uses TCP and WSS uses TLS in the Kamailio context.
Cheers,
Henning
From: Richard Robson via sr-users sr-users@lists.kamailio.org Sent: Sunday, October 26, 2025 5:35 PM To: Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Cc: Richard Robson richard@rikrobson.co.uk Subject: [SR-Users] Re: Kamailio WebSocket configuration error
WS uses tls as its transport ans wss uses tls for its transport.
Therefore you need listen=tcp:192.168.6.17:5066 and also the module compiled and loaded
Regards,
Richard On 24/10/2025 08:35, Olle E. Johansson via sr-users wrote: Hi!
I don’t think ws: is an available prefix for the listen= directive. Please check with the core cookbook for the version you are using. Here's a link for v6.0 (Yes, I think it could be improved with a better list of available protocols).
YYou do mention the websocket module. I suggest you take a look at the websocket module documentation:
There are some code examples in there to start with. This should get you going.
Best regards, /O
On 23 Oct 2025, at 11:01, tjgcourage11 via sr-users sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org wrote:
Hi, could you please help me check this issue? Or provide tutorial links for WebSocket installation and configuration. 1. Requirement: Support WebSocket signaling 2. Configuration in Kamailio.cfg as follows: [Please paste your specific configuration here]
3. I keep getting the following syntax error in my Kamailio configuration:
4. We suspect it might be because WebSocket is not supported during compilation and installation. [cid:image001.png@01DC472C.63426120]
5. Additional information: The websocket.so file exists in /usr/local/lib64/kamailio/modules/, along with other dependencies like xhttp, etc.
Best regards,
Kamailio User
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org To unsubscribe send an email to sr-users-leave@lists.kamailio.orgmailto:sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- sr-users@lists.kamailio.orgmailto:sr-users@lists.kamailio.org
To unsubscribe send an email to sr-users-leave@lists.kamailio.orgmailto:sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!