-
echo a modem command
I want to use a DOS echo command to test my internal modem for a dial tone, and its ability to hang up the telephone line. I forgot the two "AT" modem commands and how to do it.
My dial-up modem is listed as using COM5 and is testing good with the loopback test; namely using the More Info button displays the responses.
Also I can't hear my modem dial out, even though the modem speaker volume is all the way up. Did I modify something to keep it quiet? If so I don't remember where!
-
A modem that uses the Hayes' AT command set (most do) can be tested by simply echoing an AT command at a DOS/CMD prompt and redirecting it to the COM port. For example, the command:echo atdt > com1
should cause a modem on COM Port 1 to pickup the phone line and you should hear dial tone from the modem. Then the command:echo ath > com1
or:echo ath0 > com1
should cause the modem to hang-up, which should stop the dial tone.
To control the volume of the speaker, you can use the "ATM0" (off) though the "ATM2" (loud) command. For example:echo atm2 > com1
A list of many of the standard AT Command Set can be found on this page:
-
-