|
|
|
|
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(EDT_PhoneNumber, "LineStatus")=True THEN Info("Click OK to hang up") tapiHangUp() END PROCÉDURE TestLineStatus(ValueLineStatus is int) SWITCH ValueLineStatus CASE tapiLineBusy: Message("The line is busy") CASE tapiLineConnected: Message("OK, connected") CASE tapiLineDialing: Message("Dialing in progress") CASE tapiLineDialTone: Message("Dial tone") CASE tapiLineDisconnected: Message("The correspondent has hung up") CASE tapiLineProceeding: Message("Searching for your correspondent") CASE tapiLineRingBack: Message("Ringing") 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. Remark: 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: searching for the correspondent. | tapiLineRingBack | Ringing in progress. |
<Parameter>: Variant Custom parameter passed to tapiDial.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|