Prerequisites
Before you begin, ensure you have:- A RevRing account with access to the dashboard
- A Twilio account with Elastic SIP Trunking enabled
- At least one phone number provisioned in Twilio
Step 1: Connect Your SIP Trunk
SIP trunks connect your AI agents to the phone network, enabling both inbound and outbound calling.Configure Twilio
- Log into your Twilio Console
- Navigate to Elastic SIP Trunking → Credential Lists and create a new Credential List with a username and password
- Go to Elastic SIP Trunking → Trunks and create or select an existing trunk
- In Origination, add an Origination SIP URI:
sip:sip.revring.ai - In Termination, note your Termination SIP URI (e.g.,
yourtrunk.pstn.twilio.com) - In Termination → Authentication → Credential Lists, select your Credential List
- Assign your phone numbers to the trunk in the Numbers tab
Add the Trunk to RevRing
- Navigate to SIP Trunks in your RevRing dashboard
- Click Add SIP Trunk
- Fill in the form:
- Name:
Twilio Elastic(or any descriptive name) - Proxy: Your Twilio Termination SIP URI from step 5 above (e.g.,
yourtrunk.pstn.twilio.com) - Username: Enter the username from your Twilio Credential List
- Password: Enter the password from your Twilio Credential List
- Phone Numbers: Enter your phone numbers in E.164 format, separated by commas (e.g.,
+12025551234, +14155552671)
- Name:
- Click Add Trunk
Phone numbers must be in E.164 format starting with
+ followed by country code and number (no spaces or dashes). For detailed Twilio setup instructions, see the Telephony Setup guide.Step 2: Create Your First Agent
Agents are AI-powered voice assistants that handle phone conversations based on the instructions you provide.Create the Agent
- Navigate to Agents
- Click New Agent
- Enter a Name (e.g.,
Sales Assistant) - Click Create
Configure Agent Behavior
After creation, you’ll be taken to the agent detail page with several tabs. Configure the Overview tab:- SIP Trunk: Select the trunk you just created
- Status: Set to
Activeto enable the agent - First Message: Enter an opening greeting (optional)
- Prompt: Define how the agent should behave during calls
- Click Save
Configure Voice Settings
Switch to the Voice tab to customize how your agent sounds:- Voice: Select a voice that matches your brand (click play to preview)
- Click Save Voice
Step 3: Test Your Agent
The test panel on the right side of the agent page lets you call your agent directly from the browser — no phone required.Make a Test Call
- Open your agent and look at the test panel on the right
- Click the call button (microphone icon) to start a WebRTC call
- Speak into your computer’s microphone — you’re now talking to your agent
- Click the button again (X icon) to end the call
Send an Outbound Test Call
To test outbound calling over the phone network (real SIP calls):- Navigate to Send Call
- Select your Agent, enter a From Number and To Number
- Click Send Test Call
Iterate and Improve
Based on your test call:- Return to the Overview tab
- Refine your Prompt to improve agent responses
- Adjust First Message if needed
- Make another test call to validate changes
Next Steps
Now that you have a working agent, explore more advanced features:Telephony Setup
Learn about configuring Twilio and Telnyx for production use
Inbound Calls
Set up phone numbers to receive inbound calls
Tools
Enable call transfer, voicemail detection, and custom tools
Webhooks
Integrate with your systems using pre-call and post-call webhooks
Common Issues
Test call fails to connect
Test call fails to connect
- Verify your SIP trunk proxy address is correct
- Ensure phone numbers are in valid E.164 format
- Check that your Twilio trunk has the phone number assigned
- Confirm your agent status is set to
Active
Agent doesn't respond as expected
Agent doesn't respond as expected
- Review and refine your prompt for clearer instructions
- Check the transcript for specific errors
- Ensure your prompt isn’t too long or complex
- Try different voices to find the best fit for your use case
Can't find my phone numbers
Can't find my phone numbers
- Phone numbers must be added to both your telephony provider AND your RevRing SIP trunk
- Use E.164 format:
+[country code][number]with no spaces or special characters - You can edit phone numbers by clicking the menu on any trunk in the SIP Trunks list