Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Set Language not working!


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
dougmig33 at yahoo.com
Guest





PostPosted: Fri Jun 27, 2008 1:31 pm    Post subject: [asterisk-users] Set Language not working! Reply with quote

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
Back to top
tilghman at mail.jeffa...
Guest





PostPosted: Fri Jun 27, 2008 2:07 pm    Post subject: [asterisk-users] Set Language not working! Reply with quote

On Friday 27 June 2008 13:31:57 Douglas Garstang wrote:
Quote:
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.

In 1.2, language has a maximum length of 20 characters, including the
terminating NULL. You have one character too many.

--
Tilghman
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services