[Home]

Summary:ASTERISK-00860: voicemail hangs up when saving to a Cust{1,2,3,4,5} mailbox
Reporter:Michael Labuschke (zigman)Labels:
Date Opened:2004-01-16 23:29:13.000-0600Date Closed:2004-09-25 02:20:05
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) vm-Cust.tar.gz
Description:when saving a msg to a mailbox for which there is no vm-.gsm file.. vm hangsup
to reproduce
login to vm
press 9 to save msg
press any digit from 5 to 9 ... hangup

and its saving the msg to /var/spool/asterisk/vm/CONTEX/EXT/Cust{1,2,3,4,5}/


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

attached patch fixes it
Comments:By: Brian West (bkw918) 2004-01-17 22:40:56.000-0600

vm-Cust1.gsm = "Folder 5"
vm-Cust2.gsm = "Folder 6"
vm-Cust3.gsm = "Folder 7"
vm-Cust4.gsm = "Folder 8"
vm-Cust5.gsm = "Folder 9"

This is how you fix this! :P  Or check for file existance with ast_fileexists

This seems to be the best since you have folder 5 thru 9 now and it will even say so.

bkw

By: Michael Labuschke (zigman) 2004-01-18 10:51:20.000-0600

it does not tell me the names of the other folder.

in file app_voicemail.c
in function get_folder
        for (x = start; x< 5; x++) {
it only says the first 5 folder names..

what i wanted to achive is to define the folders in the mbox function and have the get_folder and get_folder2 check that .. so once you add another vm folder you do not have to edit 3 places in the source code..
its prolly best to use both .. the patch and the gsm files

By: Brian West (bkw918) 2004-01-18 20:19:37.000-0600

To change the folder names just record them and put them in place... thats it but they don't need to be removed because the sound files don't exist it should be generic and you can record over them if need be.  I will have jtodd put some foldernames on his next allison run.. can you think of a list and we can use those also.

bkw

By: Brian West (bkw918) 2004-01-18 20:29:03.000-0600

Added to cvs