]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10119 [mod_h323] Patch from issue
authorAlexey Sibyakin <alex@freeswitch.com>
Tue, 3 Apr 2018 13:09:37 +0000 (22:09 +0900)
committerAlexey Sibyakin <alex@freeswitch.com>
Tue, 3 Apr 2018 13:09:37 +0000 (22:09 +0900)
src/mod/endpoints/mod_h323/mod_h323.cpp

index 8816252aea4685fb61ce4701eeec9ff9a2a2b897..3581f0e0b7ec7e80f92bdf3eac9b41e0f3caf1cf 100644 (file)
@@ -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,