Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting Data from IVR

Status
Not open for further replies.

hokey817

MIS
Apr 13, 2004
31
US
I am need of a little help with my Avaya UCS100 (conversant/IVR). I am currently storing data on a certain call and need to relay this data to our customers. It gets very time consuming pulling this data off of the system and putting it on an excel spreadsheet or an FTP file. Is there a way to have the conversant do this automatically periodically? I know cron jobs can run reports, but can they actually send the data to ftp files?

Thank you for any help you can give me.
 
It is possible,


everything you need is to put FTP shell script into the crontab. System will do it according the time written into the cron.If you need FTP shell script that will send file just let me know.


BTW what do you mean of 'ftp files'?
GuzaPasha
 
Thank you GuzaPasha, I do have automatic crontab scripts that I run to print out on printers, but not to files, I would love to see them if you could send them to me, however, will that give me the capability to export them to an internet file.
 
Here it is. This script will send a file named 'file.txt' from 'directory1' on the IVR to 'some_directory' on a FTP server.

#!/bin/ksh
#set -x command is used for tracing
set -x

# IP address of the FTP server
HOST='192.168.0.100'
# username and password
USER='username'
PASSWD='pass'
FILE="file.txt"

cd /directory1/
/bin/ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
cd some_directory
put $FILE
quit
END_SCRIPT

exit 0

Create a file from this script, put it ext sh as 'ftpshell.sh', and put it into the crontab. Before you put it into the cron, just test it by typing ftpshell.sh from cmd line. If you need anything else, just let me know.

GuzaPasha
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top