[Spce-user] Websockets in CE 3.0

Andreas Granig agranig at sipwise.com
Sat Aug 24 05:05:43 EDT 2013


Hi,

Looks like the lb config is missing the tcp_accept_no_cl option by default.

Add the line

tcp_accept_no_cl=yes

to your /etc/ngcp-config/templates/etc/kamailio/lb/kamailio.cfg.tt2 file 
somewhere near the top.

We'll push a fixed template soon.

Andreas

On 08/24/2013 05:02 AM, Nicholas Papadakos wrote:
> Anyone on this ?
>
> Have the same problem.
>
> *From:*spce-user-bounces at lists.sipwise.com
> [mailto:spce-user-bounces at lists.sipwise.com] *On Behalf Of *Bartel
> Verkruijssen
> *Sent:* Monday, August 19, 2013 4:58 PM
> *To:* spce-user at lists.sipwise.com
> *Subject:* [Spce-user] Websockets in CE 3.0
>
>
>
> Hi,
>
> I’m running CE 3.0 ,
>
> It supposed to support websockets, I went true the kamailio.cfg and
> compared with my standalone  kamailio config that works with websockets.
> All looks good.
>
> I tried to changed the Kamailio listen port for;
>
>   ‘listen tcp:xxx.xxx.xxx.xxx:80’
>
> To /etc/ngcp-config/templates/etc/kamailio/lb/kamailio.cfg.customtt.tt2
>
> (changed apache port)
>
> I’m testing with sipML5
>
> Websockets server URL : ws://xxx.xxx.xxx.xxx/ws
>
> And then standard SIP credentials,
>
> Tcpdump give nothing back; Just an incoming request
>
> Tcpdump port 80 –w dump.txt ;
>
> ^D�����o�GET /ws HTTP/1.1
>
> Upgrade: websocket
>
> Connection: Upgrade
>
> Host: XXX.XXX.com
>
> Origin: http://XXX.com
>
> Sec-WebSocket-Protocol: sip
>
> Pragma: no-cache
>
> Cache-Control: no-cache
>
> Sec-WebSocket-Key: //rdNFnQhrRH8tPfLBUGGg==
>
> Sec-WebSocket-Version: 13
>
> Sec-WebSocket-Extensions: x-webkit-deflate-frame
>
> User-Agent: Mozilla/5.0 (Macintos
>
> In what direction do I have to look?
>
> Bartel
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user
>




More information about the Spce-user mailing list