[asterisk-users] Set Language not working!

Douglas Garstang dougmig33 at yahoo.com
Fri Jun 27 13:31:57 CDT 2008


Argh! I have this...

[ct_start2]
exten => _X.,1,Set(LANGUAGE()=mig33/en/allison-tts)
exten => _X.,n,NoOp(${LANGUAGE()})
exten => _X.,n,Answer()
exten => _X.,n,Wait(1)
exten => _X.,n,Playback(/var/lib/asterisk/sounds/mig33/en/allison-tts/please-enter-your-pin)
exten => _X.,n,Playback(please-enter-your-pin)

The first playback works, and the second does not. I get:

    -- Executing Playback("SIP/xxx.201.84.147-09f11b58", "please-enter-your-pin") in new stack
Jun 27 18:28:27 WARNING[31382]: file.c:512 ast_openstream_full: File please-enter-your-pin does not exist in any format
Jun 27 18:28:27 WARNING[31382]: file.c:824 ast_streamfile: Unable to open please-enter-your-pin (format ulaw): No such file or directory
Jun 27 18:28:27 WARNING[31382]: app_playback.c:133 playback_exec: ast_streamfile failed on SIP/xxx.201.84.147-09f11b58 for please-enter-your-pin

The File exists...

[root at pabx002 asterisk]# ls -l /var/lib/asterisk/sounds/mig33/en/allison-tts
total 16
-rw-r--r--  1 asterisk asterisk 13608 Jun 27 18:00 please-enter-your-pin.ulaw

What is wrong here? The call to set the language should cause Asterisk to look for sound files in /var/lib/asterisk/sounds/mig33/en/allison-tts, and the file IS there and IS readable because the first call with the explicit path works.

Asterisk 1.2.

Doug.


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080627/48a7e839/attachment.htm 


More information about the asterisk-users mailing list