02-25-2014 02:30 AM - edited 03-14-2019 01:09 PM
Hello guys,
I am trying to upload my recording to UCCX and it fails. Below are my trigger and script configurations. Basically, the script will prompt for recording and play the recording prompt back to the user. Then the user will come to a menu to ask whether to review the prompts, upload the prompt or re-record the prompt. The reviewing and re-recording part works fine, just that when I choose to upload the prompt, it just hang off and when i debug the script, it goes to the end stage directly.
Please guide me on where I did wrong, thanks a alot.
Solved! Go to Solution.
02-25-2014 05:04 AM
Hi,
you don't need the Name to User step. Use the Authenticate User step instead. Like this:
G.
02-25-2014 02:46 AM
Hi,
can you please confirm that the User, referred by the userAccount variable, is a valid user, at some point the account is authenticated successfully.
G.
02-25-2014 03:28 AM
Hi Gergely,
Thanks for the reply. I had authenticated the user on an earlier stage.
02-25-2014 03:31 AM
Can you do reactive debugging? Whatis the actual value of promptName and promptDocument?
G.
02-25-2014 03:41 AM
The value for promptName is "TestDirectory\ThisIsMyTestPrompt.wav"
The value for promptDocument is FILE[/opt/cisco/uccx/temp/1393069112553@fca0e2.wav]
02-25-2014 03:45 AM
Hi, that looks quite alright, but I am still wondering, if you do reactive debugging, step by step, does the script execution stop at the "/* Aid for debugging */" Annotation underneath the Unsuccessful branch of the Upload Prompt step? It can't just go to the End step directly.
G.
02-25-2014 04:12 AM
I did a few reactive debug, it did go to Unsuccessful step, but very quickly it went to end step even when I never press the step over, it goes to end automatically.
02-25-2014 04:29 AM
Hi, there must be a reason why it goes to the Unsuccessful branch of that Upload Prompt step. Are you sure the username and the password or PIN are correct?
Also, can you use a shorter directory name and/or file name?
G.
02-25-2014 04:50 AM
There is already a predefined user account in CUCM with user ID zzzzz, I just press 9# and the system just accepts it.
After I change to shorter directory/file name to a shorter ones, its now stuck at the unsuccessful step without going to the end directly.
Just to let you know, previously I had the debug stopping at unsuccessful steps also before changing the directory/file name, just don't know why it suddenly changes to go to end directly, skipping the unsuccessful step, no idea what's happening, and now it just seems to be working normally again...
02-25-2014 04:52 AM
Hi,
I am afraid I can't follow you. You say there's a CUCM user with the ID zzzzz - but I can't understand the "I just press 9# and the system just accepts it". What system? How?
G.
02-25-2014 05:00 AM
I am using Name to User step for authentication. I have a User account zzzzz in CUCM. Once I press 9#, it will automatically accept the user account zzzzz authencation.
02-25-2014 05:04 AM
Hi,
you don't need the Name to User step. Use the Authenticate User step instead. Like this:
G.
02-25-2014 08:08 AM
I tried your solution, still the same.
02-25-2014 09:09 PM
Hi,
I solved the issue already, it's not the problem with the user authentication.
For the Upload Prompt (doc to L[en_US], "file.wav"), mine is Upload Prompt (doc to L[en_US], promptName),
I just change the promptName to "Testing.wav" it works fine.
Thank you very much for your support!
Cheers.
02-26-2014 02:33 AM
Hi, that's interesting. Actually, if promptName is a variable with the type of String, then it should work as well.
G.
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