mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-31 02:33:44 +00:00
fix MODAPP-302, but mp3's still have an issue.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14090 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7025e178db
commit
347bd1b301
@ -1460,7 +1460,7 @@ static switch_status_t listen_file(switch_core_session_t *session, vm_profile_t
|
|||||||
if (!*cc.buf) {
|
if (!*cc.buf) {
|
||||||
memset(&fh, 0, sizeof(fh));
|
memset(&fh, 0, sizeof(fh));
|
||||||
cc.fh = &fh;
|
cc.fh = &fh;
|
||||||
TRY_CODE(switch_ivr_play_file(session, NULL, cbt->file_path, &args));
|
TRY_CODE(switch_ivr_play_file(session, &fh, cbt->file_path, &args));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!*cc.buf && (profile->play_date_announcement == VM_DATE_LAST)) {
|
if (!*cc.buf && (profile->play_date_announcement == VM_DATE_LAST)) {
|
||||||
@ -1924,7 +1924,7 @@ static void voicemail_check_main(switch_core_session_t *session, vm_profile_t *p
|
|||||||
cc.fh = &fh;
|
cc.fh = &fh;
|
||||||
cc.noexit = 1;
|
cc.noexit = 1;
|
||||||
greeting_args.buf = &cc;
|
greeting_args.buf = &cc;
|
||||||
status = switch_ivr_play_file(session, NULL, file_path, &greeting_args);
|
status = switch_ivr_play_file(session, &fh, file_path, &greeting_args);
|
||||||
}
|
}
|
||||||
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
if (status != SWITCH_STATUS_SUCCESS && status != SWITCH_STATUS_BREAK) {
|
||||||
TRY_CODE(switch_ivr_phrase_macro(session, VM_CHOOSE_GREETING_FAIL_MACRO, NULL, NULL, NULL));
|
TRY_CODE(switch_ivr_phrase_macro(session, VM_CHOOSE_GREETING_FAIL_MACRO, NULL, NULL, NULL));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user