Summary:ASTERISK-12171: Voicemail goes into an endless loop when wrong option is choosen under "Mail box options"
Reporter:Loic Didelot (voipgate)Labels:
Date Opened:2008-06-11 01:39:17Date Closed:2011-06-07 14:03:14
Versions:Frequency of
Description:When I login to my voicemail, then I hit 0 for "Mailbox options". In the next step Allison tells me what I can do:
1 - unavailable message
2 - busy message
3 - record name
4 - temporary greeting

When I hit a digit that is not defined 6-9 and # the voicemail application will stop responding. Even after I hangup my phone the channel will not close.


I am not a C coder but I needed a solution so I dared to open app_voicemail.c and found function vm_options() around line 6037. Then I put some asterisk verbose output into the 'default' case of the switch statement. Looks like the whole thing goes into an endless loop.

A quick workaround for me was to put this into the code. I know its not a good solution but at least I can use voicemail now.

               case '6':
                    cmd = 't';
               case '7':
                       cmd = 't';
               case '8':
                       cmd = 't';
               case '9':
                       cmd = 't';
               case '#':
                       cmd = 't';
Comments:By: Tilghman Lesher (tilghman) 2008-06-11 11:46:10

Already fixed in revision 112068.