Carlos,

        Change one line to prepend es to the filename, (ie es/cerrado). See if 
that works. It may be a simple fix where the language support is broken as far 
as paths go.

If is works please report it as a bug on the Bug Tracker. http:/bugs.digium.com

Please include as much info as you can.

Relevent snippets from:

Extensions.conf
Console output
And if you can 'ls -l' of "asteriskdir"/sounds/es/cerrado.gsm

 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Carlos Chavez
Sent: Wednesday, April 20, 2005 10:47 AM
To: Asterisk
Subject: [Asterisk-Users] CVS Head and SetLanguage

     I upgraded to CVS-HEAD-04/20/05-09:25:13 yesterday and I am now having 
problems because Asterisk is not setting the language properly.  My server runs 
in Spanish so I use the SetLanguage option so my prompts are read from the "es" 
directory inside the sounds directory.  But now for some reason * is not 
finding my spanish prompts:

    -- Starting simple switch on 'Zap/2-1'
    -- Executing Wait("Zap/2-1", "2") in new stack
    -- Executing Answer("Zap/2-1", "") in new stack
    -- Executing ResponseTimeout("Zap/2-1", "5") in new stack
    -- Set Response Timeout to 5
    -- Executing SetLanguage("Zap/2-1", "es") in new stack
    -- Executing GotoIfTime("Zap/2-1", "10:00-18:00|mon-fri|*|*?abierto|s|1")
in new stack
    -- Executing Wait("Zap/2-1", "2") in new stack
    -- Executing BackGround("Zap/2-1", "cerrado") in new stack Apr 20 09:29:27 
WARNING[26799]: file.c:489 ast_openstream_full: File cerrado does not exist in 
any format Apr 20 09:29:27 WARNING[26799]: file.c:793 ast_streamfile: Unable to 
open cerrado (format unknown): No such file or directory Apr 20 09:29:27 
WARNING[26799]: pbx.c:5600 pbx_builtin_background:
ast_streamfile failed on Zap/2-1 for cerrado
    -- Executing BackGround("Zap/2-1", "bienvenida") in new stack
    -- Playing 'bienvenida' (language 'default')

     As you can see I set the language but when it tries to play the prompt it 
is not using the proper one.  This was working until the last CVS I was using 
which was from the first week of April.  Anyone know what may be happening?

--
Carlos Chavez
Director de Tecnología
Telecomunicaciones Abiertas de México S.A. de C.V.
Tel: +52-55-91169161 Ext 2001

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to