Show / Hide Table of Contents

The Call Service

The Calling part of the SDK is provided by the ICallService interface which can be retrieved using the IEnterprisePlatform.CallService property.

The ICallService interface provides the CreateCallAsync() method which is used to create new calls. Prior to the call being returned by the SDK, the call must be properly defined in the CallInitializedAsync callback and initialized with a CallHandler. The CallHandler is an instance of the ISignalingHandler interface and defines the callbacks for the ICall.

To access an existing call the SDK requires additional information to be provided to the CreateCallAsync(string callLegId, Uri callLink) method. The 2 pieces of information that are required are 1) the call leg id, and 2) the call link. More details on the call leg id and call link can be found in the Call article. If the instance of the SDK is stateful then the call is fetched from memory and a NotFound IPlatformResponse is returned if the call is not found. If the SDK is stateless the call is created with the assumption that it exists on the server.

  • Improve this Doc
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX