Cancel Speaker Sip Test
Hang the test call up NOW.
THE RELEASE FOR A HORN NOBODY CAN GET OFF. A test whose dial went indeterminate holds its speaker until the watchdog gives up, and while it does, Talk Down, the clip Test and live Talk all refuse — with somebody standing at the device. DELETE /events/{id}/voice-agent-call cannot help: it is addressed by EVENT and joins agent_actions, which a test row has none of.
Ops-lead only and tenant-scoped exactly like the POST, through the same _load_speaker. Idempotent: a test that has already ended is returned unchanged, and 404 means this speaker has never been tested.
It asks the DEVICE to hang up and closes the row only if that is allowed — an unconfirmed hang-up leaves the row open with its reason recorded and the speaker held, which is the shared rule for releasing a speaker and not a second opinion about it.
Request
- Base URLhttps://api.verdun.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.verdun.ai/speakers/{speaker_id}/sip-test
- AuthHTTP bearer
Path parameters
Response
Successful Response
Example response
{
"speaker_label": "North horn — gate",
"status": "connected",
"device_call_id": "1",
"device_states": [
{
"state": "Calling"
}
],
"provider_call_id": "call_85b9",
"provider_status": "ongoing",
"provider_disconnection_reason": "agent_hangup",
"duration_ms": 13400,
"auth_mode": "digest",
"device_error": {
"http_status": 400,
"body": "{\"error\":{\"code\":400,\"message\":\"Invalid SIPAccountId 'Gate horn'\"}}"
},
"sip_account_id": "sip_account_1",
"end_reason": "max_duration",
"max_seconds": 30,
"result_version": 1
}Changes
No recorded changes to this operation across all 2 revisions of this API.