01-31-2011 02:20 AM - edited 03-14-2019 07:17 AM
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:
01-31-2011 01:49 PM
Hi Mikael,
I think that you are missing the Get URL Document step. The script below executes the directory query, parses the XML file and stores the name in the callingName string variable.
I have attached the script.
I would be interested to know what you are going to do with the name once you have it.
Regards
James
01-31-2011 02:08 PM
Hi James!
Thanks for your reply! I'll try your proposal!
My idea is to use the "fetched Calling Name" from the Xml ldap directory and with the "Set Enterprise params" present this to the agents. Most of incoming calls will be from "on-net" customers who are in a Global common AD connected/ synched with the CUCM and UCCX.
I send my response after my test!
Just one thought...... as i said this is version ucxx 8.0x and CUCM 7.1.5 so doesn't the XML url communication towards the CUCM needs to be "https:" secure! Do the uccx script support this??
Rgds, Mikael
01-31-2011 04:04 PM
Hi Mikael,
Your requirement interested me so I wrote the script that I attached to my previous post using CUCM 7.1(3) and UCCX 8.0.2.
I tested it using a reactive debug and it works fine.
Re. the URL it seems that you can use http rather than https for directory queries.
Cheers
James
02-01-2011 12:08 AM
Hi again!
I tested myself after correcting some params and now i can see
the "Calling Name" in my ´CAD which is perfectly by populating "Set enterprise call info" with Calling Name.
By this we can snap up the customer service by knowing the name of the person calling in for support!
Thx for oyur help, James!
rgds, Mikael
02-17-2015 10:06 PM
Hi Mikael,
I also would like to do the same for my environment that I could present agents with the internal Callers name.
Can you share me the with the steps where you performed the directory lookup with your CUCM.
Regards
Taha
02-18-2015 09:51 AM
Hi Taha-
Take a look at James Hawkins' post it has a sample script attached. The IP Address listed in the script is that of your CUCM server. I am running CUCM 9.1.2 and it worked perfectly.
DJ
02-18-2015 11:04 PM
Hi Mikael,
After I posted, I did try that and it worked like a charm. I able to see name gets pulled up in the variable when I run debug.
Now the next step is to display the caller name to Finesse Desktop. For that I have set those variable in 'Set Enterprise Call Info' step by creating ECC variable to assign the name value. And on the Finesse Administration I have set the call variable layout by that ECC variable. But I am unable to see any value popping up there when Finesse Agent Desktop gets the call.
Any Idea or example where people have managed to use ECC Variables and tried this ?
Please see the attached Image..
Regards
M Taha
02-19-2015 01:52 PM
Hi-
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
02-21-2015 09:42 PM
Hi DJ,
Actually, I did the required procedure but actually was hitting the wrong trigger.
I supposed to trigger my test script as I did the changes there but was triggering the production one.
Well, Just for others reference, this is what I exactly followed for Finesse to display;
https://supportforums.cisco.com/document/12425561/configuration-call-peripheral-variables-and-expanded-call-context-ecc-finesse
And For the script, i followed James Hawkins' post here.
Thanks To Everyone:)
Regards
M Taha
01-27-2016 01:10 AM
Hi Mikael,
Thank you for your post.
I succeed to display the callingname in CAD thanks to your post.
I was wrong trying to use the "Get Enterprise Call info" and not what you mentioned : "Set Enterprise Call info".
( UCCXv10 with CUCM v9 )
Regards,
Bertrand
02-04-2014 08:05 AM
Hello,
I am not very familiar with script.
I am trying to use this script (get calling number) but It is not work.
Below my error I am using CUCM 9.x and UCCX 9.x
02-04-2014 08:57 AM
Hi,
can you call that directory URL within a browser?
I am afraid it's trying to upgrade to HTTPS.
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