Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

perl TCP/IP into lucent phone switch?

by nop (Hermit)
on Mar 01, 2001 at 19:34 UTC ( [id://61567]=perlquestion: print w/replies, xml ) Need Help??

nop has asked for the wisdom of the Perl Monks concerning the following question:

My company runs a series of "Historical Reports" against an Avaya (formerly Lucent, formerly AT&T) CMS v5 running on a Sun Sparc 5. We connect to CMS over TCP/IP by telneting into the system. The CMS software uses vt100 emulation to perform screen painting so the screen is not scrolling. Currently, we run the reports "by hand", tediously pecking at the menus, and saving the result screens to print files. Generating reports by agent (for several hundred agents) is really laborious. Buying a custom report from the phone company would be inflexible and prohibitively expensive....

Any Monks out there have experience using perl to automate this pecking and printing process?
Any experience dealing with this sort of switch?

Many thanks!

nop

Replies are listed 'Best First'.
Re: perl TCP/IP into lucent phone switch?
by strredwolf (Chaplain) on Mar 01, 2001 at 22:57 UTC
    It sounds like you need to capture the telnet stream to a file and analyze this. Check Net::Telnet.

    --
    $Stalag99{"URL"}="http://stalag99.keenspace.com";

(bbfu) (expect) Re: perl TCP/IP into lucent phone switch?
by bbfu (Curate) on Mar 02, 2001 at 02:10 UTC

    I feel compelled to make the obligatory suggestion to use Expect (though I don't actually know how to use it).

    HAND   :-P

    bbfu
    Seasons don't fear The Reaper.
    Nor do the wind, the sun, and the rain.
    We can be like they are.

      Hi bbfu,
      Did you have any luck using the expect module?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://61567]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2024-04-26 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found