Re: Kamailio WebSocket configuration error

Richard Robson via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <[email protected]>
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 
>> <[email protected]> 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.
>> 685cd7e2-726b-4cb2-b2f1-ef9fc19df61e.png
>>
>> 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 -- 
>> [email protected]
>> To unsubscribe send an email to [email protected]
>> Important: keep the mailing list in the recipients, do not reply only 
>> to the sender!
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions [email protected]
> To unsubscribe send an email [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the sender!

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the sender!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.