IonicWind Software

IWBasic => General Questions => Topic started by: ckoehn on February 19, 2010, 06:20:04 PM

Title: ExceleTel Teletools
Post by: ckoehn on February 19, 2010, 06:20:04 PM
I have an OCX from ExceleTel that I have used with VB6.  Is there a way to make it work with EBASIC?

http://www.exceletel.com/products/teletools.htm

Thanks,
Clint
Title: Re: ExceleTel Teletools
Post by: LarryMc on February 19, 2010, 06:39:30 PM
See if this sheds any light on it for you:
http://www.ionicwind.com/forums/index.php/topic,3017.msg24880.html#msg24880

LarryMc
Title: Re: ExceleTel Teletools
Post by: ckoehn on February 19, 2010, 07:12:23 PM
Thanks for your reply Larry.  That looked a little deep for me.  It basically is a TAPI interface that has events attached to it and some special routines I think.  I'll dig around my system32 folder and see if there are any dll's.

Later,
Clint
Title: Re: ExceleTel Teletools
Post by: Copex on February 20, 2010, 04:47:56 AM

posted by someone somewhere. not me.

' Demo on how to use the phone dialer via API
' http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/mob5conTelephonyAPITAPI.asp
'
' Ibasic pro code
' before you can run this program you need to make an inport library for TAPI32.DLL
' (menu Tools, create import library. then select "TAPI32.DLL")

$USE "tapi32.lib"

DECLARE IMPORT, tapiRequestMakeCall(Dest:STRING,AppName:STRING,CalledParty:STRING,Comment:STRING), Int

DEF sPhoneNum,sTitle,sBuddy,sComment:STRING
sPhoneNum = "555-5555"
sTitle = "Personal Phone book"
sBuddy = "Pizza Palace"
sComment = "No Anchovies!"

' a return <> 0 indicates a failure
res = tapiRequestMakeCall(sPhoneNum, sTitle, sBuddy, sComment)
Title: Re: ExceleTel Teletools
Post by: ckoehn on February 20, 2010, 04:37:59 PM
Thanks for your help.  The thing I really liked about ExceleTel was you could point MS Text-to-Speech engine to that line and play TTS to the phone as well as accept DTMF digits.

Later,
Clint