git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1773
d0543943-73ff-0310-b7d9-
9358b9ac24b2
cont = 0;
continue;
}
-
- status = switch_ivr_speak_text_handle(session,
- &sh,
- &speech_codec,
- timerp,
- on_dtmf,
- entries[dtb.index].description_txt,
- &dtb,
- sizeof(dtb));
+
+ if (entries[dtb.index].description_txt) {
+ status = switch_ivr_speak_text_handle(session,
+ &sh,
+ &speech_codec,
+ timerp,
+ on_dtmf,
+ entries[dtb.index].description_txt,
+ &dtb,
+ sizeof(dtb));
+ }
if (status == SWITCH_STATUS_BREAK) {
continue;
} else if (status != SWITCH_STATUS_SUCCESS) {