Summary:ASTERISK-07450: Bug in Dutch syntax!
Reporter:Telecom & Internet Integrated Solutions (teleweb)Labels:
Date Opened:2006-08-02 23:05:01Date Closed:2006-08-03 00:25:11
Versions:Frequency of
Description:There is a very obvious bug in the vm_intro_nl function in app_voicemail.c!
I'm surprised to see that it still hasn't been corrected, since you don't even have to understand Dutch to see that the code is clearly wrong.
And it resulted in VERY strange voicemail prompts. :-)

Here is a fragment of the code:
if (!res) {
if (vms->newmessages) {
res = say_and_wait(chan, vms->newmessages, chan->language);
if (!res) {
if (vms->oldmessages == 1)
res = ast_play_and_wait(chan, "vm-INBOXs");

Of course it should be:
if (vms->newmessages == 1)

I'm just a normal Asterisk user, and don't know anything about C programming, so I'm quite happy that I managed to find this bug in the code myself, and correct it :-)
Comments:By: Tilghman Lesher (tilghman) 2006-08-03 00:25:11

Fixed in 1.2; merged to trunk.