This page is for Browser SDK, version v4 (default).
For other versions, use one of these documentation indexes:
- v4 (default): https://signalwire.com/docs/browser-sdk/v4/llms.txt
- v3: https://signalwire.com/docs/browser-sdk/v3/llms.txt
- v2: https://signalwire.com/docs/browser-sdk/v2/llms.txt
Declines an inbound call before it is answered. The caller-side rings stop, no media is negotiated, and the call instance transitions to disconnected. Call reject only on inbound calls in the ringing state; calling it after answer has no effect — use hangup instead to end a connected call.
Returns
void
Examples
Auto-reject calls during do-not-disturb
See
answer to accept the call instead.
hangup to end a call that’s already connected.
answered$ emits false after rejection.