[Home]

Summary:ASTERISK-07167: [patch] pressing 0 while leaving a voice mail and waiting causes msgXXXX.txt file to be left behind.
Reporter:Asterisk Bugs Mailing List (asterisk-bugs)Labels:
Date Opened:2006-06-14 11:13:02Date Closed:2006-06-19 13:11:34
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20060616__bug7357.diff.txt
( 1) patch.log
Description:When a caller leaves a voice mail and dials '0' for the operator, then does not respond to the 'Press 1 to keep the message' prompt, the caller jumps to the 'o' priority.  However the msgXXXX.txt file is left behind still.  This was reported in bug ASTERISK-6995 and ASTERISK-6940 but doesn't seem to be fixed in 1.2.9.1.  Any ideas?

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

Here is the call log:

2006-06-14 11:08:22 VERBOSE[27412] logger.c:     -- Playing 'vm-intro' (language 'en')
2006-06-14 11:08:28 VERBOSE[27412] logger.c:     -- Playing 'beep' (language 'en')
2006-06-14 11:08:28 VERBOSE[27412] logger.c:     -- Recording the message
2006-06-14 11:08:28 VERBOSE[27412] logger.c:     -- x=0, open writing:  /var/spool/asterisk/voicemail/itfreedom-internal/4962/tmp/N07hIG format: wav49, 0xa1ac838
2006-06-14 11:08:28 VERBOSE[27412] logger.c:     -- x=1, open writing:  /var/spool/asterisk/voicemail/itfreedom-internal/4962/tmp/N07hIG format: gsm, 0xa238c30
2006-06-14 11:08:28 VERBOSE[27412] logger.c:     -- x=2, open writing:  /var/spool/asterisk/voicemail/itfreedom-internal/4962/tmp/N07hIG format: wav, 0xa147f28
2006-06-14 11:08:34 VERBOSE[27412] logger.c:     -- User cancelled message by pressing 0
2006-06-14 11:08:34 VERBOSE[27412] logger.c:     -- Playing 'vm-saveoper' (language 'en')
2006-06-14 11:08:47 VERBOSE[27412] logger.c:     -- Playing 'vm-deleted' (language 'en')
2006-06-14 11:08:48 WARNING[27412] app_voicemail.c: Failed to open log file: /var/spool/asterisk/voicemail/itfreedom-internal/4962/INBOX/msg0000.WAV: No such file or directory
2006-06-14 11:08:48 VERBOSE[27412] logger.c:     -- Playing 'transfer' (language 'en')
Comments:By: Tilghman Lesher (tilghman) 2006-06-15 01:14:21

Please apply this patch to check that it solves your issue.

By: Aaron Daniel (adaniel) 2006-06-15 16:39:21

Just tested this out, it's not working for us.  The txt file remains after the audio file has been deleted.

By: Asterisk Bugs Mailing List (asterisk-bugs) 2006-06-15 17:16:13

Not working for me either.  Should I be applying this against 1.2.9.1 or a different branch?  I will have more time to trouble shoot this evening.  Sorry for the long delay.

By: Tilghman Lesher (tilghman) 2006-06-16 23:15:10

Patch updated.

By: Tilghman Lesher (tilghman) 2006-06-18 13:00:48

To be clear, I updated the patch because I found a problem with it.  Please retest.

By: Asterisk Bugs Mailing List (asterisk-bugs) 2006-06-19 09:57:46

This one works for me; however one chunk of the patch fails.  Looks like I may be patching the wrong version?  I have attached a log.  Thanks for the help.

By: Aaron Daniel (adaniel) 2006-06-19 10:11:00

Installed the patch and tested, seems to be working for us as well.  Didn't have any problems patching the file.

By: Tilghman Lesher (tilghman) 2006-06-19 13:11:34

Committed to 1.2; merged to trunk.