Click or drag to resize

CallSession Constructor

Initializes a new instance of the CallSession class.

Namespace: Ozeki.VoIP
Assembly: OzekiSDK (in OzekiSDK.dll) Version: 10.4.13.0
Syntax
public CallSession(
	ISessionCall caller,
	ISessionCall callee,
	SessionMode mode,
	SessionDependencies dependencies,
	int ringTime = 60,
	SessionIds sessionIds = null
)

Parameters

caller  ISessionCall
The call of the caller.
callee  ISessionCall
The call of the callee.
mode  SessionMode
Mode for switching betweeen P2P and relay calls.
dependencies  SessionDependencies
Other services that the session depends on.
ringTime  Int32  (Optional)
Ringing interval in seconds.
sessionIds  SessionIds  (Optional)
The session identifiers can be specified. If no session identifiers given, the session will generate them automatically.
See Also