11-05-2008 02:47 AM - edited 03-14-2019 03:10 AM
Hi,
My customer wants to upload the prompts real time himself and wants the script to upload it directly to the promt repository after that, instead of using the pre-recording prompts.
Is this possible?How?
11-05-2008 04:57 AM
You can write a separate script, application and trigger that allows the customer to call in, authenticate, make a selection to identify the desired prompt, and then record that prompt. The would save the recording to the script repository for them.
The key step to this is to user the User steps to authenticate the caller as a valid user. Saving prompt recordings into the prompt repository will fail if authentication has not succeeded.
11-05-2008 06:03 AM
Hi
I saw script from Cisco repository how to upload prompt on the fly. Please check on forum.
cheers
Ikram
11-05-2008 06:29 AM
Do you mean it is the one of the default scripts on the CRS server.
Can you please give the name of the script.
thanks
11-05-2008 06:09 AM
Hi Schulenberg,
Just saw an e.g. in the CRS5.0 scripting guide for this.
1)Is it a must that I use the "name to user" function to accept user id?
2)and then accept PIN using get digit.
Because this means the user must be created in the Global directory in CCM, with user id and PIN.
Is above the general procedure of achieveing uploading prompts.
2nd:-
I am getting a strange error: at the document upload script.
"some thing like "the document lenght created is less, the minimum lenght expected is 1".
Any idea what is the issue.
I ran the script in debug mode and the authentications seems to have happened successfully.
Thanks
11-05-2008 07:33 PM
1) Yes, the user must exist in UCM.
2) Check to ensure that you have the variable containing the recording set as a Document type. If it is, that sounds like it sees a null value in the variable. Also, providing the exact verbiage may help.
You could turn on debug tracing for the CRS Editor and review the log files to get a more exact answer.
11-11-2008 12:36 AM
Hi Schulenberg,
The error I get is - Exception:
"result of invalid length; expecting minimum length of: 1"
(see attached screenshot)
and this error comes exactly at the upload prompt step.
From the CRS logs I can't locate the error.Pertaining to this error message what is the text I should be searching in the logs.
Any idea, what is the issue.
thanks
11-21-2008 02:13 PM
Hi,
I got this script working.Just wanted to check apart from saving the prompt to the directory, is it possile to parallely save it to the SQL database.If yes, how?
Thanks
11-23-2008 07:35 AM
You should not save scripts/prompts/documents directly to the disk. These folders are automatically populated for the CRS engine to execute from. If you put something there manually (instead of loading through the appadmin interface into the appropriate repository), it may be deleted or overwritten. Additionally, when UCCX transitions to Linux in version 8 (due out 2009-2010), you will have little or no access to the file system.
I am not aware of any supported method to load prompts, scripts, or documents into the repositories other than through the appadmin browser interface.
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