Expect Script to automate Telnet login and Logs to File and Print Output.
Hi I am try to get an expect script to telnet and login to a Panasonic and collect the call log to a file and print the new lines as calls are completed.
I am able to login successfully and write call to a log file, but can not print the output.
send "open 192.168.0.101 2300\r"
expect "Connected to 192.168.0.101."
expect "Enter Password:"
# timout while testing
set timeout 60
#will never match
Thanks in Advance
Last edited by whatsup; 03-15-2016 at 10:46 AM.
Reason: add addiy