-
Notifications
You must be signed in to change notification settings - Fork 352
Incoming and Outgoing Calls
- Introduction
- Call Object
- Inbound Calls
- Outbound Calls
- Call Disconnect
- Error Handling
- Call related public APIs
CallingClient module in Calling SDK provides inbound and outbound call functionality on registered lines. For every call, a call instance is created and then used to dial the call, listen for events. This document covers how we obtain the call instance and use it in inbound/outbound calls.
Once the lines are registered, call functionality is available on any of the lines. Use the makeCall method is invoked on a line. For inbound call, when the client receives a call from Webex Calling, a call instance is returned within the payload of an event from the Calling SDK.
The call instance provided by the Calling SDK is of type ICall. A call instance provides a variety of methods to the developer that take specific actions and move the call through various states.
Method | Description | Returns | Visibility |
---|---|---|---|
answer | Accepts or answers an incoming call from Webex Calling | void | Public |
dial | Dials the outgoing call to the destination | void | Public |
end | Ends an ongoing call | void | Public |
sendDigit | Sends a DTMF digit on an established call | void | Public |
mute | Mutes the local track of this call instance | void | Public |
doHoldResume | Places the remote end of this call on hold/resume the call based on the current state of the call | void | Public |
completeTransfer | Initiates a transfer towards a target (Phase 2) | void | Public |
Caution
- Introducing the Webex Web Calling SDK
- Core Concepts
- Quickstart guide
- Authorization
- Basic Features
- Advanced Features
- Introduction
- Quickstart Guide
- Basic Features
- Advanced Features
- Multistream
- Migrating SDK version 1 or 2 to version 3