• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 737
  • Last Modified:

Modem AT Command Usage, Cannot get hangup to work

I have a TRENDnet 56K (V.92) High Speed Internal PCI Data/Fax/Voice Modem.  I want to dial a phone number, wait for a second and then have the modem hang up.  

I am using the dialing string of "ATM0DT15555555555,;H"

The call goes through fine but the Hangup doesn't happen after the string is dialed.  I have to issue a second command of "ATH0".  This same dialing string as above works on other modems I have used but for whatever reason it is not working here.  I have tried several variations of the dialing string (long and short pauses) but it seems like whenever there is a ";" it doesn't execute the commands that follow.

Any help would be great!
0
freejaso
Asked:
freejaso
  • 2
  • 2
  • 2
  • +1
1 Solution
 
mb042Commented:
Have you tried putting some dummy numbers after the comma. Otherwise adjusting the S registers to limit the waiting time (Don't have the S list handy at the moment)
0
 
daluuCommented:
for a last resort, how about using rasdial.exe?

rasdial <dialup connection name> ....
//stuff to wait one second
rasdial /disconnect <dialup connection name>
0
 
CarlWarnerCommented:
"ATM0DT15555555555,,,H0"
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
CarlWarnerCommented:
Sorry, I got interrupted and posted something that was headed toward the direction I wanted to go and now I can't remember.  Disregard my post.  I'll get some sleep.  :)
0
 
freejasoAuthor Commented:
If I put numbers after the comma, I do hear the modem dial them.  However, if I do something like this:
"ATM0DT15555555555;,,1234" I do not here the 1234 being dialed.  It as if no commands are executed where there is a semi colon.
0
 
mb042Commented:
So what happens if you use "ATM0DT15555555555,,,1234H0", otherwise send an initial ATS7 to read the current value, then use ATS7=1 to set the hang up time to 1 sec after dialing.
0
 
freejasoAuthor Commented:
Sorry for the long delay.

Finally contacted an Engineer from TRENDnet and after much troubleshooting we found that a PCI modem would not work for the application I was using and only a external modem (hardware) would do the trick.  The PCI modem is a "sofware modem" and behaves differently. Unfortunately, the PCI Modem does not meet my needs.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now