[Home]

Summary:ASTERISK-11764: [patch] Voicemail accepts an invalid mailbox as valid when using realtime
Reporter:jmls (jmls)Labels:
Date Opened:2008-04-01 05:10:56Date Closed:2008-04-01 11:42:01
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 12347.patch
Description:When prompted to enter a mailbox number, an invalid mailbox is allowed without a password the second time you are prompted.

I think that this is because the *var variable is not defined as NULL.

patch attached that fixes the problem for me.

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

steps to reproduce: (using mailbox 66 which is invalid as an example)

Call VoiceMailMain()
"mailbox" 66#
"password" 00#
"login incorrect"
"mailbox" 66#
"you have no messages"
Comments:By: jmls (jmls) 2008-04-01 05:14:53

I suspect that the problem also exists in find_user_realtime_imapuser as well. new patch uploaded

By: Tilghman Lesher (tilghman) 2008-04-01 09:52:13

I don't see how this patch fixes the problem, and when I use my contributed dbsep.cgi script as the backend to res_config_curl, I cannot reproduce the problem.

By: jmls (jmls) 2008-04-01 11:42:01

using older version of res_config_curl. Updated to the unofficial backport (http://svncommunity.digium.com/svn/tilghman/branches/1.4/res_config_curl.c) and all's ok. Sorry for the noise