Skip to content

Commit

Permalink
FS-4248 prevent seg for unsupported say method
Browse files Browse the repository at this point in the history
jlenk committed Jun 7, 2012
1 parent 2c9e145 commit 20f20c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/switch_ivr.c
Original file line number Diff line number Diff line change
@@ -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};

0 comments on commit 20f20c8

Please sign in to comment.