TApxModem.OnModemLog

TApxModem

property OnModemLog : TModemLogEvent
TModemLogEvent = procedure(
Modem : TApxCustomModem; LogCode : TApxModemLogCode) of object;

Defines an event handler that is generated at designated points during a dial or answer attempt.

The primary purpose of this event is to give the application a chance to log auditing information about telephone calls and whether they succeed or fail. This event is intended primarily for high-level logging, not to determine program flow.

Modem is the TApxCustomModem that generated the event. LogCode is the TApxModemLogCode that described the event being logged.

TApxModemLogCode can be one of the following:

Log code
Meaning
mlNone
None
mlDial
Dialing
mlAutoAnswer
Initiated AutoAnswer
mlAnswer
Answering an incoming call
mlConnect
Connected
mlCancel
Call cancelled
mlBusy
Called number was busy
mlConnectFail
Connection attempt failed

See also: ModemLogToString