Declaration
Visual C#:
void NewCall(string Number, integer Status);
Visual C++:
void NewCall(CString Number, long Status);
Visual Basic:
Private Sub NewCall(ByVal Number As String, ByVal Status As Integer)
Delphi:
property NewCall(Number : String; Status : Integer);
Parameters
Number
The phone number of the call event.
Status
1 : Incoming Call.
2 : Outgoing Call.
3 : Call Start.
4 : Call End.
5 : Remote End.
6 : Local End.
7 : Unknown.
Remarks
When an incoming call triggers the event, call AnswerCall or EndCall method to answer or reject this call. After the call is answered, call SendDTMF method to send DTMF tones. If the RejectIncomingCall property is set to 1, the call will be directly rejected after the event is triggered.
See Also AnswerCall, EndCall, SendDTMF, DialCall