[asterisk-users] Japanese voicefiles
Adrian Marsh
Adrian.Marsh at ubiquisys.com
Fri Aug 24 05:39:22 CDT 2012
Ok... I'm baffled..
I took a copy of my machine and put it in a virtual machine, then upgraded the VM to 1.4.44 to experiment, and unknowingly let it install the default US GSM sounds again.
My code runs, but, it still plays the US digits when the debug says the below. You can see its set to JP, and that its picking normal voiceprompts from JP
I tried deleting the 2.* files from sounds to force it to error (and confirm which file its playing), but it doesn't error. SAYDIGITS just skips the numbers it can't find :|
....
[2012-08-24 11:33:31] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:1] SayDigits("SIP/XXX-0000005", "9222") in new stack
[2012-08-24 11:33:31] VERBOSE[18633] logger.c: -- <SIP/XXX-00000005> Playing 'digits/9' (language 'jp')
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:2] NoOp("SIP/XXX-00000005", "LoopCounter is 0") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:3] GotoIf("SIP/XXX-00000005", "0?dialit") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:4] GotoIf("SIP/XXX-00000005", "0?dialit") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:5] GotoIf("SIP/XXX-00000005", "0?dialit") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:6] GotoIf("SIP/XXX-00000005", "0?dialit") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:7] GotoIf("SIP/XXX-00000005", "1?dialit") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Goto (TokyoReception,9222,13)
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- Executing [9222 at TokyoReception:13] Playback("SIP/XXX-00000005", "vm-dialout") in new stack
[2012-08-24 11:33:32] VERBOSE[18633] logger.c: -- <SIP/XXX-00000005> Playing 'vm-dialout' (language 'jp')
[2012-08-24 11:33:34] VERBOSE[18633] logger.c: == Spawn extension (TokyoReception, 9222, 13) exited non-zero on 'SIP/XXX-00000005'
Thanks,
Adrian
-----Original Message-----
From: Adrian Marsh
Sent: 24 August 2012 09:42
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: RE: [asterisk-users] Japanese voicefiles
Hi Chris, Thanks for replying,
I've got it set in the context in extensions.conf:
[TokyoReception]
exten => s,1(TOKYORECEPTION),Answer
exten => s,n,Set(CHANNEL(language)=jp) ; set japanese by default
exten => s,n,SET(LOOP=0)
exten => s,n,SET(LANG=JP)
....
It could be something fixed between 1.4.18 and 1.4.21. Wish I could find the bug ID now... Can you confirm you set the language the same way ?
If you've got files in ..sounds/britishfemale, then how are you setting the sub-folder ? (I thought it would only choose en, fr, jp, etc based on country codes).
If I put a custom vm-dialout.sln file in sounds/jp, then it does play that file, so it seems to only affect the sounds/jp/digits folder (a sub-sub folder with numbers).
Thanks,
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120824/dbd32853/attachment.htm>
More information about the asterisk-users
mailing list