cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
739
Views
0
Helpful
1
Replies

Call a java class jar from within UCCX script?

jbankstonfla
Level 1
Level 1

I've written a new java class with one method that performs a calculation, and returns an int. The idea is that my UCCX 10.6 script will pass in two integers, perform the random number generator function based on these two integers as high/low, then return an int which tells me what the RNG generated.

Sooooo, I fixed the java variables for testing purposes so that only the return value is what I need to deal with at present.

I remember waaaay back in UCCX 8.5.1 you could call java from within the script, but I'm finding our that 10.6.1 has no such facilities. My Google-Fu skills are showing age, brain is near fogged up, I can'd for the live of me see how to call an external java jar from within UCCX.

Thanks, Jeff

1 Reply 1

SEAN NILSEN
Level 4
Level 4

Hey Jeff,

Here is a link to some instructions on how to get this set up in 10.x.

https://supportforums.cisco.com/document/12336156/integration-custom-java-application-uccx-100

The basic steps are:

Create a JAR of your code

Upload the JAR

Reference the Objects/Methods from a Script Element.

Hope that helps!

Sean