diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index c483ccfbed..c15da6fb03 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1882,7 +1882,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_read(switch_core_session_t *session, int term_required = 0; - if (*valid_terminators == '=') { + if (valid_terminators && *valid_terminators == '=') { term_required = 1; }