]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODAPP-225
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 3 Mar 2009 14:21:26 +0000 (14:21 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 3 Mar 2009 14:21:26 +0000 (14:21 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12367 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_voicemail/mod_voicemail.c

index d66e248d04c53202dfb7fa0f9e0b18a12f7960b2..7cff28c268b9f81b51dc9d55d101a4833ae0963a 100644 (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));