git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9040 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale committed 2008-07-15 17:39:16 +00:00
1 parent 266a56391e
commit bc2fc3fa14
7 files changed
+57 -46

No files matched your search

+1 -2
View File
@@ -567,7 +567,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_file(switch_core_session_t *se
}
}
switch_core_session_set_read_codec(session, read_codec);
switch_core_file_close(fh);
switch_core_session_reset(session, SWITCH_TRUE);
return status;
@@ -1316,7 +1315,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_silence(switch_core_session_
}
}
switch_core_session_set_read_codec(session, NULL);
switch_core_session_reset(session, SWITCH_FALSE);
switch_core_codec_destroy(&raw_codec);
end: