From: Tilghman Lesher Date: Thu, 15 Jun 2006 12:40:10 +0000 (+0000) Subject: VoicemailMain exits on any key, when the language is set to Italian, instead of X-Git-Tag: 1.2.10~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2159afd1ae94c919d82eb8f2e4e788b367919de8;p=thirdparty%2Fasterisk.git VoicemailMain exits on any key, when the language is set to Italian, instead of properly handling the key (issue 7353). git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34242 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index c08a563e8e..42ccef3c6d 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -4121,7 +4121,7 @@ static int vm_intro_it(struct ast_channel *chan, struct vm_state *vms) ast_play_and_wait(chan, "vm-vecchi") || ast_play_and_wait(chan, "vm-messages"); } - return res ? -1 : 0; + return res; } /* SWEDISH syntax */