[Home]

Summary:ASTERISK-08331: Email notification has blank CIDNAME (should use CIDNUM or an "unknown caller" if empty but doesn't).
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2006-12-11 12:42:54.000-0600Date Closed:2006-12-11 15:35:52.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:According to the voicemail.conf:

; The following definition is very close to the default, but the default shows
; just the CIDNAME, if it is not null, otherwise just the CIDNUM, or "an unknown
; caller", if they are both null.

When using the default voicemail.conf setting (email address setup for my mailbox), my email body reads as follows:

"Just wanted to let you know you were just left a 0:04 long message (number 1)
in mailbox 1001 from , on Monday, December 11, 2006 at 12:54:53 PM so you might
want to check it when you get a chance.  Thanks!"

Notice the caller name and / or id is missing.

But when I uncomment emailbody I get the following:

"just wanted to let you know you were just left a 0:03 long message (number 2)
in mailbox 1001 from "" <613xxxxxxx>, on Monday, December 11, 2006 at 12:58:21 PM, so you might
want to check it when you get a chance.  Thanks!"

As you can see I get both, cidname (which appears to be null), and cidnum (I commented it out).

So it seems the logic in app_voicemail.c is a little off.  Before I upgraded to 1.4 (trunk) everything worked using the defaults.

PB

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

I'm attempting to trace this down and make a patch, but not sure how fast I'll be.
Comments:By: Joshua C. Colp (jcolp) 2006-12-11 15:35:52.000-0600

Fixed in 1.4 as of revision 48391 and trunk as of revision 48392. Thanks!