SIP Trunk inbound (Vonage/Nexmo)
# support
s
I need assistance setting up an inbound SIP trunk using Vonage (Nexmo) in Vapi. Could you provide any documentation or guidance on how to configure this correctly? Thank you
hello any update on this ? thanks
c
Hi, to configure the SIP Trunk, please follow the documentation for whitelisting the IP addresses: Then use this template as a guide to configuring both inbound and outbound gateways. The inbound gateway will need a static IP address and the outbound gateway will use the resolved domain name using UDP protocol:
Copy code
{
  "provider": "byo-sip-trunk",
  "name": "My SIP Trunk",
  "gateways": [
    {
      "ip": "sip.provider.com",
      "port": 5060,
      "outboundEnabled": true,
      "inboundEnabled": false,
      "outboundProtocol": "udp"
    },
    {
      "ip": "203.0.113.10",
      "port": 5060,
      "outboundEnabled": false,
      "inboundEnabled": true
    }
  ]
}
Once you have configured the SIP trunk, you will receive a value for credentialId. Save that and use it for the next step of assigning the SIP trunk to a phone number, as that is a required value for setting up the phone number. If you encounter any issues with the setup, please feel free to reach out.
s
hi kyle question , can we manually configure Nexmo (Vonage) to route a call into VAPI and connect it directly to an agent, without using the VAPI dashboard?
c
Yes. Easiest way to do this is to configure a phone number on Vapi (typically importing a phone number from Twilio into Vapi), attach a phone number to an assistant probably through API in your case, then set up call forwarding from Nexmo to the Twilio phone number that has the Vapi assistant attached.
s
thanks kyle will message here if i have some addtional questions
c
Sounds good!
3 Views