mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
chan_sip: Allow websockets to be disabled.
This patch adds a new setting "websockets_enabled" to sip.conf. Setting this to false allows chan_sip to be used without causing conflicts with res_pjsip_transport_websocket. ASTERISK-24106 #close Reported by: Andrew Nagy Change-Id: I04fe8c4f2d57b2d7375e0e25826c91a72e93bea7
This commit is contained in:
@@ -774,6 +774,7 @@ struct sip_settings {
|
||||
int tcp_enabled;
|
||||
int default_max_forwards; /*!< Default max forwards (SIP Anti-loop) */
|
||||
int websocket_write_timeout; /*!< Socket write timeout for websocket transports, in ms */
|
||||
int websocket_enabled; /*!< Are websockets enabled? */
|
||||
};
|
||||
|
||||
struct ast_websocket;
|
||||
|
Reference in New Issue
Block a user