Felipe Munoz
07/17/2025, 6:09 PMChiranjeet Mishra
07/18/2025, 6:11 PMbash
$ curl -X POST https://api.vapi.ai/credential \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_VAPI_API_KEY" \
-d '{
"provider": "byo-sip-trunk",
"name": "Custom Trunk",
"gateways": [
{
"ip": "192.141.64.138"
}
],
...
"outboundAuthenticationPlan": {
...
"customFromHeader": "566000061260@192.141.64.138"
}
}'
- **Register your SIP Phone Number**: Ensure your phone number is properly associated with this trunk.
- **Test Your Configuration**: Make a test call to verify the From header is applied correctly.
By following the above steps, you should be able to ensure that the required specific SIP From header is used during outbound calls through Vapi. You may need to adjust other fields to match your SIP trunk provider requirements. For further details, you might want to review the specific [SIP integration documentation](https://docs.vapi.ai/advanced/sip/sip-trunk).