ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Phone functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
WLanguage procedure called by tapiDial
Procedure ("Callback") called by tapiDial to manage the progress of the dialing process. This procedure can be a local, global or internal procedure.
Example
IF tapiDial(SAI_NuméroTéléphone, "TestEtatLigne") = True THEN 
	Info("Cliquez sur OK pour raccrocher") 
	tapiHangUp() 
END
PROCEDURE TestEtatLigne(ValeurEtatLigne is int) 
SWITCH ValeurEtatLigne 
	CASE tapiLineBusy: Message("La ligne est occupée") 
	CASE tapiLineConnected: Message("OK, connecté")
	CASE tapiLineDialing: Message("Numérotation en cours") 
	CASE tapiLineDialTone: Message("Tonalité")
	CASE tapiLineDisconnected: Message("Le correspondant a raccroché")
	CASE tapiLineProceeding: Message("Recherche du correspondant")
	CASE tapiLineRingBack: Message("Sonnerie chez le correspondant")
END
Syntax
tapiDial_Callback(<Status of the line> , <Parameter>)
<Status of the line>: Integer
Corresponds to one of the following values:
tapiLineBusyThe line is currently busy.
tapiLineConnectedThe line is connected.
tapiLineDialingDialing in progress.
Note: If TAPI 3.1 technology is used, this constant is no longer returned.
tapiLineDialToneThe line gets a dial tone.
tapiLineDisconnectedThe correspondent has hung up.
tapiLineProceedingThe call is dialed: looking for the person called.
tapiLineRingBackRinging in progress.
<Parameter>: Variant
Custom parameter passed to tapiDial.
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help