PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Required configuration
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
tapiCallerID (Function)
In French: telNuméroAppelant
Used to find out the calling phone number (the one that calls).
Example
// Procedure used to find the phone number
// in the database of contacts
PROCEDURE FindIdentity(sPhoneNum)
// Format the phone number
sPhoneNum = Right(NoSpace(sPhoneNum), 9)
// Search in the address book
HReadSeekFirst(CONTACT, TelOnNine, sPhoneNum)
SI HFound(CONTACT) = True THEN
STC_NAME = CONTACT.Name
STC_FIRSTNAME = CONTACT.FirstName
STC_COMPANY = CONTACT.Company
STC_TEL = CONTACT.Telephone
ELSE
STC_NAME = "CONTACT NOT FOUND"
STC_FIRSTNAME = "CONTACT NOT FOUND"
STC_COMPANY = "CONTACT NOT FOUND"
STC_TEL = tapiCallerID(nCallID)
END
Syntax
<Result> = tapiCallerID([<Call Identifier>])
<Result>: Character string
Calling phone number.
<Call Identifier>: Optional integer
Identifier of the call to handle. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks
WINDEVUser code (UMC)

Required configuration

The telephony functions are using the TAPI 2.0 technology. This technology can be used on all the systems.
However, if the system used is Windows NT4, the service pack 4 (or later) must be installed.
Note: The TAPI 3.0 technology (and later) is not supported in this version.
Components
WINDEVReports and Queries wd230com.dll
Windows Mobile wp230com.dll
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment