Summary:ASTERISK-00747: [request] Voicemail doesn't properly handle >99 messages
Reporter:denon (denon)Labels:
Date Opened:2004-01-05 13:48:16.000-0600Date Closed:2004-09-25 02:20:06
Versions:Frequency of
Description:I reported this before, thought it was fixed -- guess not.  When a mailbox reaches 99 messages, the 100th won't save.  In fact, it'll just disconnect the user.  I thought this was fixed in voicemail2, but apparently not.
Comments:By: Tilghman Lesher (tilghman) 2004-01-05 22:38:52.000-0600

The key here is MAXMSG, defined at the top of app_voicemail.c to be 100.  Try changing that to 1000 or 10000 and recompile.

By: Brian West (bkw918) 2004-01-05 23:21:16.000-0600

it still shouldn't hang up.. it should say "sorry mailbox full"

By: Tilghman Lesher (tilghman) 2004-01-05 23:31:47.000-0600

It does say that... on the console and in the log.

By: Olle Johansson (oej) 2004-01-06 15:44:02.000-0600

Better play a message to the callee than just disconnect...

By: denon (denon) 2004-01-09 15:59:00.000-0600

*nod* .. every other real PBX I've seen has a "This user's mailbox is full".  We should at least have a +101-style way of adding that msg ourselves, if it's not hard-coded in.

By: Brian West (bkw918) 2004-01-09 16:01:33.000-0600

n+101 is for when a mailbox doesn't exist.  This needs to be written into app_voicemail.

By: Olle Johansson (oej) 2004-01-09 16:18:43.000-0600

Coding suggestion:
Return n+51 if voicemailbox has more than MAXMSG messages.
Recommended allison voice (in Swenglish :-) )
"Sorry, but the user's mailbox can't accept more messages."

Also, add agi script to mail user a message to hurry up and remove messages.

By: Brian West (bkw918) 2004-01-11 17:34:05.000-0600

This is going to be fixed when we get the recording back from allison.  Its a minor code tweak.  Shouldn't take long.

By: Brian West (bkw918) 2004-01-12 18:14:19.000-0600

Fixed in CVS.