From: Alexey Sibyakin Date: Tue, 3 Apr 2018 13:09:37 +0000 (+0900) Subject: FS-10119 [mod_h323] Patch from issue X-Git-Tag: v1.8.1~3^2~228^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72c625dfb95a2778bd985396552d3f62b142c7c9;p=thirdparty%2Ffreeswitch.git FS-10119 [mod_h323] Patch from issue --- diff --git a/src/mod/endpoints/mod_h323/mod_h323.cpp b/src/mod/endpoints/mod_h323/mod_h323.cpp index 8816252aea..3581f0e0b7 100644 --- a/src/mod/endpoints/mod_h323/mod_h323.cpp +++ b/src/mod/endpoints/mod_h323/mod_h323.cpp @@ -39,6 +39,8 @@ //#define DEBUG_RTP_PACKETS #include "mod_h323.h" +static struct mod_h323_globals mod_h323_globals = { 0 }; + SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_codec_string, mod_h323_globals.codec_string); SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_context, mod_h323_globals.context); SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_dialplan, mod_h323_globals.dialplan); @@ -47,7 +49,6 @@ SWITCH_DECLARE_GLOBAL_STRING_FUNC(set_global_rtp_timer_name, mod_h323_globals.rt #define CF_NEED_FLUSH (1 << 1) -static struct mod_h323_globals mod_h323_globals = { 0 }; static switch_call_cause_t create_outgoing_channel(switch_core_session_t *session, switch_event_t *var_event, switch_caller_profile_t *outbound_profile, switch_core_session_t **new_session,