Jump to: navigation, search

Remove Metadata of Expired Voicemail Messages

Feature Server release 8.1.201.88 includes the following python script:

  • removeExpiredMessages.py—Removes expired messages.

You can run this python script on the master Feature Server instance to remove metadata of expired voicemail messages.

Deploy the Python Scripts

  1. On the master Feature Server instance:
    • For 8.1.202.10 and later versions of Feature Server, copy the jython-standalone-2.7.1b2.jar file from <FS installation path>\work\jetty-x.x.x.x-pppp-fs.war-_fs-any-\webapp\WEB-INF\lib to <FS installation path>\python\.
    • For 8.1.202.09 and previous versions of Feature Server, copy the jython-2.7b1.jar file from <FS installation path>\work\jetty-x.x.x.x-pppp-fs.war-_fs-any-\webapp\WEB-INF\lib to <FS installation path>\python\.
  2. Open console and navigate to <FS installation path>\python\util, which contains the scripts.
  3. Copy both the above-mentioned python scripts to the path <FS installation path>\python\.
  4. Enter the command to set JYTHONPATH:
    Windows
    set JYTHONPATH=<FS installation path>\python
    Linux
    export JYTHONPATH=<FS installation path>/python


Important: This content is restricted and not viewable without a login supplied by Genesys. The information contained in this documentation is not considered final and is managed under the terms and conditions found in the Pre-release Agreement. This documentation provides the most up-to-date reference information available for this pre-release version and is restricted for use by those who have signed the Pre-release Agreement with Genesys to acquire an early version of the software.

Run the Python Scripts

The following python script enables you to remove metadata of expired voicemail messages.

Use this command line format to run each script for 8.1.202.09 and previous versions of Feature Server:

java -jar jython-2.7b1.jar <scriptname>.py <script input parameters>

Use this command line format to run each script for 8.1.202.10 and later versions of Feature Server:

java -jar jython-standalone-2.7.1b2.jar <scriptname>.py <script input parameters>

Remove metadata of expired voicemail messages

  1. Ensure that all Feature Servers are up and running.
  2. Run removeExpiredMessages.py.


Sample Command Line

A sample command line to run the script for 8.1.202.09 and previous versions of Feature Server:

java -jar jython-2.7b1.jar removeExpiredMessages.py -H localhost -p 9160 -o ./removeExpiredMessages.log

A sample command line to run the script for 8.1.202.10 and later versions of Feature Server:

java -jar jython-standalone-2.7.1b2.jar removeExpiredMessages.py -H localhost -p 9160 -o ./removeExpiredMessages.log

Run as a scheduled task

If you are using Feature Server version 8.1.202.00 or above then you can schedule the delete-expired-messages task as described in the Scheduled maintenance tasks page.

Feedback

Comment on this article:

blog comments powered by Disqus
This page was last modified on September 23, 2018, at 22:54.