From: Joshua Colp Date: Thu, 17 Dec 2015 14:10:43 +0000 (-0400) Subject: chan_sip: Enable WebSocket support by default. X-Git-Tag: 14.0.0-beta1~518 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2c8614122bf0ddd29ab81c238a7f927fb731975;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 378774a92b..f7fbed7202 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;