From 72c625dfb95a2778bd985396552d3f62b142c7c9 Mon Sep 17 00:00:00 2001 From: Alexey Sibyakin Date: Tue, 3 Apr 2018 22:09:37 +0900 Subject: [PATCH] FS-10119 [mod_h323] Patch from issue --- src/mod/endpoints/mod_h323/mod_h323.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,