Skip to main content

Integrating Vonage as a SIP Provider with VideoSDK

This guide walks you through connecting Vonage as your SIP provider to VideoSDK for both inbound and outbound calling.

Configuring Inbound Calling

1. Purchase a Number and Create a SIP Trunk in Vonage

  • Log in to your Vonage Console.
  • Purchase a phone number if you don't already have one.
  • Create a new SIP trunk.

2. Configure SIP Trunk for Inbound

  • In the SIP trunk settings:
    • Under Inbound Calls, select the Vonage region you want to use and save your settings.
    • Under the URI section, add the Inbound Gateway URL from the VideoSDK dashboard (found under Inbound Gateways).
    • Link the phone number you purchased to this trunk.

3. Configure Inbound Gateway in VideoSDK

  • In the VideoSDK Dashboard, go to Telephony > Inbound Gateway.
  • Create a new inbound gateway using the number you purchased from Vonage.

4. Set Up Inbound Routing Rules

  • In the VideoSDK Dashboard, go to Telephony > Routing Rules.
  • Create routing rules for inbound calls, selecting the appropriate gateways and numbers.

Video Demonstration: Inbound Configuration

Configuring Outbound Calling

1. Configure SIP Trunk for Outbound

  • In the SIP trunk settings:
    • Set up the domain (this will be used for outbound gateway configuration in VideoSDK).
    • Under Outbound Calls, set up the authentication credentials (username and password).

2. Configure Outbound Gateway in VideoSDK

  • In the VideoSDK Dashboard, go to Telephony > Outbound Gateway.
  • Create a new outbound gateway using the domain you set up in Vonage and the authentication credentials you configured. For outbound gateway numbers, do not use the + sign—just use the country code and number.

3. Set Up Outbound Routing Rules

  • In the VideoSDK Dashboard, go to Telephony > Routing Rules.
  • Create routing rules for outbound calls, selecting the appropriate gateways and numbers.

Video Demonstration: Outbound Configuration

With these steps, your SIP trunk between Vonage and VideoSDK is fully configured for both inbound and outbound calls. You are now ready to test your calls.

Got a Question? Ask us on discord