Solved

ATDT problem

Posted on 1998-01-10
12
163 Views
Last Modified: 2013-12-27
I am using an old DOS dialer that I wrote to establish a connection and poll data from a point-of-sale system.  Everything works ok through the initialization (various AT commands) but when the ATDT[phone number] command is given, the modem responds with a list of stored phone numbers.  The dialer has worked fine with dozens of modems over the past 3 years.  I have just run into this problem with my LT Win Light modem running under Win95 and on another pc running Win95.
0
Comment
Question by:keith_mc
  • 4
  • 4
  • 2
  • +2
12 Comments
 
LVL 9

Expert Comment

by:magigraf
ID: 1144727
keith_mc...
These errors you get, are in DOS right??
Regards

0
 

Author Comment

by:keith_mc
ID: 1144728
I'm running in a DOS window under Win95.  

0
 
LVL 11

Expert Comment

by:alexo
ID: 1144729
I think that you have a Winmodem.  These critters are only good with native windows applications.

Let's test this theory:

Try to run an old DOS-based communications software abd see if it works.  If not - you have a certified peice of junk for a modem.

Also, what company made the modem?  I couldn't find any info on "LT Win Light" modems, are you sure that's the name?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 4

Expert Comment

by:jetx
ID: 1144730
just run the Win95 dialer. It's much easier.

plus WinModems has the reputation to run only on Windows based tcp/ip programs.
0
 

Author Comment

by:keith_mc
ID: 1144731
Other DOS programs seem to behave ok (i.e. procomm).  The modem is a LT Win modem in an off-the-shelf HP Pavilion.

Using the Win95 dialer isn't an option because the dialer needs to be automatically launched by another application at a preset time.  The whole process (dialing and polling of the registers) has to be unattended.  I would be happy to use another dialer like procomm or Win95's dialer if it would work.  My application would have to launch the dialer, passing the phone number as a command line parameter.  The dialer would then have to leave the connection open while my program launches a DOS app to do the polling.  The dialer would also have to give up control of the com port so the DOS app can run.  Finally, there needs to be a reliable way to hang up the phone after the polling is complete.

Thanks
0
 
LVL 2

Expert Comment

by:nebworth
ID: 1144732
    Check the modem from Hyperterminal.  Send an AT command from there.  I don't know the modem, but if it responds 'differently' to normal AT commands, then you'll just have to alter your dialer a little.  If it responds normally, then maybe there's something you've overlooked in the dialer.  Usually, spewing phone numbers is a result of an ATI or dump of the S Registers...
0
 
LVL 11

Expert Comment

by:alexo
ID: 1144733
BTW, it is possible to launch the Win95 dialer from another program (but that's a different question altogether).

0
 

Author Comment

by:keith_mc
ID: 1144734
Can we change the question?  I wouldn't mind using another dialer like the Win95 dialer.  I can launch that from my application easily enough.  The problem is passing the phone number since this will be an automated event.


0
 
LVL 2

Expert Comment

by:nebworth
ID: 1144735

   I wish I could see this modem...
0
 
LVL 11

Accepted Solution

by:
alexo earned 100 total points
ID: 1144736
OK, changing the subject.

You can use the RAS functions like RasDial().
Or, you can use TAPI functions like lineXXX() and phoneXXX().

See the Win32 SDK documentation for more help.
Reject this answer if it is not what you wanted.

0
 
LVL 11

Expert Comment

by:alexo
ID: 1144737
Ooops, submitted it too quickly...

You can also CreateFile() your serial port ("COM1") and use the ReadFile(), WriteFile() and the various Comm functions.

0
 

Author Comment

by:keith_mc
ID: 1144738
Since the problem only seems to occur with my dialer and since I need to get away from that DOS routine anyway, I think I'll pursue your suggestion.  Thanks.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Generating groups 1 45
Need a useable Wake On LAN solution that can run on a schedule. 5 69
ethernet cat5e lenght 80m 9 61
Varsity Logistics Speedwigh and AS/400 issues 18 48
Do you have a computer or other electronic gear that is attached to a rat nest of cables, or alternatively have your cables all bundled nice at neat?  If so then read this post to sidstep common pitfalls. When I was a student at DeVry University,…
This article will step through configuring a SonicWALL appliance to utilize an internal DHCP server for Global VPN Client (GVC) hosts.  There are times when using an external (external to the SonicWALL) DHCP server, such as Windows Servers, isn’t pr…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question