Function: addOutgoingCallStartedListener()
ts
function addOutgoingCallStartedListener(listener): EventSubscription;Defined in: Calls.ts:403
Subscribes to outgoing call started events.
Fired when an outgoing call (initiated via startOutgoingCall) has been accepted by the system. You should provision your media connection and begin connecting.
Parameters
| Parameter | Type | Description |
|---|---|---|
listener | (event) => void | Callback invoked when an outgoing call starts. |
Returns
EventSubscription
A subscription that can be removed by calling .remove().
See
- startOutgoingCall — the request that triggers this event.
- reportOutgoingCallConnected — the next step in the outgoing-call flow.