[Home]

Summary:ASTERISK-00511: VM2 plays "goodbye" file twice in a row on failed login attempt
Reporter:Leif Madsen (lmadsen)Labels:
Date Opened:2003-11-10 13:02:50.000-0600Date Closed:2004-09-25 02:49:15
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_voicemail2.c.diff
( 1) app_voicemail2.c-vm-goodbye-doubletake.diff.txt
Description:When I login to my VM2 box 3 times incorrectly, the "goodbye" file is played twice before hanging up.

****** ADDITIONAL INFORMATION ******

I tried to get someone else to try and reproduce this, but couldn't get any volunteers.  I checked my extensions.conf and it doesn't appear that it could do this.  I am using the CVS from November 9th, 2003.
Comments:By: Leif Madsen (lmadsen) 2003-11-10 13:07:49.000-0600

Tekati tried this and verified that he also experiences the same behavior.

By: screel (screel) 2003-11-10 13:35:09.000-0600

This is reported already under bug 267

By: Leif Madsen (lmadsen) 2003-11-10 13:42:22.000-0600

I did not notice, it's still a bug in the latest CVS though.  I'll not bother attaching what I did then because I'm sure someone more knowledgable about programming can fix it better than me (I simply commented out the res = play_and_wait(chan, "vm-goodbye"); line in app_voicemail2.c).  Line 2606 I believe.

By: Leif Madsen (lmadsen) 2003-11-10 13:44:44.000-0600

bah, I uploaded it anyways, someone can tell me what I did wrong :)

By: Brian West (bkw918) 2003-11-10 16:48:43.000-0600

I have attached the proper fix. This was also attached to bug 267

edited on: 11-10-03 16:49

By: tekati (tekati) 2003-11-10 17:16:41.000-0600

vm-goodbye-doubletake.diff
This patch works as promised.  Gets rid of the double goodbye.

By: Mark Spencer (markster) 2003-11-11 20:29:12.000-0600

Fixed in CVS