WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Serial
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

pModemDial Clicking but not Audibly Dialing

Keywords: 	 pModemDial	  pulse tone

Question:

I'm using pModemDial with the following code, and I hear a clicking but the line never dials or connects:
port=pComOpen("COM2", 0, 19200, "7E1", "RTSRTS")
pModemCommand(port,"ATZ")       ;gratuitous
pModemInit(port) 
pModemParams(port,1,"10","AT")
pModemParams(port,1,"12","DT") ;set from default of pulse to tone dial
pModemDial(port,1,BBSPhone) ;only hear clicking

Answer:

The serial extender is set to pulse dialing by default, rather than to tone, but I can see that you've changed the settings to tone dial in your code above.

Make sure you don't have to dial something like a "9" to get out onto your phone line.

Also, you need to add more code af the pModemDial line. It doesn't actually do the phone dial until the extender sees another line of code after the pModemDial line since it thinks the script is over with that being the last line of code. Add the pModemConnect line to connect. (Or even simply putting a message box after the pmodemdial will cause the modem to start dialing the tel number).

port=pComOpen("COM2", 0, 19200, "7E1", "RTSRTS")
pModemCommand(port,"ATZ")       ;gratuitous
pModemInit(port) 
pModemParams(port,1,"10","AT")
pModemParams(port,1,"12","DT") ;set from default of pulse to tone dial
pModemDial(port,1,BBSPhone) ;only hear clicking
pModemConnect(port)

Article ID:   W14336
Filename:   pModemDial Clicking but not Audibly Dialing.txt
File Created: 1999:11:01:16:34:26
Last Updated: 1999:11:01:16:34:26