Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-11

TAPI for Linux?

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Anybody know what is the equivalent for Microsoft TAPI but under the Linux platform? Our windows applications can use TAPI to dial phone numbers stored in our applications Contacts screen. I'd like to implement something like that when running under Linux as well.

Any ideas?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Daniël Mantione
to Graeme Geldenhuys

Op Fri, 2 Nov 2007, schreef Graeme Geldenhuys:

Show quoted text 6 lines
Hi, Anybody know what is the equivalent for Microsoft TAPI but under the Linux platform? Our windows applications can use TAPI to dial phone numbers stored in our applications Contacts screen. I'd like to implement something like that when running under Linux as well.

ISDN4Linux. You make the computer dial a number for an analog speech service, then send an ISDN diversion command to the phone that you want to use for the conversation.

Daniël

Reply by email

ik
to Daniël Mantione
Daniël Mantione wrote 14 lines
Op Fri, 2 Nov 2007, schreef Graeme Geldenhuys: > Hi, > > Anybody know what is the equivalent for Microsoft TAPI but under the > Linux platform? Our windows applications can use TAPI to dial phone > numbers stored in our applications Contacts screen. I'd like to > implement something like that when running under Linux as well. ISDN4Linux. You make the computer dial a number for an analog speech service, then send an ISDN diversion command to the phone that you want to use for the conversation.

One problem with ISDN: You need a phone line that supports it, and the way ISDN card works (even if you do not use the ISDN itself, if the line is not supported, the line will not work at all when you will connect it into the card). And at least where I live, it is not that trivial.

Daniël

Ido

Reply by email

Daniël Mantione
to ik

Op Fri, 2 Nov 2007, schreef ik:

Show quoted text 21 lines
On 11/2/07, Daniël Mantione wrote: > > > Op Fri, 2 Nov 2007, schreef Graeme Geldenhuys: > > > Hi, > > > > Anybody know what is the equivalent for Microsoft TAPI but under the > > Linux platform? Our windows applications can use TAPI to dial phone > > numbers stored in our applications Contacts screen. I'd like to > > implement something like that when running under Linux as well. > > ISDN4Linux. You make the computer dial a number for an analog speech > service, then send an ISDN diversion command to the phone that you want to > use for the conversation. One problem with ISDN: You need a phone line that supports it, and the way ISDN card works (even if you do not use the ISDN itself, if the line is not supported, the line will not work at all when you will connect it into the card). And at least where I live, it is not that trivial.

It is true that ISDN is mainly an European technology and you will find public phone exchanges based on ISDN technology mainly in Europe. However, any modern phone exchange for use in office environments supports an internal ISDN bus, regardless wether the "uplink" to the public exchange is analog, ISDN or VoIP.

Daniël

Reply by email

Michał Niklas
to Graeme Geldenhuys: Anybody know what is the equivalent for Microsoft TAPI but under the Linux platform? Our…

Graeme Geldenhuys pisze:

Show quoted text 7 lines
Hi, Anybody know what is the equivalent for Microsoft TAPI but under the Linux platform? Our windows applications can use TAPI to dial phone numbers stored in our applications Contacts screen. I'd like to implement something like that when running under Linux as well.

Hello,

I successfully used asterisk to dial from both Windows and Linux clients, especially web browsers.

How to do it?
1. install and configure asterisk: free & open source pbx with many protocols
SIP, IAX, ISDN (some included some as add-ons): http://www.asterisk.org/
2. install web server
3. make simple cgi script that creates call file for asterisk: http://www.voip-info.org/tiki-index.php?page=Asterisk+auto-dial+out
4. call that cgi script from your application with simple HTTP query

We replaced our old plain PBX with much more configurable asterisk.

Regards,
Michal

Reply by email