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
- Configure the basic settings:
- Name:
Sales Assistant(or any descriptive name) - SIP Trunk: Select the trunk you just created
- Name:
- Click Create
Configure Agent Behavior
After creation, you’ll be taken to the agent detail page with several tabs. Configure the Overview tab:- 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 tab provides an easy way to send outbound test calls to your agent.Send a Test Call
- Navigate to the Test Agent tab
- In the Test Configuration card:
- Agent: Already selected (your current agent)
- From Number: Select one of your trunk’s phone numbers
- To Number: Enter your mobile number in E.164 format (e.g.,
+14155552671)
- Click Send Test Call
The call will be initiated within a few seconds. Answer your phone to talk with your AI agent.
Review the Transcript
As the call progresses, the Live Transcript card will update every 3 seconds showing the conversation in real-time. After the call ends:- Review the full transcript
- Check for any errors or unexpected behavior
- Click View full call details to see recording, summary, and call metrics
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
- Send 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