UCCX Scripting for customer survey
Hello All,
I have below customer survey requirement,
First Script
1) Call fro PSTN , called to toll free number which is land to IVR Port number at UCCX end
2) agent will answer the call.
3)agent will ask customer to submit survey online.
4) agent will transfer the call to trigger (eg. 2033) for customer survey , run the external script.
Second Script
1) Customer will get some prompt and menu option to fill the survey.
Now i am getting challenge to get the agent extension in second script which i wanted to store in database
That's a good point. The Calling Number value from Get Call Contact Info changes from the Agent to the Customer at the point in which the Agent completes the transfer. If you simply played a prompt which informed the Agent when it was ok to complete the transfer, then you will have ample time to grab the Agent DN for your records.
Call Flow of Second Script
Start
Accept
Get Call Contact Info to Grab Agent DN
Play Prompt "Agent DN Recorded. Please complete transfer now"
Delay 3 seconds
Begin Survey
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches.
Similar Messages
-
Simple UCCX script for IVR,Welcome message then press 1 and press 2
Dear Experts;
I have uccx 10.5.
I want to write a simple IVR script as below.
Step-1- Welcome message.with press 1 for Sales and Press 2 for Marketing
step-2 User Press 1 then transfer the call to Sales Skill Group.
Step-3 User press 2 then transfer the call to Marketing Skill group.
My doubt is how to accept when user press 1 and match the value and then transfer the call to that skill group.
Really appreciate any link or script for this.
Regards
DebashisDear Martyn;
Thanks a lot that was very nice and valuable information.
just want to ask which palette i have to use to save the value 1 or 2 when user press 1 or 2.
I know using Menu we can create different Menu option.
After user press 1 it will go SALES skill group and if press 2 Go MARKETING Skill group.
Appreciate if you can help me in this regard.
Regards
Debashis -
UCCX-Script for Product Activation over IVR
Hello,
Our Customer has come up with a new requirement to be done on UCCX.
To enable ‘Product Activation’ by means of IVR. Details of the requirements are below.
1. Customer calling in will be prompted by IVR to enter the 8 digit Customer code.
2. UCCX has to forward this 8 digit to a database hosted on the cloud.
3. This 8 digit number will be validated by the Database and if this is validated and activated, a activation confirmation
reference number will be given back to the customer via the IVR.
Can anyone please give me some idea on how to go about with this.
Any help will be truly appreciated.
UCCX version : 7.0.1
CUCM version : 7.1.3
Regards,
Shaijal AHi,
I work along with Shaijal.
The request from the Customer states that, they have a database hosted in the cloud and if the user input digits can be collected into a variable, then this can query the database for the verification and if it is validated then the query returns a value that will passed to the Caller as a reference number for the Activation of the product.
We are not sure if the, second part of the request ie; to return a reference number after the activition is possible but do strongly believe that digits can be collected and a DB can be queried using the script.
Need help in getting ideas on how to make this happen....
Thanks in Advance
Abraham -
VBA script for custom Outlook 2010 calendar "first day of week"
I need Outlook 2010 to use "week starting with the Saturday before Jan 1" as "first week of year" to match our company payroll calendar. (For example, Saturday 12/26/2015-Sunday 1/3/2016 would be "first week of 2016".) Is there
a way to do this in a VBA script?
-Thanks, zoggHello zogg,
The settings are stored in the registry at
HKCU\Software\Microsoft\Office\15.0\Outlook\Options\Calendar
where 15.0 stands for Outlook
2013.
Make changes in
the Outlook settings and see which registry values change and in what way depending
on the settings you change.
Also take a look at the How
can I get the work week and day number in VBA (outlook 2010)? page which states the following:
WW = Format(Now, "ww") & "." & Weekday(Now, vbMonday)
The "Format" function returns an expression from a string formatted with the provided "format" argument (ww in
this case, which returns the week of the year) and the Weekday() function
returns the numbered day of the week where the first day is a VBDayOfWeek enumeration
provided as the second argument (vbMonday in
this case). -
UCCX - Siebel data exchange for Agent survey
Dears,
I'm looking to create an call center agent survey.
Call comes to call center - Agent answers the call - Before the call is dropped agent request Customer to give feedback on the survey - Agent the transfers the call to the Survey Script trigger (Customer phone number, Agent ID, time and call duration) must be send - Script will have 1 or 2 questions and 3 answers for each question - once the customer provide answers - Answers(given by customer) must be send to Siebel CRM(Suggest me the beat way to do this) and the call must be dropped.
UCCX Version - 9.0.2
Siebel Version - 8.1.7
Please let me know how should I approach this and how to get the details required(phone number, agent id , time stamp) from the call.
Many thanks,
MidhunThat's a good point. The Calling Number value from Get Call Contact Info changes from the Agent to the Customer at the point in which the Agent completes the transfer. If you simply played a prompt which informed the Agent when it was ok to complete the transfer, then you will have ample time to grab the Agent DN for your records.
Call Flow of Second Script
Start
Accept
Get Call Contact Info to Grab Agent DN
Play Prompt "Agent DN Recorded. Please complete transfer now"
Delay 3 seconds
Begin Survey
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches. -
Custom calculation script for checkboxs
Hello,
Can anyone help me out with custom calculation script for this? I have two mutually exclusive checkboxes that, when checked, I want to populate data into other text fields.
If Checkbox1 is checked:
Company1=Warehouse Alpha
Address1=1234 Any Street
City/State/Zip1= Los Angeles, CA 90020
Contact Name1= Mr. Nice Guy
Phone Number1= 213-854-8565
Email1=[email protected]
If Checkbox2 is checked:
Company2=Warehouse Beta
Address2= 5678 Awesome Blvd.
City/State/Zip2= San Bernardino, CA 96545
Contact Name2= Mr. Handsome
Phone Number2= 909-824-8265
Email2=[email protected]
Thanks,
BryanSo one has two check boxes and one wants them to be mutually exclusive. Name them the same and change the export value of the field. Try it and observe what happens as you check the different check boxes.
You have described what happens if either box is checked but what happens when a checked box Is unckecked?
One can place scripts in many locations. I would use a mouse up action for both the check boxes, use the same script for both check boxes.
I would assume you are using the following names for the fields to populate:
Company
Address
CityStateZip
ContactName
PhoneNumber
Email
// Mouse up action for both check boxes;
// initial value for the fields:
this.getField("Company"),value = "";
this.getField("CityStateZip"),value = "";
this.getField("ContactName"),value = "";
this.getField("PhoneNumber"),value = "";
this.getField("Email"),value = "";
// test for check box value for selected box;
if(event.value == 1) {
this.getField("Company"),value = "Warehouse Alpha";
this.getField("CityStateZip"),value = "1234 Any Street";
this.getField("ContactName"),value = "Los Angeles, CA 90020";
this.getField("PhoneNumber"),value = "213-854-8565";
this.getField("Email"),value = "[email protected]";
if(event.value == 2) {
this.getField("Company"),value = "Warehouse Beta";
this.getField("CityStateZip"),value = "5678 Awesome Blvd.";
this.getField("ContactName"),value = "San Bernardino, CA 96545";
this.getField("PhoneNumber"),value = "Mr. Handsome";
this.getField("Email"),value = "[email protected]";
// end Mouse up action for both check boxes; -
Creation of Text Element in Custom Script for MEDRUCK
hi,
i have a problem in the scripts, the script is customized one but driver program is standard one.
few text element which are in the page windows but not appering in the output, how can we make them to appear in the output.
can we add new text element without modifying driver program in script,
can any one suggest me any thing for solving this problem.
thanks in advance.hi,
i havent found any write_form function call in the standard driver program.i think is it is system generated driver program for MEDRUCK.
in my custom form few text elements are defined alredy but they are not appearing in the output, i tried by putting some hardcoded text in those text elements but it doesnt worked.
what might be the reason.
can any one know about this help me solving this problem.
thanks in advance
regards,
pavan -
How to see programming Code for UCCX Script
Hi All,
How can I see the programming Code for UCCX Script? I have a script and want to see its Code , something like :
int sum = 0;
boolean alternate = false;
boolean isValid = false;
try {
int i = 0;
for (i = ccnumber.length() - 1; i >= 0; i--) {
int n = Integer.parseInt(ccnumber.substring(i, i + 1));
if (alternate) {
n = n * 2;
if (n > 9) {
n = (n % 10) + 1;
sum += n;
alternate = !alternate;
isValid = (sum % 10 == 0);
} catch (Exception e) {
return -1;
return (isValid == true ? 1 : 0);
thanks,
HamedYou're not going to find code per se, unless you have some java class you wrote and then you would only see the code if you had the source java file. The script is the only interface you get for "code".
david -
How to Enable Custom Java Scripts for forms in Planning 11.1.2.2
I am working on Planning 11.1.2.2 right now.
Planning admin guide says, there is no explicit requirement to enable java Script for planning forms.
I set simple alert to see text "Hello World" in function validateForm() function in custom/validateData.js file - to see and test that alert when I save data for my selected application/form.
Closed javascript file and workspace, and planning application web page. Since I have not to do anything new to enable this java script alert, I opened that form and saved data to see if I can see my alert.. I got no alert, except "data are saved".
Has anything changed since last version? Am I missing something? Or, do I need to recycle services to get this alert?
thanks in advance.Thanks guys, for your quick replies..!
Not sure what I missed, but I still have a hard time finding my "Hello World" alert.
What I did, is here.
a. Cleared all cookies and temp files from IE.
b. Updated validateData.js file from ear / war files using 7-zip program at given path from your link.
c. Stopped EPM services
d. Dropped tmp folder.
e. Started EPM services and let system deploy ear file (with my java script code).
All services are up. I can see EAR file deployed and java script file ValidateData.js has all my changes in new tmp folder now.
I am able to open my application and form.
But, my "Hello World" alert is still not appearing. Form is saved and saw message as usual.
One exception I noticed in my path. I have ....user_projects\domains\EPMSystem\servers\EPMServer0\.... in place of ....user_projects\domains\EPMSystem\servers\Planning_0\.... in my path. Planning_0 is replaced by EPMServer0 in this version. Rest is all same.
Any clue? thanks in advance, -
Dynamic Scripting for Call Center Surveys
Hi All,
I need to create dynamic scripting for Call Centres. Any idea how dynamic scripting can be done.
Thanks a lot.
AmigaHi Raja,
Basically, there should be a provision to create/modify a transaction and questions based on the response provided. So if a question is asked in a survey and the response is "Yes", the next question should be different to the one for a "No" answer. Similarly there should be a provision to create actions based on responses.
Hope this makes it a bit clearer.
Thanks
Amiga -
UCCX 8.0 (2) - script for holliday
Hi Guys,
I need change the script about holliday in my Customer, but, I never implement this specific script. Any have idea about this?
Thanks,
WilsonHi Gergely,
I spoken again with my Customer, in the really He not have script for specific holiday. Today he have the script for weekend and he would like change this script to attend too in the holiday.
I don´t experience with creating script, do You have any model?
Thanks,
Wilson -
UCCX Script CUCM XML Directory lookup for Calling name
Hi there!
I'm trying to fetch "calling name" by the below uccx script params but get "no protocol" java exception according to the attached screenshoot.
It seems to happen when i reach the line: xml = Create XML Document(URL[dir_url + calling_number])
My version of the UCCX is 8.02 and CUCM 7.1.5
These are the params:
Variables:
This is part of the code:
Script:
calling_number = Get Call Contact Info(--Triggering Contact--, Calling Number)
if (calling_number != null && calling_number.trim() != "")
True xml = Create XML Document(URL[dir_url + calling_number])
calling_name = Get XML Document Data (xml, "//Name")
if (calling_name != null && calling_name.trim() != "")
True
Set Enterprise Call Info (--Triggering Contact--)
False
/* Name Not Found */
False
/* ANI Not Found */
String dir_url = "http://ip_address_cucm:8080/ccmcip/xmldirectorylist.jsp?n="
String calling_number = ""
String calling_name = ""
Document xml = null
rgds, MikaelHi-
Did you configure the 'Call Variable Layout' or did you only configure the steps in the script?
Take a look at the 'Manage Call Variables Layout' section in the CCX Administration guide.
Cisco Unified CCX Administration Guide, Release 10.0(1)
Cisco Unified CCX Administration Guide, Release 10.5
Cisco Unified CCX Administration Guide, Release 10.6
I have not worked much with Finesse, so I cannot provide an example.
Thanks,
DJ -
UCCX script editor not working
1-The loading bar down of the screen always loading and never finishes.Please take a look to the attached picture.
2-When i go to the uccx and want to change the server from hostname to ip address,i always get update failed.
I am so new in uccx,help is appreciated.
Thanks in advance.Hello,
You have come to the right place to ask questions on UCCX.
Please take some time to read through the product manuals, as they are full of good information and will answer most of your questions.
UCCX Documentation Home Page
http://www.cisco.com/en/US/customer/products/sw/custcosw/ps1846/tsd_products_support_series_home.html
On to your two questions:
1. This is not a loading bar. This bar is completely useless, and all it's telling you is how much memory the Editor has available to it in order to process things. The button to the right is simply a "garbage collector" which will attempt to free up any abandoned memory, but mostly it just sits there looking pretty. You really don't need to bother with either of these too status bar items, and can ignore them.
Source: UCCX Scripting Volume 1 - Getting Started with Scripts
2. It's been about two years since I've completed an install of UCCX, and therefore don't have this information fresh in my head. I did spend few minutes trying to find documentation on the topic, but to no avail. I was only really able to read the Help page for that specific page (Help > For This Page), however, it didn't make a big deal about changing the value. It simply says, change it and then click Save.
Could you post the exact error message you are receiving? Also, what is your intention with changing the hostname to IP? Unlike CUCM where you may want to remove DNS dependency on the phones to communicate with the server, UCCX clients use the IP address regardless. So perhaps it's not a necessary step?
Anthony Holloway
Please use the star ratings to help drive great content to the top of searches. -
How to setup a whisper prompt in UCCX Script?
Guys
I need some help here.
We have a cisco UCCX setup which was designed and implemented by a vendor. They had the script written. I want to modify that to have a whisper prompt for the agents to hear something before they start their talk.
Is there something that anyone can guide me to tell me what actually has to be done on a script to input this whisper message. I have a prompt for that. But don't know where and what to start with.
Any help is much appreciated.@Gergely : For your first question, the answer it yes. The agent should hear that recording before he does go the customer call.
But the second note what you sent, I don't think that is correct. Because UCCX script supports that. I have pasted a sample below which a whisper prompt works in one of our UCCX script. See below.
Correct me If I am wrong. -
Working with TimeZone variables in UCCx script
Hi Team
I'm wondering if you guys could help me to find out the best way to work with TZ variables in UCCx script.
Because of different countries customer has a branches, I need to setup different TimeZones for each country handled by the same centralized UCCx.
In this post they use Java to work with TZ, however, but I prefer another way to work with TZ variables:
https://supportforums.cisco.com/discussion/11851751/how-make-uccx-holiday-script-timezone-aware
My idea is to work with Time Zone variables in the script, so what I did was to create different TZ variables and each one of the them assigned the proper timezone based on the country, so depending of the Trigger involved (DNIS), I can find witch country this call came from and give the right timezone.
The problem I have is that at the time I want to add or subtract two variables of TZ, I got an error because of the syntax. I've been trying different options, but until now, no luck.
Would you mind you guys who had been working on this let me know what is the right syntax to add or subtract TimeZone variables un UCCx?
Thanking you in advance
MartinHi
I've been working on TZ's recently... see this post:
https://supportforums.cisco.com/discussion/12474756/how-check-daylight-saving-within-uccx-script
My approach in the scripts was that basically I allow the department to set their opening hours in the timezone of their choice.
They have a management web page served from CCX that accepts start/end times each day, and a timezone. That all gets stored in XML.
In the script, based on that information I get the current time in whatever timezone is set, and compare that to the XML open/close times.
Similarly for holidays, I get the current date/time in the holiday TZ and compare the holidays to that.
Aaron
Maybe you are looking for
-
Mapping over more than 1 schema
Hi, I have to do the following mapping: Workspace user: user_ws Transfer data from user send_user.table1 to get_user.table2 Whe I create 2 locations (localtion_send_user and location_get_user the 2 owners of the 2 tables) I can see the 2 tables (1 in
-
Unable to view downloaded photos
why can I not open photos downloaded from Ipad and iphone to Iphoto library? When I try to open the file directly it tells me "You do not have permission to open the documet"
-
Created a short tutorial using three buttons (click boxes) Next, (jump to next slide) Back (Jump to previous slide) and Show me (continue). Moveing forward in the tutorial they all work fine. Next and Back always work in either direction. The problem
-
Can I anchor a frame to text "relative to margin"?
Hi there. I have text as such. I want to anchor the icons with the 5s in them to the text, Two questions: 1. instead of doing it "relative to the spine" I want it to be relative to the margin 2. if it is on the right side, I want it to flip verticall
-
J2ee-Server-Component library and Buildpath
Hi, I have a J2ee-Servercomponent - Project in the NW Dev. Studio to build and deploy a library for the J2EE WEBAs 6.4. During buildtime this Library requires certain external JAR's to be build. But every time when I change something in the provider.