[Asterisk-code-review] chan sip: Enable WebSocket support by default. (asterisk[13])

Joshua Colp asteriskteam at digium.com
Thu Dec 17 08:19:21 CST 2015


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/1831

Change subject: chan_sip: Enable WebSocket support by default.
......................................................................

chan_sip: Enable WebSocket support by default.

Per the documentation the WebSocket support in chan_sip is
supposed to be enabled by default but is not. This change
corrects that.

Change-Id: Icb02bbcad47b11a795c14ce20a9bf29649a54423
---
M channels/chan_sip.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/31/1831/1

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 5c808cc..500aeb7 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -31464,6 +31464,7 @@
 	sip_cfg.peer_rtupdate = TRUE;
 	global_dynamic_exclude_static = 0;	/* Exclude static peers */
 	sip_cfg.tcp_enabled = FALSE;
+	sip_cfg.websocket_enabled = TRUE;
 
 	/* Session-Timers */
 	global_st_mode = SESSION_TIMER_MODE_ACCEPT;

-- 
To view, visit https://gerrit.asterisk.org/1831
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb02bbcad47b11a795c14ce20a9bf29649a54423
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Joshua Colp <jcolp at digium.com>



More information about the asterisk-code-review mailing list