Reject
Refuse an inbound call without answering it.
Refuse an inbound call without answering it.
reject refuses an inbound call without answering it.
| Parameter | Type | Required | Description |
|---|---|---|---|
reason | string | No | What the caller's network is told: rejected (default) or busy. |
import { sauti } from "@sautikit/node";
res.json(sauti.reject("busy"));{
"actions": [
{
"reject": {
"reason": "busy"
}
}
]
}<Reject reason="busy" />