asterisk/channels
Dade Brandon 6dc21bbf00 chan_sip.c: fix websocket_write_timeout default value
websocket_write_timeout was not being set to its default value
during sip config reload, which meant that prior to this commit,
1) the default value of 100 was not used, unless an invalid value
(or 1) was specified in sip.conf for websocket_write_timeout, and
2) if the websocket_write_timeout directive was removed from sip.conf
without a full restart of asterisk, then the previous value would
continue to be used indefinitely.

This essentially lead to a 0ms write timeout (the first write attempt
in ast_careful_fwrite must have succeeded) in websocket write requests
from chan_sip, unless websocket_write_timeout was explicitely set in sip.conf.

Changes to websocket_write_timeout still only apply to new websocket
sessions, after the sip reload -- timeouts on existing sessions are
not adjusted during sip reload.

Change-Id: Ibed3816ed29cc354af6564c5ab3e75eab72cb953
2015-12-25 08:08:07 -08:00
..
dahdi Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
iax2 git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
misdn Makefile: Remove coverage files on 'make clean' 2015-07-04 07:47:06 -05:00
pjsip channels/pjsip/dialplan_functions: Add an option for extracting the SIP call-id 2015-09-05 15:25:44 -05:00
sip Audit improper usage of scheduler exposed by 5c713fdf18. 2015-12-01 13:54:04 -06:00
Makefile Makefile: Remove coverage files on 'make clean' 2015-07-04 07:47:06 -05:00
chan_alsa.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_bridge_media.c AST_MODULE_INFO: Format corrections to the usages of AST_MODULE_INFO macro. 2015-05-13 16:34:23 -05:00
chan_console.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_dahdi.c build: GCC 5.1.x catches some new const, array bounds and missing paren issues 2015-10-24 16:08:54 -05:00
chan_dahdi.h chan_dahdi/sig_analog: Fix distinctive ring detection to suck less. 2015-03-06 20:24:58 +00:00
chan_iax2.c Audit improper usage of scheduler exposed by 5c713fdf18. 2015-12-01 13:54:04 -06:00
chan_mgcp.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_misdn.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
chan_motif.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_nbs.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_oss.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_phone.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_pjsip.c chan_pjsip: Handle T.38 faxes with direct media bridges 2015-11-22 22:37:29 -06:00
chan_rtp.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
chan_sip.c chan_sip.c: fix websocket_write_timeout default value 2015-12-25 08:08:07 -08:00
chan_skinny.c Audit improper usage of scheduler exposed by 5c713fdf18. (v13 additions) 2015-12-01 13:54:04 -06:00
chan_unistim.c ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
chan_vpb.cc ast_format_cap_get_names: To display all formats, the buffer was increased. 2015-11-09 16:58:52 +01:00
console_board.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
console_gui.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
console_video.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
misdn_config.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
sig_analog.c Logger: Convert 'struct ast_callid' to unsigned int. 2015-03-13 01:12:35 +00:00
sig_analog.h chan_dahdi/sig_analog: Fix distinctive ring detection to suck less. 2015-03-06 20:24:58 +00:00
sig_pri.c build: GCC 5.1.x catches some new const, array bounds and missing paren issues 2015-10-24 16:08:54 -05:00
sig_pri.h sig_pri.h: force_restart_unavailable_chans in wrong scope 2015-07-17 11:02:24 -05:00
sig_ss7.c Logger: Convert 'struct ast_callid' to unsigned int. 2015-03-13 01:12:35 +00:00
sig_ss7.h chan_dahdi: Adds support for major update to libss7. 2014-06-16 18:27:51 +00:00
vcodecs.c Fix printf problems with high ascii characters after r413586 (1.8). 2014-12-17 10:23:32 +00:00
vgrabbers.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00