Solved

VB and Modem

Posted on 2003-10-24
6
292 Views
Last Modified: 2012-05-04
I've a motorola sm56 pci spearkerphone modem which has called id detection facility. i wud like to make an application using the mscomm control of vb to trap the caller id recieved by the modem and show in a text box. any ideas how to accomplish this?
i tried the oncomm event but failed.
0
Comment
Question by:skbandi
  • 2
  • 2
6 Comments
 

Author Comment

by:skbandi
ID: 9619090
hi moderator,
plz shift this question to VB Controls area
0
 
LVL 1

Expert Comment

by:CycLonE
ID: 9619844
Hey skbandi,

The Microsoft modem control does not support this feature directly, that is to say caller ID is supported by a special command sent to your modem, thus caller ID depends on your modem rather than on the ms modem control.

first check to see if your modem support caller ID then

you can use these command to send to your modem using the MScomm control.

If your modem's hardware supports Caller ID, use the V.253 standard command AT+VCID=n command, where
n=0 disables Caller ID
n=1 enables formatted display
n=2 enables unformatted display

Good Luck ;-)
0
 

Author Comment

by:skbandi
ID: 9621465
Hi CycLonE,
i tried it but failed. can u tell me the sequence of operation. suppose my appication is waiting for a call with the portopen method. then if a call comes, it fires a oncomm event and recieves RING from the modem, but the caller Id info is passed between the 1st and the 2nd rings by the telecom company. so how can i catch that? if u can provode me with some logic and code, i really appreciate it. coz the msdn help abt the mscomm control is not sufficient, neither the modem manual with its list of AT commands.
my modem has callerid feature.
0
 
LVL 1

Accepted Solution

by:
CycLonE earned 75 total points
ID: 9641208
Sure it's a very simple process:

To send commands to the modem using the MSCOMM control:
say mscomm name is "MSComm1"
- "AT" is used before any command.
- the Chr$(13) or return is used after each command.
- the command line would be:
MSComm1.Output = "ATVCID=n" & Chr$(13), where :

n=0 disables Caller ID
n=1 enables formatted display
n=2 enables unformatted display
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now