File system operation with IPCCX

Unanswered Question
Jul 25th, 2008

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.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
BCOLE2007 Fri, 07/25/2008 - 07:15

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

ifallani Wed, 07/30/2008 - 06:00

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!

BCOLE2007 Wed, 07/30/2008 - 06:15

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

Actions

This Discussion