[cisco-voip] Integrate second language Menu Input in existing Script

Anthony Holloway avholloway+cisco-voip at gmail.com
Tue Oct 15 23:35:49 EDT 2013


You would not normally need to restart the Engine after creating a language
folder, however, I have seen restarts fix things magically in my career
history.

Moving on though: when you specify a prompt file name, UCCX searches
upwards in the Prompt folder structure like this (Assuming you're using
en_US as your Trigger's language):


   1. en_US
   2. en
   3. default


It will not search all of your other folders for the prompt file name;
therefore, you're getting an Undefined Prompt Exception.

So, you either need to switch the contacts language to spanish with the Set
Contact Info step just prior to referencing the prompt (I.e., play prompt
or menu), OR you can qualify the prompt directly in the step like this:

Menu (--Triggering Contact--, Menu_S @ L[es_MX])


Lastly, I was totally confused by your post to the mailing list, as I was
reading our offline conversation inline with your question to the group.  I
was dizzy for a second until I saw Tanner's reply.

And now to add to the confusion, I have to re-post this from my super
special plus address.  :/  As the list rejected my original reply.  Sorry
Grace and Tanner for the duplicate reply.


On Tue, Oct 15, 2013 at 8:52 PM, Grace Maximuangu <
Grace.Maximuangu at blackbox.com> wrote:

> Oh I C, could try that, was wondering whether it would be best to restart
> the CCX engine also?****
>
> ** **
>
> :-:gm****
>
> ** **
>
> Grace Maximuangu****
>
> Voice Solutions Engineer****
>
> *Black Box Network Services*
>
> Cell: 213.268.6342****
>
> grace.maximuangu at blackbox.com****
>
> www.blackbox.com ****
>
> ** **
>
> [image: bbox logo.JPG]****
>
> ** **
>
> *From:* Tanner Ezell [mailto:tanner.ezell at gmail.com]
> *Sent:* Tuesday, October 15, 2013 6:43 PM
> *To:* Grace Maximuangu
> *Cc:* Anthony Holloway; cisco-voip at puck.nether.net
> *Subject:* Re: [cisco-voip] Integrate second language Menu Input in
> existing Script****
>
> ** **
>
> Worst case you could specify the full path including language directory.**
> **
>
> ** **
>
> On Tue, Oct 15, 2013 at 6:28 PM, Grace Maximuangu <
> Grace.Maximuangu at blackbox.com> wrote:****
>
> Based on Log output files from RTMT it seems that by default the system is
> trying to access the Spanish Language files under en_US directory even
> though all the wav. Files were uploaded into the correct directory under
> es_MX.****
>
> Have you ran into this before with prompt directories****
>
> This is the logs below:****
>
> Snippet:****
>
> 42516828: Oct 15 19:07:43.210 EDT %MIVR-ENG-7-UNK:Execute step of Task *40000151215
> : Menu (--Triggering Contact--, Menu_S)*****
>
> 42516829: Oct 15 19:07:43.211 EDT %MIVR-SS_CMT-7-UNK:MediaDialogChannel
> id=231,state=IN_USE MDC::set:
> com.cisco.wf.cmt.dialogs.CMTSimpleRecognitionDialogImpl at 1f531a1 enter OK**
> **
>
> 42516830: Oct 15 19:07:43.211 EDT %MIVR-SS_CMT-7-UNK:init:: flushDTMF=true
> DTMFBuffer.size=0****
>
> 42516831: Oct 15 19:07:43.211 EDT
> %MIVR-PROMPT_MGR-3-UNDEFINED_NAME_PROMPT:Undefined user or system prompt:
> Name=Menu_S.wav,Type=com.cisco.prompt.UserPrompt,Transcription=null,Language=en_US,Exception=com.cisco.prompt.UndefinedPromptException:
> user prompt '/opt/cisco/uccx/Prompts/user/*en_US/Menu_S.wav'*****
>
> 42516832: Oct 15 19:07:43.211 EDT
> %MIVR-PROMPT_MGR-3-EXCEPTION:com.cisco.prompt.UndefinedPromptException:
> user prompt '/opt/cisco/uccx/Prompts/user/*en_US/Menu_S.wav'*****
>
>  ****
>
> :-:gm****
>
>  ****
>
> Grace Maximuangu****
>
> Voice Solutions Engineer****
>
> *Black Box Network Services*****
>
> Cell: 213.268.6342****
>
> grace.maximuangu at blackbox.com****
>
> www.blackbox.com ****
>
>  ****
>
> [image: bbox logo.JPG]****
>
>  ****
>
> *From:* Grace Maximuangu
> *Sent:* Tuesday, October 15, 2013 11:39 AM
> *To:* Anthony Holloway
> *Cc:* Grace Maximuangu
> *Subject:* RE: Whew...moving along finally****
>
>  ****
>
> Hi Anthony,****
>
>  ****
>
> I am trying to integrate the menu script into the existing script****
>
> So call comes in, callers hears Press 1 for ENG or 2 for Span****
>
> Then it takes them to English or Spanish Menu****
>
> I have this pointing to a DID for testing but when I call the DID, all I
> hear is "Are you still there"****
>
> What am I doing wrong ?****
>
>  ****
>
>  ****
>
>  ****
> ------------------------------
>
> *From:* Anthony Holloway [avholloway at gmail.com]
> *Sent:* Sunday, October 13, 2013 10:58 PM
> *To:* Grace Maximuangu
> *Subject:* Re: Whew...moving along finally****
>
> Sorry, I cannot, as I'm about to have date night with my wife, and was
> just responding to you quickly as I had a second to do so.  Give it a try
> and if you get stuck you could always post out to the communities: mailing
> list and forums.  We might be able to pick it up tomorrow, but no promises.
> ****
>
>
> ****
>
> Anthony Holloway****
>
>  ****
>
> On Sun, Oct 13, 2013 at 9:55 PM, Grace Maximuangu <
> Grace.Maximuangu at blackbox.com> wrote:****
>
> Please tell me you have a sec t olook at this, I am really curious for you
> to look at the script and help me draw a call flow diagram, just to make
> sure I am meeting the customer’s need, and I promise you it won’t take more
> than 30minutes….please…****
>
>  ****
>
> :-:gm****
>
>  ****
>
> Grace Maximuangu****
>
> Voice Solutions Engineer****
>
> *Black Box Network Services*****
>
> Cell: 213.268.6342****
>
> grace.maximuangu at blackbox.com****
>
> www.blackbox.com ****
>
>  ****
>
> [image: bbox logo.JPG]****
>
>  ****
>
> *From:* Anthony Holloway [mailto:avholloway at gmail.com]
> *Sent:* Sunday, October 13, 2013 7:53 PM****
>
>
> *To:* Grace Maximuangu
> *Subject:* Re: Whew...moving along finally****
>
>  ****
>
> Sorry that should have been:****
>
>  ****
>
> L[es_US]****
>
>
> ****
>
> Anthony Holloway****
>
>  ****
>
> On Sun, Oct 13, 2013 at 9:52 PM, Anthony Holloway <avholloway at gmail.com>
> wrote:****
>
> It doesn't show up by default, you have to type it in.  And I think it
> only supports this format:****
>
>  ****
>
> L[es]****
>
>  ****
>
> OR****
>
>  ****
>
> L[es-US]****
>
>  ****
>
> Let me know.****
>
>
> ****
>
> Anthony Holloway****
>
>  ****
>
> On Sun, Oct 13, 2013 at 9:50 PM, Grace Maximuangu <
> Grace.Maximuangu at blackbox.com> wrote:****
>
> Hi Anthony,****
>
> With Item number 2 – Set contact info…after I went to language and enabled
> Spanish Lang, created the Spanish Folders, the option is still not
> available to select Spanish language. What am I doing wrong?****
>
>  ****
>
> ****
>
>  ****
>
> :-:gm****
>
>  ****
>
> Grace Maximuangu****
>
> Voice Solutions Engineer****
>
> *Black Box Network Services*****
>
> Cell: 213.268.6342****
>
> grace.maximuangu at blackbox.com****
>
> www.blackbox.com ****
>
>  ****
>
> [image: bbox logo.JPG]****
>
>  ****
>
> *From:* Anthony Holloway [mailto:avholloway at gmail.com]
> *Sent:* Sunday, October 13, 2013 7:04 PM
> *To:* Grace Maximuangu
> *Subject:* Re: Whew...moving along finally****
>
>  ****
>
> Hi Grace,****
>
>  ****
>
> Nice work figuring this out on your own.  There's two ways to switch the
> language of the caller:****
>
>  ****
>
> 1. On the trigger****
>
>  ****
>
> With this option, you are operating under the premise that the phone
> number published is to your target spanish speakers and only spanish
> speakers will call it.****
>
>  ****
>
> 2. Within the script with the Set Contact Info step****
>
>  ****
>
> With this option, you are probably using the same phone number for all
> language speakers, and then are going to prompt them with a menu choice
> such as: "Para Espanol, press numero siete."  And then if the press number
> 7, you use the step to switch the language to spanish.****
>
>  ****
>
> With either option, from this point forward in the script, all of the
> prompts and documents are switched over to the spanish language folder you
> already figured out how to create.****
>
>  ****
>
> I hope that helps.****
>
>
> ****
>
> Anthony Holloway****
>
>  ****
>
> On Fri, Oct 11, 2013 at 5:35 PM, Grace Maximuangu <
> Grace.Maximuangu at blackbox.com> wrote:****
>
> Hi Anthony,****
>
> How are you doing.****
>
> After a lot of research, I finally enabled the Spanish Language pack.****
>
> Also I started writing the script as you instructed, but I am stuck with
> how to connect everything to the production environment, I mean like how do
> you put it all together to interact with the existing English applications.
> ****
>
>  ****
>
> What they have in Mind is****
>
> To just add triggers to the existing applications, and then point the
> trigger to the new script, then I think what needs to happen is also
> account for if and incoming call comes in and the caller already enters the
> Spanish language option  without waiting for the prompt how do I create
> this logic****
>
> Also tricky part is testing and making sure pricing and everything is all
> working in the Spanish Language as well as English.****
>
>  ****
>
> Please let me know when you can help out, I have all weekend and up till
> Tuesday.****
>
>  ****
>
> Thanks in Advance  ****
>
>  ****
>
>  ****
>
> :-:gm****
>
>  ****
>
> Grace Maximuangu****
>
> Voice Solutions Engineer****
>
> *Black Box Network Services*****
>
> Cell: 213.268.6342****
>
> grace.maximuangu at blackbox.com****
>
> www.blackbox.com ****
>
>  ****
>
> [image: bbox logo.JPG]****
>
>  ****
>
>  ****
> ------------------------------
>
> This email and any files transmitted with it are confidential and are
> intended for the sole use of the individual to whom they are addressed.
> Black Box Corporation reserves the right to scan all e-mail traffic for
> restricted content and to monitor all e-mail in general. If you are not the
> intended recipient or you have received this email in error, any use,
> dissemination or forwarding of this email is strictly prohibited. If you
> have received this email in error, please notify the sender by replying to
> this email.****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>
> _______________________________________________
> 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/20131015/a0d6b336/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 4336 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20131015/a0d6b336/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 43351 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20131015/a0d6b336/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4336 bytes
Desc: not available
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20131015/a0d6b336/attachment-0002.jpg>


More information about the cisco-voip mailing list