summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-12-17 10:10:43 -0400
committerJoshua Colp <jcolp@digium.com>2015-12-17 10:10:43 -0400
commit158a0a54223c0314c8a4b07ab6982fe5db0942b7 (patch)
treed92a89cf1191511cb161a466fa0fa6c6378558f0 /channels
parent280adca0a55f5fa75dc562ded5a2daf9df6a6184 (diff)
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
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 5c808cc22..500aeb785 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -31464,6 +31464,7 @@ static int reload_config(enum channelreloadreason reason)
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;