From: Marc Olivier Chouinard Date: Fri, 10 Sep 2010 03:40:14 +0000 (-0400) Subject: mod_voicemail: Allow to forward a message or send it via email key during the playbac... X-Git-Tag: v1.2-rc1~351 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=83aeda7956943bff4556202dc182d59b8e96a83a;p=thirdparty%2Ffreeswitch.git mod_voicemail: Allow to forward a message or send it via email key during the playback of the recording, not just when the menu is playing. --- diff --git a/src/mod/applications/mod_voicemail/mod_voicemail.c b/src/mod/applications/mod_voicemail/mod_voicemail.c index c683712922..e89bda47f1 100644 --- a/src/mod/applications/mod_voicemail/mod_voicemail.c +++ b/src/mod/applications/mod_voicemail/mod_voicemail.c @@ -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; }