[asterisk-bugs] [Asterisk 0015728]: app_voicemail / vm_intro_de fails to play "digits/1" because it tries to say "digits/1F"

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 17 14:33:32 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15728 
====================================================================== 
Reported By:                macbrody
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15728
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.2.0-beta4 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-08-17 06:57 CDT
Last Modified:              2009-08-17 14:33 CDT
====================================================================== 
Summary:                    app_voicemail / vm_intro_de fails to play "digits/1"
because it tries to say "digits/1F"
Description: 
If there is one new message in your INBOX app_voicemail tries to say
"digits/1F" instead of "digits/1". So it will not tell you the number of
new messages at all.

in apps/app_voicemail the function vm_intro_de starts with:

---
/* GERMAN syntax */
static int vm_intro_de(struct ast_channel *chan,struct vm_state *vms)
{
    /* Introduce messages they have */
    int res;
    res = ast_play_and_wait(chan, "vm-youhave");
    if (!res) {
        if (vms->newmessages) {
            if ((vms->newmessages == 1))
                res = ast_play_and_wait(chan, "digits/1F");
---

The last line does not work for me. Asterisk tries to find a file called
digits/1F. I run asterisk-1.6.2-Beta4 without dahdi drivers and no other
add ons.

The code works if the last line reads:

   res = ast_play_and_wait(chan, "digits/1");



====================================================================== 

---------------------------------------------------------------------- 
 (0109170) tilghman (administrator) - 2009-08-17 14:33
 https://issues.asterisk.org/view.php?id=15728#c109170 
---------------------------------------------------------------------- 
It's not a typo.  The person contributing this wanted the female version of
"1", hence "1F". 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-17 14:33 tilghman       Note Added: 0109170                          
======================================================================




More information about the asterisk-bugs mailing list