From: Jeff Lenk Date: Thu, 7 Jun 2012 15:06:09 +0000 (-0500) Subject: FS-4248 prevent seg for unsupported say method X-Git-Tag: v1.2.0~290^2~9^2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20f20c8a5ce75ba0c6c1fcf6fa2d274144762fb4;p=thirdparty%2Ffreeswitch.git FS-4248 prevent seg for unsupported say method --- diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 08d1fcd5a4..8f50fe1257 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -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};