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

How To Declare TAPI functions In Visual Basic

Need Help and Advise...!!! I'm developing a telephony software to handle DTMF signals from the caller on Windows "95 platform using VB4. The problem is that I don't know how to use the TAPI functions and how to declare it in the modules ,how to send the TAPI Functions / Commands to the modem so that the Modem can receive the DTMF signals. I have tried the MSCOMM OCX Control of the VB4 but it doesn't detect the signal as a receive OnComm signal. I am still very new to the telecommunication programming. I would really appreciate and very much thankfull if anyone could help me in detail on how to go about these things.

Thank you.
Joe.
e-mail : bocs@tm.net.my
Malaysia.




0
bocs
Asked:
bocs
  • 2
1 Solution
 
bocsAuthor Commented:
Edited text of question
0
 
Rishi080198Commented:
I am giving you the declaration of a TAPI function and hope it will solve your problem. If you need further assistance please let me know as I am also busy implementing TAPI features in my application.

The following function is used to dail a number automatically.

Declare Function tapiRequestMakeCall Lib "TAPI.DLL" (ByVal lpszDestAddress As String, ByVal lpszAppName As String, ByVal lpszCalledParty As String, ByVal lpszComment As String) As Long


0
 
bocsAuthor Commented:
Thank you Rishi...

But with this function I was unable to detect the incoming DTMF signals.. May be I might have gone wrong somewhere... But I did try a few times but the incoming signals were not detected. If you have any other functions that I can use to detect the incoming DTMF signals and how to go about using it in the program coding, please let me know, I'll be very happy to hear from you. Thanks again..

Regards,
J. Joe Tharmaraja
bocs@tm.net.my
0
 
MirkwoodCommented:
Bought This Question.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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