Summary: | ASTERISK-01968: Bad output in ast_monitor for context of voicemail in MessageWaiting report | ||
Reporter: | lvazquez (lvazquez) | Labels: | |
Date Opened: | 2004-07-08 08:45:36 | Date Closed: | 2008-01-15 15:01:58.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_voicemail |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) app_voicemail.c-vmu_context.patch | |
Description: | The MessageWainting event generated after calling Voicemail gives the correct mailbox username but trash in the context part (something like "101@~&x#" ) The problem is at the end of vm_execmain() where the record field vmu->context is used in a call to manager_event(EVENT_FLAG_CALL, "MessageWaiting",...) after vmu has been freed with free_user(vmu); a few lines ago ****** ADDITIONAL INFORMATION ****** Here is a patch that fix it by calling free_user(vmu); after using vmu->context when reporting the "MessageWaiting" event. | ||
Comments: | By: Mark Spencer (markster) 2004-07-08 12:38:31 Fixed in CVS (patch didn't apply) By: Digium Subversion (svnbot) 2008-01-15 15:01:58.000-0600 Repository: asterisk Revision: 3400 U trunk/apps/app_voicemail.c ------------------------------------------------------------------------ r3400 | markster | 2008-01-15 15:01:57 -0600 (Tue, 15 Jan 2008) | 2 lines Don't free until after externnotify (bug ASTERISK-1968) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3400 |