Vapi
12/06/2024, 1:18 PMVapi
12/06/2024, 1:18 PMMustafa-88
12/06/2024, 1:23 PMVapi
12/06/2024, 1:24 PMsipUri parameter in your cURL request accordingly.
Here's how you can modify your cURL request:
bash
curl --location "https://api.vapi.ai/phone-number" \
--header "Authorization: Bearer API_KEY" \
--header "Content-Type: application/json" \
--data-raw "{\"provider\": \"vapi\", \"sipUri\": \"custom_name.sip.vapi.ai\", \"assistantId\": \"ASSISTANT_ID\"}"
Make sure to replace API_KEY with your actual API key and ASSISTANT_ID with the actual assistant ID. Also, replace custom_name with the username or identifier provided by your phone provider.
This change reflects the format that your phone provider seems to expect. If you're unsure whether this is correct, please confirm with them before making the change. If they provide you with a specific format, you should use that exact format in the sipUri parameter.Mustafa-88
12/06/2024, 1:26 PMVapi
12/06/2024, 1:26 PMbash
curl --location "https://api.vapi.ai/phone-number" \
--header "Authorization: Bearer API_KEY" \
--header "Content-Type: application/json" \
--data-raw "{\"provider\": \"vapi\", \"sipUri\": \"sip:custom_name@sip.vapi.ai\", \"assistantId\": \"ASSISTANT_ID\"}"
Please confirm with your phone provider if they can support the standard SIP URI format. If they require a different format, you may need to work with them to find a compatible solution that works with both systems. If there's any further assistance you need regarding the configuration, please let me know, and I'll be happy to help.Mustafa-88
12/06/2024, 1:27 PMShubham Bajaj
12/09/2024, 1:26 AM