Unable to Use GHL SIP Trunk Credentials in Vapi
# support
m
Issue: I am trying to take the SIP trunk credentials from my GHL (LeadConnector) account and configure them in Vapi so I can make and receive calls, but it is not working. Details: I have the SIP Server URL, username, and password from GHL. I attempted to set up a SIP trunk in Vapi using this information. Registration fails, and I am unable to make or receive calls.
@Vapi @Vapi Support Bot
v
To help troubleshoot: Could you please share the exact error message or code you see when the SIP trunk registration fails in Vapi? Source: - [Vapi SIP Trunk Documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)
To set up your GHL SIP trunk in Vapi, use the following API call to create a custom credential (replace placeholders with your actual details):
Copy code
bash
curl -X POST "https://api.vapi.ai/credential" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_VAPI_PRIVATE_KEY" \
  -d '{
    "provider": "byo-sip-trunk",
    "name": "GHL Trunk",
    "gateways": [{ "ip": "YOUR_GHL_SIP_SERVER_URL", "inboundEnabled": false }],
    "outboundAuthenticationPlan": {
      "authUsername": "YOUR_GHL_USERNAME",
      "authPassword": "YOUR_GHL_PASSWORD"
    }
  }'
Make sure you have whitelisted Vapi's IPs (44.229.228.186/32 and 44.238.177.138/32) in your GHL/LeadConnector account, as missing this step can cause registration to fail. For more details, see the [Vapi SIP trunk documentation](https://docs.vapi.ai/advanced/sip/sip-trunk). Source: - [Vapi SIP Trunk Documentation](https://docs.vapi.ai/advanced/sip/sip-trunk)
m
im jsut getting Customer Busy as the outcome it does register fine but when i try to make the outbound call it shows Customer Busy to every number i try otherwise it works fine and the call goes through
c
Could you provide the phone number id?
4 Views