The VoipMediaEngine class is the primary class for accessing all the capabilities of the LanScape VOIP Media Engine.

The VoipMediaEngine..::.INCOMING_CALL_INITIALIZED_DATA type exposes the following members.

Constructors

Fields

  NameDescription
MuteIncomingPhoneRing
Application software can set this value to a non zero value to force the VOIP Media Engine to not generate incoming phone ring for the call event if incoming phone ring for the phone line is enabled.
ReceivedSipInvite
The SIP INVITE message received.
SipResponseCode
This is the SIP response code you want your application to return to the far end of the incoming call. Used only when terminating the call. Any one of

SIP Return CodeDescription
400Invalid Request
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
409Conflict
410Gone
420Bad Extension
480Temporarily Unavailable
481Transaction Does Not Exist
485Ambiguous
486Busy Here
488Not Acceptable Here
493Undecipherable

Note:
If you specify any other 4xx value that is not described above, the VOIP Media Engine will ignore your value and return 480 to the far end of the call.

TerminateIncomingCall
Application software can set this value to a non zero value to allow the VOIP Media Engine to terminate the incoming call immediately. If your application wants the VOIP Media Engine to process the received call as normal, it should set this value to zero (FALSE).

See Also