FS-4248 prevent seg for unsupported say method
This commit is contained in:
parent
2c9e1454fe
commit
20f20c8a5c
|
@ -2976,7 +2976,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_say_string(switch_core_session_t *ses
|
|||
}
|
||||
}
|
||||
|
||||
if ((si = switch_loadable_module_get_say_interface(module_name))) {
|
||||
if ((si = switch_loadable_module_get_say_interface(module_name)) && si->say_string_function) {
|
||||
/* should go back and proto all the say mods to const.... */
|
||||
switch_say_args_t say_args = {0};
|
||||
|
||||
|
|
Loading…
Reference in New Issue