Felipe Hidalgo
01/29/2025, 7:09 PMAtlas
01/29/2025, 7:09 PMFelipe Hidalgo
01/29/2025, 7:10 PMFelipe Hidalgo
01/29/2025, 7:11 PMVapi
01/29/2025, 7:12 PMVapi
01/29/2025, 7:12 PMFelipe Hidalgo
01/29/2025, 7:20 PMFelipe Hidalgo
01/30/2025, 1:36 PMFelipe Hidalgo
01/30/2025, 1:49 PMShubham Bajaj
01/30/2025, 6:04 PMShubham Bajaj
01/30/2025, 6:06 PMFelipe Hidalgo
01/30/2025, 10:34 PMShubham Bajaj
01/31/2025, 11:36 AMINVITE
, it does not include credentials. The Vapi server responds with 401 Unauthorized
, along with a WWW-Authenticate
header containing a nonce value. This nonce is required for digest authentication.
To authenticate, you must resend the INVITE
with an Authorization
header that includes:
- **username**: Your SIP username.
- **realm**: The domain provided by the server (sip.vapi.ai
).
- **nonce**: The nonce value from the 401 Unauthorized
response.
- **uri**: The request URI (e.g., sip:1111212@sip.vapi.ai
).
- **response**: A computed MD5 hash using the following formula:
Without this Authorization
header in the second INVITE
, the server will reject the request.Felipe Hidalgo
01/31/2025, 10:32 PMFelipe Hidalgo
01/31/2025, 10:34 PMShubham Bajaj
02/01/2025, 6:04 AMleoo_7777
06/24/2025, 1:17 AMPraveen
06/25/2025, 4:44 AM