Asterisk
  1. Asterisk
  2. ASTERISK-2436

[patch] Voicemail login causes change to invalid/corrupt language code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Severity: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Target Release Version/s: None
    • Labels:
      None
    • Mantis ID:
      2472
    • Regression:
      No

      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]

        Activity

        Hide
        Mark Spencer added a comment -

        Fixed in CVS

        Show
        Mark Spencer added a comment - Fixed in CVS
        Hide
        Digium Subversion added a comment -

        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

        Show
        Digium Subversion added a comment - 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

          People

          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development