[Home]

Summary:ASTERISK-09135: voicemails are not sent to users when the review option is chosen
Reporter:Caio Begotti (caio1982)Labels:
Date Opened:2007-03-28 13:39:09Date Closed:2007-03-28 14:00:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) review_voicemail_CLI.txt
( 1) review_voicemail_error.txt
Description:The attached log shows the following sequence:

1. I left a voicemail message to the peer 5050 (myself)
2. Ended the recording by pressing # then reviewed the message by pressing "2"
3. I've listened to the message then pressed "1" to send it using my local MTA

Acording to my MTA log no mail messages has been sent after that. If I skip the review part and just send the message, then my MTA delivers the voicemail to my e-mail address specified for my extension.

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

Seems that something is actually being recorded in the DB after the error:

# su - postgres -c "psql my_db -c '\lo_list'"
   Large objects
 ID   | Description
-------+-------------
18643 |
18645 |
18647 |  
(3 rows)

But Asterisk reports something different than that:

DEBUG[15858] app_voicemail.c: After vm_authenticate
DEBUG[15858] app_voicemail.c: Before open_mailbox
DEBUG[15858] app.c: Locked path '/var/spool/asterisk/voicemail/default/5050/Old'
DEBUG[15858] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/5050/Old'
DEBUG[15858] app_voicemail.c: Number of old messages: 0
DEBUG[15858] app.c: Locked path '/var/spool/asterisk/voicemail/default/5050/INBOX'
DEBUG[15858] app.c: Unlocked path '/var/spool/asterisk/voicemail/default/5050/INBOX'
DEBUG[15858] app_voicemail.c: Number of new messages: 1

The "review=yes" is set to my peer only. In the general context it's set to "no"  and I think I should mention that we're using the Realtime Static mode in here.
Comments:By: Leif Madsen (lmadsen) 2007-03-28 13:41:25

Is this not a duplicate of 8016?

By: Caio Begotti (caio1982) 2007-03-28 13:50:30

I think so, blitzrage. Should I comment only there and leave this one to be closed? I didn't understand if the patch supplied there is ok for trunk, though.

By: Caio Begotti (caio1982) 2007-03-28 13:52:32

Hmm, the changes are pretty small. I'll test it.
Could you wait just a little bit so that I can do it now?

By: Caio Begotti (caio1982) 2007-03-28 13:57:26

Ok, the patch voice_diff.diff from 8016 (timestamp 10-03-06 18:33) worked fine and solved the problem of this bug. I don't know what would happen to the other situations told in the ticket 8016.

By: Leif Madsen (lmadsen) 2007-03-28 13:58:53

caio1982: Please comment on 8016 with your results, and I'll close this one as a duplicate.

Thanks for testing!!!!

Leif.

By: Leif Madsen (lmadsen) 2007-03-28 14:00:06

Duplicate of 8016. Poster will comment in 8016 re: his testing.