05-11-2020 01:52 PM
I have the following directory structure for my prompts:
en_US
--Script1_v3
----1.wav
--Script1_v4
----1.wav
--OtherScript
----something
------application
--------english
----------somethingelse
es_US
----Script1_v3
------1.wav
----Script1_v4
------1.wav
Language is set to en_US in script (for now)
This is a parameter for the application, strScriptDir="/Script1_v3/"
strPromptWelcome="1.wav"
P[strScriptDir+strPromptWelcome] plays when the caller calls in
In this setup everything works fine. But I am making a v4 of the script and wish to have separate prompts.
Now, if I change strScriptDir="/Script1_v4/" either by using the application parameter or hard coding it in the script variables, nothing plays. The names of the script files are identical to the folder names, as well, if that matters at all.
Anyone have any insight as to what could be going on?
05-11-2020 02:02 PM
05-12-2020 07:08 AM - edited 05-12-2020 07:09 AM
Yeah, sorry if I made a typo, I was trying to remove any details about the scripts, but I guess it doesn't matter as there isn't anything sensitive to see.
Here are screenshots. The WAV files are an exact copy of the ones in the v3 folder, just uploaded them today from a ZIP I got from the web interface.
05-12-2020 07:39 AM - edited 05-12-2020 08:01 AM
edit: sorry, I see you uploaded the exception...looking now.
Ok, well, all of structure seems good to go, and the exception is not pointing at a Not Found exception. In fact, the exception isn't really hinting at anything in particular. Though, the root folder in the path: /opt, does not look the same as when it's working. When I play a prompt successfully, the logs show it pulling from /common. When I intentionally reference a prompt which does not exist, it shows it pulling from /opt. I don't know why that is.
So, I'd like you to try a few things:
1) Do you have HA? If so, can you confirm which server is Master Engine versus which one you used the CLI on? Can you also confirm your datastores are connected?
2) Does your audio file have content? Can you play it back in any way shape or form?
3) Is your audio file in the correct format? Can you use a hard coded literal like P[EmployeeCallOut_v4/0.wav] to remove the String concatenation?
4) Can you actually do the debugging on the CLI for us? You can switch the Media profile for a starting pointing, but then go back into Trace config and set ENG to debugging too.
05-12-2020 08:47 AM
1. In the original picture I was actually on the passive node of HA, but I just confirmed that the files are on both HA nodes in the same folders. I also removed the folder via the web GUI on the passive node and watched it get removed on the active.
2. Yes, the audio files are identical to the working ones, and I checked now by downloading and playing in another PC app that they are not corrupted. I took the v3 folder and downloaded the ZIP of the files, then uploaded them back to the v4 folder, all using the web GUI in UCCX
3. Hard coding also fails on the v4 folder, works for v3
4. You lost me on a lot of this. I have ENG debugging turned on, and I see the following in the logs for the last test call I made. If this isn't what you are asking for, can you please provide instructions on how to get it?
Searching path: /var/log/active/uccx/log/MIVR
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970232: May 12 11:38:42.757 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : Start
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970233: May 12 11:38:42.757 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : On Exception(ContactInactiveException) Goto lblSendDBOut
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970234: May 12 11:38:42.758 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : Accept (--Triggering Contact--)
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970265: May 12 11:38:42.805 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : strCallingNumber = Get Call Contact Info (--Triggering Contact--, Calling Number)
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970266: May 12 11:38:42.805 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : lblConfirmationNumber: pptConfirmNumber = Create Generated Prompt spelling (strUniqueID) /* Generate a pseudorandom ... */
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970267: May 12 11:38:42.805 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : Delay 1 sec
/var/log/active/uccx/log/MIVR/Cisco002MIVR228.log:24970268: May 12 11:38:43.805 EDT %MIVR-ENG-7-UNK:[MIVR_ENG_TASKS-31-27-TASK:0x861c468d4_OAC-EmployeeCallOut_v4/OAC-EmployeeCallOut_test.aef] WFTracingLogImpl: Execute step of Task 36000000212 : Play Prompt (--Triggering Contact--, P["/OAC-EmployeeCallOut_v4/0.wav"])
Search completed
05-12-2020 10:17 AM
05-12-2020 10:21 AM
I gave up replacing the names with generic ones as there is nothing sensitive to be revealed
05-12-2020 10:40 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide