Enable or disable a SIP credential
trunk_update_credentialEnable or disable a SIP credential on a trunk. Disabling drops HA1/AOR and terminates active registrations; enabling restores them.
Instructions
Toggle a SIP credential's enabled flag. Disabling drops the Redis HA1 + AOR and tears down active registrations (in-progress dialogs are NOT terminated); enabling restores them. Use trunk_list_credentials first to find the credential id. Step-up MFA required. Errors: INVALID_ID, NO_ACTIVE_CUSTOMER, TRUNK_UNOWNED, INVALID_PAYLOAD, NOT_FOUND, INTERNAL_ERROR.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"trunk_id": "<trunk_id>",
"cred_id": "<cred_id>"
},
"name": "trunk_update_credential"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cred_id | Yes | SIP credential UUID (find it with trunk_list_credentials) | |
| enabled | No | true to enable the credential, false to disable it | |
| trunk_id | Yes | Trunk group UUID (find it with trunk_list) |