Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Jul : Using TAPI to make calls from within a Delphi App
| Subject: | Using TAPI to make calls from within a Delphi App |
| Posted by: | "Robert Priestley" (rpriestleyno@spamvectaplc.com) |
| Date: | Wed, 12 Jul 2006 15:50:31 |
Hi,
I have not utilised any TAPI functions before so am near the bottom of a
steepish learning curve.
Here is what I am trying to achieve: We have a customer with a Samsung CTI
phone system that is currently being used by Act! to make phone calls at the
click of a button from user client PC's. These PC's are setup to talk to a
Server via the "TCMSetup /C servername" command. This server is connected to
the samsung CTI phone system by a serial port.
Given that Act! is able to dial from a users phone, I was kind of hoping
that the mechanism was already in place and that I could use the
TAPI3_tlb.pas routines to request a call. I have tried using the assisted
TAPI method RequestMakeCall exposed by the ITRequest interface. Unfortunatly
all this does is invoke the windows dialler and fails to dial a number. I
have a test app that the customer is testing for me.
The client has just called and said that if he first sets up line options,
use line, in the windows dialler then my test APP does make a call, but the
windows dailer then also picks up other incoming calls which is not
desirable.
Apparently, in ACT!, the customer has a option to set which is their phone
line/extension. My call to RequestMakeCall simply supplies a number to call.
Basically, I feel I am missing something very important here, ie the ability
to select the extension no that is mine and somehow pass this to a TAPI
call.
If anyone can help me out at all here, I would be very grateful.
Thanks,
Rob.