Question

I am a little new to Delphi TAPI and Phone integration. So please forgive my greenness. I am trying to make a Delphi [XE2] application dial my IP phone without using the Dialer.exe

I have successfully implemented the ITRequest::MakeCall method but this passes the call off to dialer.

Is there a way to bypass Dialer and send a call directly to my telephony provider?

my telephony provider is Jive Desktop TSP

Was it helpful?

Solution

Your question is a bit old but I think I can help if you are still interested.

What you want is actually pretty easy. You can use your provider's TSP via the Telephony Service's Tapi 2.0 interface. This is quite a read and it may be frustrating because it deals with all kinds of functions that you don't need. All you need is to call 'LineInitializeEx', 'LineOpen' and 'LineMakeCall'. That's it (although for closing you should also call LineClose and LineShutDown). These functions call all be played with in an interface test tool called the Tapi Browser. Download here from this site.

Furthermore, you need the Delphi implementation of the interface. You can download that from the Jedi project here. One last remark: take some caution when using older implementations as most will be pre-Delphi2010 and may have ansistring type strings.

Good luck!

OTHER TIPS

The key search term here is SIP. You need a library for Delphi that supports SIP telephony, which is different from the telephone lines supported by TAPI, and there are a number of such libraries listed in this Stack Overflow answer. I have had good success with the library from sipcomponents.com which is not one of those included in the earlier list.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top