[Asterisk-Users] CVS Head and SetLanguage

Carlos Chavez cursor at telecomabmex.com
Wed Apr 20 07:46:52 MST 2005


     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




More information about the asterisk-users mailing list