diff --git a/src/switch_core.c b/src/switch_core.c index f21a2d0757..801c39d14a 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -417,9 +417,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_init(const char *console, switch_cor { switch_xml_t xml = NULL, cfg = NULL; switch_uuid_t uuid; - memset(&runtime, 0, sizeof(runtime)); char guess_ip[256]; + memset(&runtime, 0, sizeof(runtime)); + switch_set_flag((&runtime), SCF_NO_NEW_SESSIONS); runtime.hard_log_level = SWITCH_LOG_DEBUG; diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index ac4e7a936b..f027f7d10b 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1208,7 +1208,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_speak_text_handle(switch_core_session switch_status_t status = SWITCH_STATUS_SUCCESS; switch_speech_flag_t flags = SWITCH_SPEECH_FLAG_NONE; uint32_t rate = 0; - int extra = 0; + switch_size_t extra = 0; char *p, *tmp = NULL; char *star, *pound; switch_size_t starlen, poundlen;