Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
SIP over Websocket keep-alives
Author Message
pgrebenc
Brekeke Newbie


Joined: 10 Aug 2015
Posts: 4

PostPosted: Mon Jan 25, 2016 3:42 pm    Post subject: SIP over Websocket keep-alives Reply with quote

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
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Mon Feb 01, 2016 1:30 am    Post subject: Reply with quote

Interesting. Let me try.
Back to top
View user's profile
Harold
Brekeke Master Guru


Joined: 21 Sep 2008
Posts: 287
Location: Japan

PostPosted: Tue Feb 09, 2016 2:39 am    Post subject: Reply with quote

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 .
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1