Method: Answer


Function:

 

Answer an incoming call.

     

Parameters:

 

None

     

Description:

 

Use this Method to answer the phone when a "ringing" event is raised.

     

Dependencies:

 

The "ringing" event must be raised before you execute this Method.

     

Events Raised:

 

A Connected event will be raised on successful execution of  this Method.

     
     

Sample Code In Visual Basic:

The following code shows how to answer an incoming call after the second ring.

 

Sub VoiceAngel1_ring(LineIndex as integer ,RingNumber as integer)

     VoiceAngel1.CurrentLineIndex = LineIndex 'Set the current line to operate.

     if RingNumber=2 then

         VoiceAngel1.Answer

     end if

End sub