Author |
Message |
pgrebenc Brekeke Newbie
Joined: 10 Aug 2015 Posts: 4
|
Posted: Mon Jan 25, 2016 3:42 pm Post subject: SIP over Websocket keep-alives |
|
|
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 |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Mon Feb 01, 2016 1:30 am Post subject: |
|
|
Interesting. Let me try. |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 289
Location: Japan
|
Posted: Tue Feb 09, 2016 2:39 am Post subject: |
|
|
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 |
|
|