[cisco-voip] Quick question regarding prompt variables CCX 10.5
Erick Wellnitz
ewellnitzvoip at gmail.com
Wed Oct 8 14:55:50 EDT 2014
I get that everyone does it different. I was just making sure I hadn't
missed some weird change that may have impacted how we have to set up
multiple languages.
On Wed, Oct 8, 2014 at 12:48 PM, Brian Meade <bmeade90 at vt.edu> wrote:
> I don't see any reason they needed to do it that way that I'm aware of.
> Everyone writes code differently so maybe it made more sense to them to do
> it that way.
>
> On Wed, Oct 8, 2014 at 2:43 PM, Erick Wellnitz <ewellnitzvoip at gmail.com>
> wrote:
>
>> 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/bbbe03de/attachment.html>
More information about the cisco-voip
mailing list