fix segfault
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1773 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
ee5e2e0994
commit
3837f5d242
|
@ -602,15 +602,17 @@ static void rss_function(switch_core_session_t *session, char *data)
|
|||
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) {
|
||||
|
|
Loading…
Reference in New Issue