|
|
|
|
|
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. 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:
| | tapiLineBusy | The line is currently busy. | tapiLineConnected | The line is connected. | tapiLineDialing | Dialing in progress. Note: If TAPI 3.1 technology is used, this constant is no longer returned. | tapiLineDialTone | The line gets a dial tone. | tapiLineDisconnected | The correspondent has hung up. | tapiLineProceeding | The call is dialed: looking for the person called. | tapiLineRingBack | Ringing in progress. |
<Parameter>: Variant Custom parameter passed to tapiDial.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|