[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Send and receive modem status

Posted on 2002-06-05
10
Medium Priority
?
231 Views
Last Modified: 2013-12-27
I have a PC,Connected to the telephone line through modem which is

connected to COM serial port.The remote system has also the same

arrangement.Logically represented as bellow.


RECEIVER          SENDER

PC NAME - A          PC NAME - B
PC (Win 2000)          PC (Win 2000)
Port I/O component     Port I/O component
COM Port - 2          COM Port - 2
Modem(ace modem)     Modem(ace modem)
TELEPHONE(4344478)     TELEPHONE(4356496)



I am dialing PC-B from PC-A .PC-B must send the dialing status to

PC-A.How can it be done ?

For example if PC-B telephone status is BUSY/CONNECTED/NO DIAL TONE

then i must just receive this status value in PC-A.

NOTE:
For dialing i am using AT+DT4356496 Modem command.
0
Comment
Question by:vcppmfc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
10 Comments
 
LVL 31

Expert Comment

by:rid
ID: 7056218
I don't know if I understand you correctly, but I think the different states mentioned is captured by interpreting the status of the line, as seen from the PC "A" modem.
Busy tone signal OR Connected OR No dial tone, represent three different states, that are identifiable by the human ear, too. No communication can in fact take place between the PC:s in the cases of Busy or No dial tone. "Connected" means that a carrier is detected and that handshaking procedure has completed successfully between the modems. I don't think the handshaking actually needs PC intervention.

Regards
/RID
0
 

Author Comment

by:vcppmfc
ID: 7058485
While dialing PC-B from PC-A ,I want to know the status of PC-B.Like Ringing/no of ring elapsed/Connected/Line busy/no dial tone.This status has to be capture by the PC-A's I/O Component and then finally displayed by the dialing application.Kindly give the set of <AT> Commands involved in it.
0
 

Author Comment

by:vcppmfc
ID: 7058491
>>that are identifiable by the human ear, too

Pl note that no human intervension is required in my project.
0
Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

 
LVL 31

Expert Comment

by:rid
ID: 7058608
I think I misunderstood your Q; it seems you are creating your own application?
Anyway I would like to point out that the states you want to have reported -
"Ringing/no of ring elapsed /Connected/Line busy/no dial tone" - are info that comes from the dialling modem. Only after connection is established can you get anything from PC-B.

Try establishing a connection by using a terminal program, like old "Terminal" from win3.11. You will see info from your modem about these things in plain text after you issue a dial command. Like:
ATDT123456
No dialtone
as an example.
I think this is just an ASCII string coming back from the modem; I suppose you could catch that in your app.

About the human ear thing: I meant that the line status is identified, from the dialling party, by quite straightforward signals that are audible (dial tone, ring signal, busy signal, carrier "hiss") and I think the modem identifies these conditions in its own way.

Regards
/RID
0
 

Author Comment

by:vcppmfc
ID: 7061135
I understand that i can get PC-B status unless connection is established with it from you comments.
OK then how do i get the modem(PC-A) status( 1 RING ,2 RING,3 RING and So ...).

Give me modem <AT> Commands for it.I am more keen about the <AT> Command and the out put at this stage.So pl give the <AT> Commands to complete this task soon.
0
 
LVL 31

Accepted Solution

by:
rid earned 400 total points
ID: 7061265
Here is a place for info. Search the net for "at commands" and you'll get a lot of hits.

http://www.zoltrix.com/support_html/modem/USEMODEM.HTM

There is a "standard" set of AT commands for the Hayes compatible modems, but most modems have, in addition, a number of proprietary commands. You'll need the modem documentation.

Regards
/RID
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 7150622
Still open today, do you still need help?

If an Expert here helped you resolve this, please convert their comment to the Accepted Answer to grade and close this.  If more is needed, please provide an udpate.

Expert input with closing recommendations not only welcome but most appreciated so we can bring this to a conclusion if Asker doesn't give us an update here.

Thanks a lot,
":0) Asta
0
 
LVL 31

Expert Comment

by:rid
ID: 7151060
A pity noone else hooked on here... I think the problem could have been solved with the use of modem documentation and a few practical experiments with a terminal program.

Refund and PAQ?

/RID
0

Featured Post

Looking for the Wi-Fi vendor that's right for you?

We know how difficult it can be to evaluate Wi-Fi vendors, so we created this helpful Wi-Fi Buyer's Guide to help you find the Wi-Fi vendor that's right for your business! Download the guide and get started on our checklist today!

Question has a verified solution.

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

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…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

650 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