[asterisk-bugs] [Asterisk 0011075]: Set CHANNEL(language)=es not changing spanish digit path

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Oct 24 23:35:29 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=11075 
====================================================================== 
Reported By:                bswenson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   11075
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.13  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             10-23-2007 21:44 CDT
Last Modified:              10-24-2007 23:35 CDT
====================================================================== 
Summary:                    Set CHANNEL(language)=es  not changing spanish digit
path
Description: 
Using Set(CHANNEL(language)=es) then using SayNumber application errors in
spanish (and maybe other langs) due to an incorrect path setting. Basically
digits/200 rather than es/digits/200 is trying to be played. I have been
able to reproduce this error in both 1.4.11 and 1.4.13 source installations
on Debian etch. Here are some dialplan snippets and verbose messages for
further verification:

exten => 8021,1,Set(CHANNEL(language)=es)
exten => 8021,n,SayNumber(21)
exten => 8021,n,SayNumber(22)
exten => 8021,n,SayNumber(23)
exten => 8021,n,SayNumber(24)
exten => 8021,n,SayNumber(25)
exten => 8021,n,SayNumber(26)
exten => 8021,n,SayNumber(27)
exten => 8021,n,SayNumber(28)
exten => 8021,n,SayNumber(29)
exten => 8021,n,SayNumber(30)
exten => 8021,n,SayNumber(31)
exten => 8021,n,SayNumber(200)
exten => 8021,n,SayNumber(300)
exten => 8021,n,SayNumber(400)
exten => 8021,n,SayNumber(500)
exten => 8021,n,SayNumber(600)
exten => 8021,n,SayNumber(700)
exten => 8021,n,SayNumber(800)
exten => 8021,n,SayNumber(900)
exten => 8021,n,Hangup


##################
# VERBOSE CONSOLE
##################

    -- Executing [8021 at default:1] Set("SIP/7000-008104a0",
"CHANNEL(language)=es") in new stack
    -- Executing [8021 at default:2] SayNumber("SIP/7000-008104a0", "21") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/21 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/21 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:3] SayNumber("SIP/7000-008104a0", "22") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/22 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/22 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:4] SayNumber("SIP/7000-008104a0", "23") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/23 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/23 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:5] SayNumber("SIP/7000-008104a0", "24") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/24 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/24 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:6] SayNumber("SIP/7000-008104a0", "25") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/25 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/25 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:7] SayNumber("SIP/7000-008104a0", "26") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/26 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/26 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:8] SayNumber("SIP/7000-008104a0", "27") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/27 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/27 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:9] SayNumber("SIP/7000-008104a0", "28") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/28 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/28 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:10] SayNumber("SIP/7000-008104a0", "29") in
new stack
[Oct 24 02:53:44] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/29 does not exist in any format
[Oct 24 02:53:44] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/29 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:11] SayNumber("SIP/7000-008104a0", "30") in
new stack
    -- <SIP/7000-008104a0> Playing 'digits/30' (language 'es')
    -- Executing [8021 at default:12] SayNumber("SIP/7000-008104a0", "31") in
new stack
    -- <SIP/7000-008104a0> Playing 'digits/30' (language 'es')
[Oct 24 02:53:45] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/and does not exist in any format
[Oct 24 02:53:45] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/and (format 0x4 (ulaw)): No such file or directory
    -- <SIP/7000-008104a0> Playing 'digits/1' (language 'es')
    -- Executing [8021 at default:13] SayNumber("SIP/7000-008104a0", "200")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/200 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/200 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:14] SayNumber("SIP/7000-008104a0", "300")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/300 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/300 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:15] SayNumber("SIP/7000-008104a0", "400")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/400 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/400 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:16] SayNumber("SIP/7000-008104a0", "500")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/500 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/500 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:17] SayNumber("SIP/7000-008104a0", "600")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/600 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/600 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:18] SayNumber("SIP/7000-008104a0", "700")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/700 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/700 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:19] SayNumber("SIP/7000-008104a0", "800")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/800 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/800 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:20] SayNumber("SIP/7000-008104a0", "900")
in new stack
[Oct 24 02:53:46] WARNING[24695]: file.c:563 ast_openstream_full: File
digits/900 does not exist in any format
[Oct 24 02:53:46] WARNING[24695]: file.c:866 ast_streamfile: Unable to
open digits/900 (format 0x4 (ulaw)): No such file or directory
    -- Executing [8021 at default:21] Hangup("SIP/7000-008104a0", "") in new
stack


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

---------------------------------------------------------------------- 
 Corydon76 - 10-24-07 23:35  
---------------------------------------------------------------------- 
That would be because the correct path for es sounds is digits/es/1, not
es/digits/1. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-24-07 23:35  Corydon76      Note Added: 0072487                          
======================================================================




More information about the asterisk-bugs mailing list