tweak to repair some damage from icc tweaks

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@992 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2006-03-31 16:10:00 +00:00
1 parent 215a1b2a1f
commit 74d14b25f7
8 files changed
+12 -17

No files matched your search

+2 -1
View File
@@ -115,11 +115,12 @@ void fs_channel_set_state(struct switch_core_session *session, char *state)
int fs_ivr_play_file(struct switch_core_session *session, char *file, char *timer_name)
{
switch_status status;
if (switch_strlen_zero(timer_name)) {
timer_name = NULL;
}
switch_status status = switch_ivr_play_file(session, NULL, file, timer_name, NULL, NULL, 0);
status = switch_ivr_play_file(session, NULL, file, timer_name, NULL, NULL, 0);
return status == SWITCH_STATUS_SUCCESS ? 1 : 0;
}