-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: LovedJohnySmith
Message 3 in Discussion
Satheesh:- Before going to start your project, first decide whether you
gonna use TAPI 2.2 SDK or TAPI 3.0(H323 line) as well as whether you gonna use
PSTN(switch) or MODEM? Based on your selection, you can design your
application in easier. For example, How to establish data call using TAPI 3 in
C#
At first, add reference to Microsoft TAPI 3.0 Type Library (at Project/Add
Reference/COM).
ITAddress myAddress = [your device];
String myNumber = [phone number];
ITBasicCallControl myCall = myAddress.Create(myNumber,
TapiConstants.LINEADDRESSTYPE_PHONENUMBER,
TapiConstants.TAPIMEDIATYPE_DATAMODEM);
myCall.Connect(true);
byte[] id =
(byte[])((ITLegacyCallMediaControl2)call).GetIDAsVariant("comm/datamodem");
Now first four bytes of id contains overlapped file handle. So you can use
standard API. After use don't forget to close the file handle.
More information at MSDN Library (don't be confused that this link points to
TAPI 2.2). Please have a look at the following URL for H323 line TAPI 3.0
development. http://www.codeproject.com/csharp/DevangPro.asp Also, See
Andreas TAPI and TSPI FAQ:
Q: Are there any KB articles on TAPI available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Are_there_7
Q: Are there any .NET wrappers for TAPI2 available ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Are_there_4
Thanks, Smith http://spaces.msn.com/johnysmith
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]