Re: Any way to communicate to modem via VFP to detect dialtone? by Beverly
Beverly
Wed Sep 05 12:05:03 PDT 2007
From the dim and distant past...
To answer the question you are asking, the modem will actually have to
go "offhook" and you will have to attempt a dial to determine if a
dialtone is present.
In most cases this is what you will need anyway... for example,
ATDT 1234567890
then check the comm buffer for a "NO DIALTONE" response...
If someone's on the line, the modem will pick up the line, but not dial
the string assuming the "wait for dialtone" S-register is set.
Next question, where are you headed with this... setting up an
autodialer for voice calls or making modem/fax data connections?
For voice, you will have to deal with the switchover as well as issuing
hangup commands along with some way to apologize for automatically
irritating humans.
Finally, modems used to be pretty complex for doing things such as
this... hardware switches, many extended commands, even voice
recognition and voice mailbox capabilities, but most of that has been
dropped with current modems. Used to be the "handset" line on the card
was cut off during modem operations which could be implimented as part
of the control senario.
Beverly Howard