ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Phone functions
  • Required configuration
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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)
IF 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 be handled. This identifier is defined in the WLanguage procedure called by tapiListen. The current call is handled if this parameter is not specified.
Remarks

Required configuration

Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.
Component: wd300com.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help