?
Solved

Modem AT Command Usage, Cannot get hangup to work

Posted on 2007-10-19
7
Medium Priority
?
731 Views
Last Modified: 2013-12-27
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
Comment
Question by:freejaso
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 4

Expert Comment

by:mb042
ID: 20113180
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
 
LVL 4

Expert Comment

by:daluu
ID: 20113696
for a last resort, how about using rasdial.exe?

rasdial <dialup connection name> ....
//stuff to wait one second
rasdial /disconnect <dialup connection name>
0
 
LVL 33

Expert Comment

by:CarlWarner
ID: 20113797
"ATM0DT15555555555,,,H0"
0
What Security Threats Are We Predicting for 2018?

Cryptocurrency, IoT botnets, MFA, and more! Hackers are already planning their next big attacks for 2018. Learn what you might face, and how to defend against it with our 2018 security predictions.

 
LVL 33

Expert Comment

by:CarlWarner
ID: 20113890
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
 

Author Comment

by:freejaso
ID: 20124718
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
 
LVL 4

Expert Comment

by:mb042
ID: 20127684
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
 

Accepted Solution

by:
freejaso earned 0 total points
ID: 21121434
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Introduction to Processes
Starting up a Project
Suggested Courses
Course of the Month15 days, 12 hours left to enroll

850 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