swap
Swap one call with another. When a call swap occurs, the participant on hold is resumed and the resumed participant is placed on hold.
swap(call1, call2) → Promise.<HoldToggleResult>
Returns: HoldToggleResult — Represents the result when toggling the hold state for a call.
| Field | Type | Description |
|---|---|---|
| call1 | PhoneCall | The first call to swap. |
| call2 | PhoneCall | The second call to swap. |