[Home]

Summary:ASTERISK-02436: [patch] Voicemail login causes change to invalid/corrupt language code
Reporter:Rob Gagnon (rgagnon)Labels:
Date Opened:2004-09-20 10:31:58Date Closed:2008-01-15 15:07:53.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_voicemail.c.patch.txt
Description:With verbose level of at least 2 (I used asterisk -rvvvv), you can see during execution of vm_execmain() that the language for the ast_vm_user struct is filled with junk in memory, and thus shows a bad language code selection when ast_streamfile() logs "-- Playing "xxxx" (language 'xx')"

Solution is simple:  Initialize the vmus struct in vm_execmain.

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

[disclaimed]
Comments:By: Mark Spencer (markster) 2004-09-20 17:12:20

Fixed in CVS

By: Digium Subversion (svnbot) 2008-01-15 15:07:53.000-0600

Repository: asterisk
Revision: 3812

U   trunk/apps/app_voicemail.c

------------------------------------------------------------------------
r3812 | markster | 2008-01-15 15:07:53 -0600 (Tue, 15 Jan 2008) | 2 lines

Fixup vm user struct (bug ASTERISK-2436)

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

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