Topic
  • 1 reply
  • Latest Post - ‏2003-01-31T17:46:09Z by SystemAdmin
SystemAdmin
SystemAdmin
232 Posts

Pinned topic server modem script

‏2003-01-24T14:04:19Z |
ok... layout: webserver is running on redhat (remote). The modem is on FreeBSD (local). What is the best way to have users login to the remote website, enter the phone number to dial, then send the data to the local server and dial thru the modem? This scenerio will enable a voice over IP. Ultimate goal is to have clients use this service without long distance cost. My issue is communicating from the remote site back to the local modem and having the call take place. Please help!

Mucho Gracias
Updated on 2003-01-31T17:46:09Z at 2003-01-31T17:46:09Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    232 Posts

    Re: server modem script

    ‏2003-01-31T17:46:09Z  
    > ok... layout: webserver is running on redhat
    > (remote). The modem is on FreeBSD (local). What is
    > the best way to have users login to the remote
    > website, enter the phone number to dial, then send
    > the data to the local server and dial thru the modem?

    The canonical answer to all questions of this type is Expect. You'll be [i]very[/i] happy once you have a bit of Expect experience; it typically changes the live of administrators and those responsible for chores such as you describe.

    Start reading about Expect at http://wiki.tcl.tk/expect . Especially note information about autoexpect (http://wiki.tcl.tk/autoexpect), which might provide the most immediate answer for your situation.
    > This scenerio will enable a voice over IP. Ultimate
    > goal is to have clients use this service without
    > long distance cost. My issue is communicating from
    > the remote site back to the local modem and having
    > the call take place. Please help!
    >
    > Mucho Gracias