v53

OpenAPI 3.1.0MITraw.githubusercontent.com2026-08-039357238.7 KB
Legs

Challenge a ringing inbound SIP leg with a 401 digest auth request

Sends a SIP 401 Unauthorized carrying a WWW-Authenticate digest challenge on an unanswered inbound INVITE. The current leg is torn down (a leg.disconnected with reason="challenged" is published); the UAC's credentialed re-INVITE arrives as a new inbound call surfaced via leg.ringing with authenticated=true once VoiceBlender verifies the response against the supplied credential. Provide either password or ha1. An invalid retry is answered with 403 Forbidden and never surfaced.

post/legs/{id}/challenge

Request body

realmstring required
usernamestring
passwordstring
ha1string
algorithmstring
qopstring[]
max_expiresinteger

Response

401 challenge queued