[Home]

Summary:ASTERISK-00210: Forwarded voicemail messages don't trigger an "Event: MessageWaiting" in Manager
Reporter:anachron (anachron)Labels:
Date Opened:2003-09-03 05:13:11Date Closed:2008-01-15 14:33:48.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When a voicemail message comes in from an outside line, every message is followed by an Event: MessageWaiting notification in Manager. (I use this as a trigger to light/extinguish MWI's on PBX stations.)

When a user listens to a voicemail message and then forwards it to someone else, the message lands in their INBOX like any other new message, but no Event: MessageWaiting signal is sent to Manager.



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

* CVS build 8/29/03
Comments:By: anachron (anachron) 2003-09-03 05:25:05

Gah. It's 3 in the morning, and the above report is damnably unclear. Let me restate:

- When a voicemail message is left via the usual route (SIP/ZAP/etc. incoming call), the Asterisk Manager generates and displays an Event: MessageWaiting.

- When a user calls in, checks voicemail, and forwards a voicemail message to another voicemail user's box, Asterisk Manager does not generate the Event: MessageWaiting.

My contention is that it should; even though the message is not "brand new," it's certainly new to the person who's getting the forwarded message. In order to notify them (via MWI light on a PBX station in my case), Manager needs to generate an Event: MessageWaiting in this case.

By: James Golovich (jamesgolovich) 2003-09-03 10:28:01

It should be easy to make this work the way you expect.  Actually when a voicemail is checked via VoicemailMain the MessageWaiting event is generated every time and its up to the user to check the value of the Waiting variable to see if MWI should be lit or not.

So it should be very easy to have the forward voicemail code generate the same event with the destination mailbox.

If I get a chance today I'll come up with a patch for this and post it here

By: Mark Spencer (markster) 2003-09-03 23:12:25

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 14:33:48.000-0600

Repository: asterisk
Revision: 1471

U   trunk/apps/app_voicemail2.c

------------------------------------------------------------------------
r1471 | markster | 2008-01-15 14:33:48 -0600 (Tue, 15 Jan 2008) | 2 lines

Send message waiting event on forward (bug ASTERISK-210)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=1471