[cisco-voip] Quick question regarding prompt variables CCX 10.5

Erick Wellnitz ewellnitzvoip at gmail.com
Wed Oct 8 14:43:54 EDT 2014


I'm working on someone else's script today and was wondering because they
duplicated logic for each language.

So I'm clear, I can still do it the following way.

promptVariableString = "P[" + langVariable + "/promptname.wav]"
promptVariablePrompt = promptVariableString



On Wed, Oct 8, 2014 at 12:24 PM, Brian Meade <bmeade90 at vt.edu> wrote:

> That should work if you have the prompts stored in the EN and SP folders.
> What issue are you seeing?
>
> On Wed, Oct 8, 2014 at 1:24 PM, Erick Wellnitz <ewellnitzvoip at gmail.com>
> wrote:
>
>> Been a while since I have had to do much with CCX.
>>
>> I remember back in the day we could set up some string variables,
>> concatenate them and have a nice clean way to cut our script in half when
>> doing two different languages.
>>
>> For instance:
>> 1 - English (set language string to EN)
>> 2 - Spanish (set language string to SP)
>>
>> Then we could concatenate EN + "/" + promptname.wav
>>
>> There must be a way that I'm just not seeing.
>>
>> Any advice would be great!
>>
>> Thanks!
>>
>> _______________________________________________
>> cisco-voip mailing list
>> cisco-voip at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/cisco-voip
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20141008/5ca5772c/attachment.html>


More information about the cisco-voip mailing list