vincent li <[EMAIL PROTECTED]> writes: > my company have a hotline phone number, my boss want > me to write a script to dial this hotline randomly to > test if company's client service staff respond this > dialing quickly...the first thing is to connect a > modem to a linux box,and configure it.., second is to > write a shell script to dial hotline phone number, > right? > > what tool or unix command on linux i can use to make > this work? please give me a hand.
I'd think this can be done fairly painlessly using expect (http://expect.nist.gov/); maybe autoexpect might be interesting too to get you started (http://expect.nist.gov/doc/autoexpect.pdf is linked under Articles/Papers on the main page). A tutorial is available at: http://www.leto.net/docs/tcl.html Introductions/tutorials for tcl (the language expect is based upon) are collected here: http://mini.net/tcl/1304.html Hope this gets you started! (BTW: Tcl/Tk and expect are included as RPMs in the standard distribution of redhat since I don't know when). So long, Joe -- "I use emacs, which might be thought of as a thermonuclear word processor." -- Neal Stephenson, "In the beginning... was the command line" _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list