IP IVR Custom Java Class Calling

Unanswered Question
Jan 24th, 2008
User Badges:
  • Silver, 250 points or more


I wrote a java class that work well. TEST.class no package. I placed it in C:\Program Files\wfaavid\, and added this to my classpath. I restarted CRA Editor and CRS Editor Engine. can someone give me an example sytax of how to invoke this with Set Cra Expression Editor. I have seen some thread son her about it but nothign specific enough to help me.


Chad Stachowicz

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)

How do I get it to show in the script editor?

I've loaded the class to the specified location (as stated in the CRS admin guide) and I've restarted the engines but it does NOT show.

Do I have to modify any additional files such as the customengine.xml??

Can the class be named whatever.class or do I have to follow certain naming convention? maybe it has to be a whatever.jar??!!

Where is it supposed to show?

Do I first have to add a "Create java Object" object and enter my class name in the variable type?


Do I just use the "Execute Java Method" object??

All these questions are not answered buy the guides and if they're talked about they only have half the answer.


Got it to work!

Thanks for your help.

Our version of CRS 3.5 (IP IVR Queue Manager) doesn't (didn't) have database read write access but now it does!!!! YEAH!!!

It turns out I was using the wrong JDK version, for CRS 3.5 only 1.1.8 works.

Once you build your class you have to create a JAR file and copy it to c:\program files\wfavvid. You also need to update the classpath for the CRS and the editor by referencing the JAR in two files located also in c:\program files\wfavvid (customeditor.xml and customengine.xml) adding yourjar.JAR inside the tag and then restart the engines.

You access you class by creating a variable of java type and using your class' name for type, then you can execute its methods by adding a Java execute object and poiting it to the variable you created.

Kicks b*tt!!

Yep, that's the old way.

When you get to 4.0 you will see that things have changed quite seriously. You will need to use the Document Management UI to upload your JAR, you will need to set the CLASSPATH through the Web interface, and you will need to use the Expression Editor (Execute Java Method no longer exists).

But for now, congratulations.




This Discussion