]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_voicemail: Allow to forward a message or send it via email key during the playbac...
authorMarc Olivier Chouinard <mochouinard@moctel.com>
Fri, 10 Sep 2010 03:40:14 +0000 (23:40 -0400)
committerMarc Olivier Chouinard <mochouinard@moctel.com>
Fri, 10 Sep 2010 03:40:14 +0000 (23:40 -0400)
src/mod/applications/mod_voicemail/mod_voicemail.c

index c6837129227da2fa95977009b5a54d72ef829013..e89bda47f166a0c5a3b91f2a8bd43b918152d700 100644 (file)
@@ -824,7 +824,8 @@ static switch_status_t control_playback(switch_core_session_t *session, void *in
                        if (!cc->noexit
                                && (dtmf->digit == *cc->profile->delete_file_key || dtmf->digit == *cc->profile->save_file_key
                                        || dtmf->digit == *cc->profile->prev_msg_key || dtmf->digit == *cc->profile->next_msg_key
-                                       || dtmf->digit == *cc->profile->terminator_key || dtmf->digit == *cc->profile->skip_info_key)) {
+                                       || dtmf->digit == *cc->profile->terminator_key || dtmf->digit == *cc->profile->skip_info_key
+                                       || dtmf->digit == *cc->profile->email_key || dtmf->digit == *cc->profile->forward_key)) {
                                *cc->buf = dtmf->digit;
                                return SWITCH_STATUS_BREAK;
                        }