Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caller ID for VFP

Status
Not open for further replies.

dkean4

Programmer
Feb 15, 2015
282
US
There are so many sites and I found nothing worth while pursuing. I just need to get the caller ID from the modem directly and I'm not sure how to fetch the result of the AT commands used to get command line replies.


Alternatively, I understand that it is possible to get the Caller ID info from SIP (Session Initiation Protocol), but other than the Wireshark analyzer, I do not know how to access and prune SIP.

Any tip would be appreciated.


Dennis
 
Hi Dennis,

the easiest way to get the Caller ID is to use an ActiveX Control, cause an ActiveX Control is generating an event on an incoming call, passing the Caller ID as a parameter.

- googling for tapi activex: Link

- or googling for caller id activex: Link

The advantage of using such a TAPI ActiveX Control is also, that You don't have to use the basic TAPI functions, structures, constants, messages, etc. - and since there are many many . . .

. . . Microsoft TAPI 2.2 Reference: Link (I don't advise!)

Regards, Stefan
 
jrbbldr,

Thank you, I am thoroughly familiar with the AT commands and my modem has Caller ID. In 1989 I was using modem AT commands with FoxPro 2.0 to dial out numbers from VFP apps. But writing the AT commands and reading them from the modem is not the same. I was hoping that there was some new layer to facilitate that, 30 years later.

Thank you again for your help.


Dennis
 
Stephan,

You said: ". . . Microsoft TAPI 2.2 Reference: Link (I don't advise!)"

This is exactly what I wanted. Thanks so much.

The ActiveXs are priced to make a grown man cry. ABTO starts with $1500. Others promise this and that, but the ActiveX is either incomplete, has bugs, does not have a good mix of features and I can go on. Your third option is a winner...


Dennis
 
I was not suggesting that you were not familiar with modem AT commands.
Instead I was suggesting that you might need to determine if your specific modem supported Caller ID.
Apparently you do not need that since you already know that your modem supports it.

I was hoping that there was some new layer to facilitate that, 30 years later.

Other web references such as:
suggest that:
The AT commands for extended operations vary between modem makes and models.
No, there is no standard for controlling the modem's calling line feature.
The more command strings are:
AT+VCID=1
AT+CLIP=1
AT#CID=1
AT%CCID=1
AT#CC1
AT*ID1​
And in the following PDF document this modem vendor makes reference to setting up and reading the Caller ID

With all that in mind you could certainly use trial and error to see if something worked.
Or you could contact your modem vendor to find out how to get what you need from their modem.

Good Luck,
JRB-Bldr
 
Hi Dennis,

I am glad that I could help You anyway :)

You can also google for microsoft tapi to get a complete list of matches.

Regards, Stefan
 
jrbbldr,

I was not offended and to the contrary appreciate your replies very much. Just wanted to let you know what I am familiar with, to get at the solution.

The truth is that I do not know too much anyway, else I would not be asking.

Thanks for your kind replies, jrbbldr.

 
Thanks, Stefan, Tapi is very interesting and I will take some time to mess with it. Your help is very appreciated...


Dennis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top