SIP over Websocket keep-alives

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
pgrebenc
Posts: 4
Joined: Mon Aug 10, 2015 1:50 pm

SIP over Websocket keep-alives

Post by pgrebenc »

1. Brekeke Product Name and Version:
Brekeke SIP Server 3.5.2.8

2. Java version:
1.8.0_60-b27

3. OS type and the version:
CentOS release 6.6

4. UA (phone), gateway or other hardware/software involved:
JsSIP 0.7.11

5. Your problem:

Is it possible to configure a keep-alive for SIP connections via websocket in the Brekeke SIP server?

Does the Configuration -> SIP -> NAT traversal -> "Keep address/port mapping" setting affect websockets?

Is there a way to enable ping/pong keep-alives, or CRLF keep-alives in the server?

Regards,
Paul
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

Interesting. Let me try.
Harold
Posts: 289
Joined: Sun Sep 21, 2008 10:31 pm
Location: Japan

Post by Harold »

NAT traversal's Keep-Alive is for UDP so it doesn't work with WS/WSS.

But I could send periodical keep-alive packets from the Redundancy's Heartbeat settings. If you set a registered username with @localhost as SIP URI there, the Heartbeat process sends OPTIONS packet periodically to the SIP server and so the SIP server forwards it to the UA over WebSocket .
Post Reply