cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
478
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: vinh nguyen on 21-11-2011 08:45:47 PM
I'm having a little trouble setting up multiple languages on my gw. I set up the paramspace for my application as below:
 
application
service test tftp://192.168.1.3/test1.tcl
  paramspace spanish index 2
  paramspace english language en
  paramspace english index 1
  paramspace spanish language sp
  paramspace english location tftp://192.168.1.3/
  paramspace spanish location tftp://192.168.1.3/sp
 
When i tried to switch between the 2 prefixes in my TCL script via "infotag set med_language prefix sp", it generated error (unkown prefix).
 
Can anyone help me with this? some examples would be great.

Subject: RE: multiple language IVR
Replied by: Anusha Kannappan on 22-11-2011 02:42:01 AM
Hi

Please try either of the following and see whether it resolves your issue.

infotag set med_language prefix sp
infotag set med_location sp 1 tftp://192.168.1.3/sp

(or)

infotag set med_language_map 1 sp
infotag set med_location sp 1 tftp://192.168.1.3/sp
infotag set med_language 1

Thanks,
Anusha

Subject: RE: multiple language IVR
Replied by: vinh nguyen on 09-12-2012 07:14:40 PM
I just wanted to know. when i do "media play %10", some translaiton is happening here. what I dont understand is where the IOS get the script to do that? I did't provide a script to do so.
 
And how will the script know what to do if i have a different language?

Subject: RE: multiple language IVR
Replied by: Raghavendra Gutty Veeranagappa on 11-12-2012 01:18:46 AM
Hi,
 
"infotag set med_language [index | prefix prefix]" sets the current active language for media playout. you can use this command to change the language. please refer programming guide for more information.
 
Thanks,
Raghavendra

Subject: RE: multiple language IVR
Replied by: vinh nguyen on 11-12-2012 04:20:54 PM
Raghavendra Gutty Veeranagappa:
Hi,
 
"infotag set med_language [index | prefix prefix]" sets the current active language for media playout. you can use this command to change the language. please refer programming guide for more information.
 
Thanks,
Raghavendra

 
I did so. but what i'm facing is when i do "media play %a10", nothing is played out. That is why i wanted to understand where the translation actually happens.

Subject: RE: multiple language IVR
Replied by: vinh nguyen on 11-12-2012 04:23:18 PM
I forgot to mention that i was looking at the debug, i didn't see the system was complainging about the missing ivr prompts. so clearly, after i do "infotag set med_language [index | prefix prefix]", the IOS doesn't seem to know what to do with "media play %a10".

Subject: RE: multiple language IVR
Replied by: Yaw-Ming Chen on 11-12-2012 05:05:01 PM
vinh nguyen:
I'm having a little trouble setting up multiple languages on my gw. I set up the paramspace for my application as below:   application service test tftp://192.168.1.3/test1.tcl   paramspace spanish index 2   paramspace english language en   paramspace english index 1   paramspace spanish language sp   paramspace english location tftp://192.168.1.3/   paramspace spanish location tftp://192.168.1.3/sp   When i tried to switch between the 2 prefixes in my TCL script via "infotag set med_language prefix sp", it generated error (unkown prefix).   Can anyone help me with this? some examples would be great.

 
I think you need audio files

Subject: RE: multiple language IVR
Replied by: Yaw-Ming Chen on 11-12-2012 05:35:35 PM
By the way did you confgure "prefix" ?
  param welcome-prompt _bacd_welcome.au
  paramspace english index 1
  paramspace english prefix en
  paramspace english location tftp://tftp/au/
 

Subject: RE: multiple language IVR
Replied by: vinh nguyen on 11-12-2012 09:50:52 PM
my mistake that was my typo. that is exactly what I have....

The funny thing is english and french is working fine (media play %a10). when i added spanish, i couldn't get "media play %a10" to work. The audio files are there. This is why im confused what exactly happens when tcl sees "%a10"? how does it translate this into IVR?

What could be wrong here?

Subject: RE: multiple language IVR
Replied by: vinh nguyen on 11-12-2012 09:58:56 PM
I see it now
"•<em class="cArgument">language—Name of the language package being configured. There are three built-in language packages: Chinese, English, and Spanish. Other languages may be supported by use a of Tcl language script."

so this is why. i have configured these 3 languages by luck and they all worked without the need of any extra translation script.

Subject: RE: multiple language IVR
Replied by: vinh nguyen on 11-12-2012 08:30:30 PM
here's my configuration:
  paramspace english index 1
  paramspace english language en
  paramspace english location tftp://tftp/en/
  paramspace english index 2
  paramspace english language fr
  paramspace english location tftp://tftp/fr/
  paramspace english index 3
  paramspace english language sp
  paramspace english location tftp://tftp/sp/
 
The funny thing is english and french is working fine (media play %a10). when i added spanish, i couldn't get "media play %a10" to work. The audio files are there. This is why im confused what exactly happens when tcl sees "%a10"? how does it translate this into IVR?
what is the difference between paramspace english language sp and paramspace english prefix sp?
 

Subject: RE: multiple language IVR
Replied by: Yaw-Ming Chen on 11-12-2012 09:35:26 PM
Sorry. There is no "paramspace english prefix sp".  It not for this.<strong id="aui_3_4_0_1_1250">

I think the confiuration should be:
  paramspace english index 1
  paramspace english language en
  paramspace english location tftp://tftp/en/
  paramspace french index 2
  paramspace french language fr
  paramspace french location tftp://tftp/fr/
  paramspace spanish index 3
  paramspace spanish language sp
  paramspace spanish location tftp://tftp/sp/
 
http://www.cisco.com/en/US/docs/ios/voice/ivr/configuration/guide/tcl_c.html

Subject: RE: multiple language IVR
Replied by: Yaw-Ming Chen on 11-12-2012 10:09:28 PM
do "sh call language voice" see if there is anything wrong.

Script Name : spanish
       URL  : builtin:package_spanish.C
       Type : Package
       State: Registered
       Life : Builtin
       Exec Instances: 0

  Parameters registered under spanish namespace:
  name                 type  default value   description
  language             S     sp              The language code of this language
  index                S     -1              The index of this language
  location             S     flash:          The URI of the audio files for this language
  prefix               S     sp              The prefix of this language


 

Subject: RE: multiple language IVR
Replied by: Yaw-Ming Chen on 11-12-2012 10:23:36 PM
We can include some more not builtin languages using language package CLI as below,
 
(config)#application&#8232;
(config-app)#package cantonese builtin:lang_package     <---- type in  "builtin:lang_package" exactly
&#8232;(config-app-param)#end
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links