]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
use the correct repeat key to replay messages
authorBrian West <brian@freeswitch.org>
Wed, 26 Jun 2013 20:17:41 +0000 (15:17 -0500)
committerBrian West <brian@freeswitch.org>
Wed, 26 Jun 2013 20:17:56 +0000 (15:17 -0500)
src/mod/applications/mod_voicemail/mod_voicemail.c

index 6ad806ac003ad3950cf667ec15e05f4a98c10db2..83bb8eaf23cf6af0d428b732cc8ef5c97160af84 100644 (file)
@@ -1596,7 +1596,7 @@ static switch_status_t listen_file(switch_core_session_t *session, vm_profile_t
                
                args.input_callback = cancel_on_dtmf;
                
-               switch_snprintf(key_buf, sizeof(key_buf), "%s:%s:%s:%s:%s:%s%s%s", profile->listen_file_key, profile->save_file_key,
+               switch_snprintf(key_buf, sizeof(key_buf), "%s:%s:%s:%s:%s:%s%s%s", profile->repeat_msg_key, profile->save_file_key,
                                                profile->delete_file_key, profile->email_key, profile->callback_key,
                                                profile->forward_key, cbt->email ? ":" : "", cbt->email ? cbt->email : "");