Integrating Telnyx as a SIP Provider with VideoSDK
This guide walks you through connecting Telnyx as your SIP provider to VideoSDK for both inbound and outbound calling.
Configuring Telynx
1. Purchase a Number and Create a SIP Connection in Telnyx
- Log in to your Telnyx Console.
- Purchase a phone number if you don't already have one.
- Go to Connections and create a new SIP Connection.
- Enter a name for your connection.
- Set the type as FQDN.
2. Configure SIP Connection (FQDN, Auth, and Routing)
- In the SIP Connection settings:
- Under FQDN, add the VideoSDK Inbound Gateway URI (found in the VideoSDK dashboard under Inbound Gateways).
- Under Inbound Call Routing, set up the domain and set the Primary FQDN to the one you just added.
- Under Outbound Authentication, add the username and password you want to use for authentication.
- Click Next.
- On the configuration step, no changes are required. Click Next.
4. Inbound and Outbound Settings
- On the inbound screen:
- Choose Opus as your codec and set it as the first priority.
- Click Next.
- On the outbound screen:
- Select the Default Voice Profile.
- Click Next.
- On the last screen, assign the number you purchased to this SIP connection.
Configuring VideoSDK
1. 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 Telnyx.
2. Configure Outbound Gateway in VideoSDK
- In the VideoSDK Dashboard, go to Telephony > Outbound Gateway.
- Create a new outbound gateway using the domain address you configured in Telnyx and the authentication credentials you set up.
3. Set Up Routing Rules
- In the VideoSDK Dashboard, go to Telephony > Routing Rules.
- Create routing rules for inbound and outbound calls, selecting the appropriate gateways and numbers.
Video Walthrough
Got a Question? Ask us on discord