MODAPP-225

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12367 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2009-03-03 14:21:26 +00:00
parent 598854328d
commit 57a6fcca47
1 changed files with 2 additions and 0 deletions

View File

@ -2886,6 +2886,8 @@ static switch_status_t voicemail_leave_main(switch_core_session_t *session, cons
args.buf = buf;
args.buflen = sizeof(buf);
switch_ivr_sleep(session, 100, SWITCH_TRUE, NULL);
if (!switch_strlen_zero(greet_path)) {
memset(buf, 0, sizeof(buf));
TRY_CODE(switch_ivr_play_file(session, NULL, greet_path, &args));