[Home]

Summary:ASTERISK-05893: [patch] VMCOUNT() returns 0/1 and not number of messages
Reporter:Mark Monnin (wrmem)Labels:
Date Opened:2005-12-22 15:05:52.000-0600Date Closed:2005-12-22 23:40:27.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) patch.txt
Description:(Small tweak hopefully)

The function hasvoicemail_internal has a "break" in the while loop, causing it to exit after finding one match.   Thus count is either 0 or 1, and not the actual number of messages.

This also changes the behavior of HasVoiceMail (variable is now count instead of 0/1)
Comments:By: Tilghman Lesher (tilghman) 2005-12-22 23:40:14.000-0600

Fixed in 1.2