UnInitializeMediaEngine

 

The UnInitializeMediaEngine function allows you to uninitialize the telephony engine API interface. You must call this function after your application is finished using the telephony API. Generally this API procedure is called just before your application terminates.

 

 

TELEPHONY_RETURN_VALUE UnInitializeMediaEngine(void);

 

 

 

Parameters:

 

None.

 

 

Return Value:

 

If the function succeeds, the return value will be SipSuccess.

 

If the function fails, the return value will be one of the following values as specified by the TELEPHONY_RETURN_VALUE data type.

 

 

 

Value

Description

SipCallFailure

 

This is a generic "catch all" API error. If an error condition is not specified by any other API error value, this error will be returned.

 

SipMediaEngineNotInitialized

 

Before attempting any telephony operation, the LanScape VOIP Media Engine must be initialized using the InitializeMediaEngine API procedure. This error is generated when you attempt to instantiate the telephony engine prior to calling the InitializeMediaEngine API procedure. You will also get this error if you call the UnInitializeMediaEngine API procedure more than once.