contents.gifindex.gifprev1.gifnext1.gif

RejectCall method

This method is used to reject an incoming call on a telephone line. When a call is received on a line, the IncomingCall event is fired to your program. The IncomingCall event signals your program that a connection is available. To reject the connection, your program will need to call this method.

If your program needs to accept the call, it should use the AnswerCall method. When an IncomingCall event is received, either the RejectCall method or the AnswerCall method must be used. If neither is used, then the line will be unable to accept any future incoming calls.

Arguments: None.

Returns: A long integer status code (see ActiveAG Status codes)

Property interactions: None.