The SetRegistationTimeOut procedure allows application software to change the registration timeout value specified in milliseconds. The registration timeout value is used by the media engine to detect registration timeouts. If the media engine attempts a registration to a server and does not receive a response within the set registration timeout value, a SipRegistrationTimeOut event will be sent to the application.

Namespace:  LanScape
Assembly:  LMEVoipManaged (in LMEVoipManaged.dll) Version: 6.0.5226.26700

Syntax

C#
public VoipMediaEngine..::.TELEPHONY_RETURN_VALUE SetRegistationTimeOut(
	uint TimeOutMs
)
Visual Basic (Declaration)
Public Function SetRegistationTimeOut ( _
	TimeOutMs As UInteger _
) As VoipMediaEngine..::.TELEPHONY_RETURN_VALUE
Visual C++
public:
VoipMediaEngine..::.TELEPHONY_RETURN_VALUE SetRegistationTimeOut(
	unsigned int TimeOutMs
)
J#
public VoipMediaEngine..::.TELEPHONY_RETURN_VALUE SetRegistationTimeOut(
	UInt32 TimeOutMs
)

Parameters

TimeOutMs
Type: System..::.UInt32
The new specified registration timeout value in milliseconds.

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 VoipMediaEngine..::.TELEPHONY_RETURN_VALUE data type.

Return ValueDescription
SipInvalidHandle
Application software specified an invalid telephony handle in one of the API procedures. This usually indicates memory corruption on the part of application software.

(API return value)

Remarks

None.

See Also