diff options
author | Joshua Colp <jcolp@digium.com> | 2015-12-17 10:10:43 -0400 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2015-12-17 08:19:34 -0600 |
commit | d2c8614122bf0ddd29ab81c238a7f927fb731975 (patch) | |
tree | 44f1aa80f86b94966fa6a8b53b57817b98a94bf1 | |
parent | 093f14d7f3e6a84fc2e6baf2ff950a915e9f91d8 (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
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 378774a92..f7fbed720 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -31510,6 +31510,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; |