[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 18:10:29 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15728 
====================================================================== 
Reported By:                macbrody
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   15728
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     feedback
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 18:10 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");



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

---------------------------------------------------------------------- 
 (0109190) macbrody (reporter) - 2009-08-17 18:10
 https://issues.asterisk.org/view.php?id=15728#c109190 
---------------------------------------------------------------------- 
Concerning the policy: I don't want to change anything.

I only wanted the default distribution to run out of the box. The way
app_voicemail currently is, it won't work out of the box for the German 
language. It only works if you have voice files ending in F, right?

It hasn't been like this in earlier versions, there it worked out of the
box with the same samples.

btw. in the Spanish language I saw an M at the end. e.g. digits/1M

Wouldn't it be better to have a rule concerning the default (M/F)? 
Otherwise we end up in a total mixture of M/F depending on the language. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-17 18:10 macbrody       Note Added: 0109190                          
======================================================================




More information about the asterisk-bugs mailing list