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

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


Joshua Colp has uploaded a new change for review.

  https://gerrit.asterisk.org/1832

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/32/1832/1

diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 378774a..f7fbed7 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -31510,6 +31510,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/1832
To unsubscribe, visit https://gerrit.asterisk.org/settings

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



More information about the asterisk-code-review mailing list