I've been programming simple things in C# for a while now. But currently I'm working on a project. What I want to do is detect when there is an incoming phone-call and get the number that's calling me. For so far I tried searching the web for a while but no success.
So there are two things I don't understand:
- How do I add a TSP?
- How do I receive information the signal/TAPI?
Description situation:
When there is a phone-call incoming it first get to a telephone central who will direct it to a telephone. While he redirects it it also sends a signal to the computer. It's a Panasonic telephone central.
I hope someone can give some answer or advice.
Thanks in Advanced,
Christian Selten
Submitted via EggHeadCafe - Software Developer Portal of Choice
Build a Script-Only ASP.NET 2.0 Data Editing Page
http://www.eggheadcafe.com/tutorials/aspnet/274279bd-d101-4925-9857-246a66a85014/build-a-scriptonly-aspn.aspx
Christian,
TSPs ar either added manually by the user via Control Pabnel / Phone and
Modem Options / Advanced / Add...
or programmatically via lineAddProvider(), e.g. from a setup.exe.
> - How do I receive information the signal/TAPI?
You want to take a look at the MS samples from P-SDK:
http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html
and the TAPI test tools (with open source) from JulMar:
http://www.julmar.com/tapi/
> Description situation:
> When there is a phone-call incoming it first get to a telephone central
> who will direct it to a telephone. While he redirects it it also sends a
> signal to the computer. It's a Panasonic telephone central.
Regarding TAPI and .NET see KB article "841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code".
http://support.microsoft.com/kb/841712
Please have a look at the following freely available TAPI2 (#2,3,4) / TAPI3
(#1) wrappers:
#1) JulMar's ITAPI3 - TAPI 3.0 wrapper for .NET 2.0
existing TAPI3.0 code based on TAPI3 interop can easily be ported
http://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx
#2) JulMar's ATAPI.NET.
TAPI 2.x managed library for application development
http://www.julmar.com/tapi/
#3) Helen Warn's C# TAPI2 Wrapper is now available as version 1.2.0.1 with a
small TestApp both for Visual Studio 2005.
Helen agreed that I put the wrapper and sample on my server for download:
http://www.i-b-a-m.de/AgileSoftwareInc/HelenWarnCsharpTapi2LibraryWrapper_Version_1_2_0_1.zip
#4) Angus Comber's Cuba Control:
http://www.iteloffice.com/products/cti_api.html
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto� Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.
Christian Selten
Andreas Marschall [exMVP TAPI] wrote:
<Christian Selten> schrieb im NewsbeitragChristian,TSPs ar either added
05-Jan-10
<Christian Selten> schrieb im Newsbeitrag
Christian,
TSPs ar either added manually by the user via Control Pabnel / Phone and
Modem Options / Advanced / Add...
or programmatically via lineAddProvider(), e.g. from a setup.exe.
You want to take a look at the MS samples from P-SDK:
http://www.tapi.info/default.aspx/TAPI/PSDKSamples.html
and the TAPI test tools (with open source) from JulMar:
http://www.julmar.com/tapi/
Regarding TAPI and .NET see KB article "841712 - Telephony Application
Programming Interface (TAPI) functionality is not supported from managed
code".
http://support.microsoft.com/kb/841712
Please have a look at the following freely available TAPI2 (#2,3,4) / TAPI3
(#1) wrappers:
existing TAPI3.0 code based on TAPI3 interop can easily be ported
http://www.julmar.com/blog/mark/CategoryView,category,Tapi.aspx
TAPI 2.x managed library for application development
http://www.julmar.com/tapi/
small TestApp both for Visual Studio 2005.
Helen agreed that I put the wrapper and sample on my server for download:
http://www.i-b-a-m.de/AgileSoftwareInc/HelenWarnCsharpTapi2LibraryWrapper_Version_1_2_0_1.zip
http://www.iteloffice.com/products/cti_api.html
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto? Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion. Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no
rights.
Previous Posts In This Thread:
Submitted via EggHeadCafe - Software Developer Portal of Choice
Secure Session State Transfer: ASP to ASP.NET
http://www.eggheadcafe.com/tutorials/aspnet/19f8d04a-6bce-4ee0-8d6e-1ef18cbb92e1/secure-session-state-tran.aspx
Christian, you are welcome.
--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK / Visual C++ 2003-2008
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto� Tools (a collection of free, mostly TAPI related tools):