Overview
This guide walks you through configuring a Telnyx SIP trunk to work with SubVerse AI for both inbound and outbound calls.Prerequisites
- Active Telnyx account
- Purchase a Telnyx phone number
- Access to Telnyx Mission Control Portal
Step 1: Get Your SubVerse SIP URI
Before configuring Telnyx, you need to obtain your SIP URI from SubVerse:- Log in to your SubVerse dashboard
- Navigate to Integrations → Telephony
- Copy your SIP URI (it will look like:
sip:xxxxx.sip.livekit.cloud)
Keep this SIP URI handy - you’ll need it in the next steps.
Step 2: Create a SIP Connection
- Log in to Telnyx Mission Control Portal
- Navigate to Voice → SIP Connections
- Click Create SIP Connection
- Select Credentials as the authentication method
- Enter a Connection Name (e.g., “SubVerse AI Connection”)
- Click Create
Step 3: Configure Authentication
Set Up Credentials
- In your SIP Connection settings, go to Authentication
- Click Add Credential
- Enter:
- Username: Your chosen username
- Password: Your chosen strong password
- Click Save
Configure IP Authentication (Optional)
If you prefer IP-based authentication:- In Authentication settings, enable IP Authentication
- Add IP ranges:
0.0.0.0/1128.0.0.0/1
- Click Save
Credential authentication is recommended for better security.
Step 4: Configure for Inbound Calls
Configure the connection to route incoming calls to SubVerse.Set Inbound Settings
- In your SIP Connection, go to Inbound
- Under Inbound Settings, configure:
- Codecs: Select
PCMUandPCMA - DTMF Type:
RFC 2833orInband - Inbound SIP URI: Your SubVerse SIP URI (from Step 1)
- Codecs: Select
- Enable Send SIP OPTIONS
- Click Save
Configure Origination URI
- In the Inbound section, find Origination URI
- Enter your SubVerse SIP URI
- Set Priority: 1
- Enable the URI
- Click Save
Step 5: Configure for Outbound Calls
Configure settings for outbound calls from SubVerse through Telnyx.Set Outbound Settings
- In your SIP Connection, go to Outbound
- Under Outbound Settings, configure:
- Outbound Voice Profile: Select or create a profile
- Codecs: Select
PCMUandPCMA - Localization: Select your preferred region
- Enable Generate Ring Tone
- Click Save
Configure Termination URI
- In the Outbound section, note your Termination SIP URI
- It will look like:
sip:yourconnection.sip.telnyx.com - Copy this URI - you’ll need it for SubVerse configuration
Step 6: Associate Phone Number
Assign Number to SIP Connection
- Navigate to Numbers → My Numbers
- Find your phone number
- Click on the number to edit
- Under Connection, select your SIP Connection
- Configure:
- Connection Type: SIP Connection
- Connection: Select your SubVerse connection
- Click Save
Step 7: Configure in SubVerse Dashboard
Now that Telnyx is configured, add the trunk to SubVerse:For Outbound Calls
- Go to SubVerse Integrations → Telephony
- Click Add Outbound Trunk
- Enter:
- Name: Descriptive name (e.g., “Telnyx Outbound”)
- Phone Number: Your Telnyx number with country code (e.g., +1xxxxxxxxxx)
- SIP Address: Your Telnyx termination URI (e.g.,
yourconnection.sip.telnyx.com) - Auth Username: Username from Step 3
- Auth Password: Password from Step 3
- Click Save
For Inbound Calls
- Go to SubVerse Integrations → Telephony
- Click Add Inbound Trunk
- Enter:
- Name: Descriptive name (e.g., “Telnyx Inbound”)
- Phone Number: Your Telnyx number with country code (e.g., +1xxxxxxxxxx)
- Auth Username: Username from Step 3
- Auth Password: Password from Step 3
- Click Map Voicebot Usecase and select your voice agent
- Click Save
Testing Your Configuration
Test Inbound Calls
- Call your Telnyx phone number
- The call should be routed to your SubVerse voice agent
- Check the call appears in SubVerse Call History
Test Outbound Calls
- Create a workflow or use the voice agent interface
- Make a test call using your configured Telnyx number
- Verify the call connects successfully
- Check the call appears in SubVerse Call History
Troubleshooting
Inbound Calls Not Working
Check:- Origination URI is correctly configured in Telnyx
- SIP URI matches exactly what’s shown in SubVerse dashboard
- Phone number is associated with the SIP connection
- Voice agent is mapped to the inbound trunk in SubVerse
- Verify SIP URI in Telnyx matches SubVerse
- Check Telnyx call logs for errors
- Ensure phone number is active
- Verify SIP connection status is “Active”
Outbound Calls Not Working
Check:- Credentials are correctly configured
- Username and password match in both Telnyx and SubVerse
- Termination URI is correctly configured
- SIP address in SubVerse matches Telnyx connection
- Verify credentials are correct
- Check Telnyx connection status
- Review call logs for authentication errors
- Ensure sufficient Telnyx account balance
Call Quality Issues
Check:- Codec configuration (PCMU/PCMA recommended)
- Network connectivity
- Telnyx service status
- Region-specific routing
- Verify codec settings match on both sides
- Use region-based SIP endpoints for better latency
- Check Telnyx status page
- Contact SubVerse support for assistance
Authentication Failures
Check:- Credentials are entered correctly
- IP authentication ranges (if using IP auth)
- SIP connection is enabled
- Re-enter credentials carefully
- Verify IP ranges include required addresses
- Check SIP connection status in Telnyx portal
Advanced Configuration
Codec Optimization
For best call quality:- Enable
PCMU(G.711 μ-law) - Primary - Enable
PCMA(G.711 A-law) - Secondary - Disable other codecs unless specifically needed
DTMF Configuration
Configure DTMF for interactive voice response:- Recommended: RFC 2833
- Alternative: Inband
- Ensure both Telnyx and SubVerse use the same method
Failover Configuration
Set up multiple origination URIs for redundancy:- Add primary SubVerse SIP URI with Priority 1
- Add backup SIP URI with Priority 2
- Enable both URIs
Additional Resources
- Telnyx SIP Trunking Documentation
- Telnyx SIP Configuration Guide
- Telnyx Mission Control Portal
- Telnyx Support