Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

File system operation with IPCCX

Hi.

Anyone out there knows if is it possible to make some simple file system operations on a server hosting IPCCX 4.0 or later, like deleting a file or counting the files in a directory?

I need to create a script to write down the value of a variable in a file, save the file in a directory (that's the easy part), count how many files are in that directory and, if the number is greater than X, delete the last file.

Thank you for your help and suggestions.

3 REPLIES
Bronze

Re: File system operation with IPCCX

This could be done in a Java Class, returning the value to a CRS variable

To get started with the counting, look at this.

http://forums.sun.com/thread.jspa? messageID=2098775

and

their are a few good posts on this Cisco Forum, detailing how to get a Java Class exposed to the CRS system

I too am on 4.0

Good luck and please rate useful posts

Blair

New Member

Re: File system operation with IPCCX

Thank you BCOLE, but I'm trying to make it work without any success (I'm getting a lot of error inside the CRS editor...). Do you have any link to a document/example about how to work with Java Class in CRS?

Thak you again!

Bronze

Re: File system operation with IPCCX

have you uploaded it into CRS as a jar file into the default/classpath folder of documents?

here is a more detailed post of getting a Java Class Jar file made aware in the CRS system

http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&forum=Unified%20Communications%20and%20Video&topic=Contact%20Center&topicID=.ee6fe12&CommCmd=MB%3Fcmd%3Dpass_through%26location%3Doutline%40%5E1%40%40.1dda257e/10#selected_message

Blair

114
Views
0
Helpful
3
Replies