Phone Numbers
To have your voice agent answer real phone calls, you need to connect phone numbers. This section covers everything about acquiring, configuring, and managing phone numbers on the Hanc.AI platform.
Overview
Phone Provider: Twilio
Hanc.AI uses Twilio as the phone infrastructure provider. Twilio is a leading cloud communications platform that:
- Provides phone numbers in 100+ countries
- Handles call routing reliably
- Offers local, mobile, and toll-free numbers
- Ensures high voice quality
Why Twilio?
| Benefit | Description |
|---|---|
| Global coverage | Numbers available worldwide |
| Reliability | Enterprise-grade uptime |
| Compliance | Meets telecom regulations |
| Scalability | From 1 to thousands of numbers |
Getting Started with Phone Numbers
Option A: Connect Existing Twilio Account
If you already have a Twilio account:
- Go to Integration in the sidebar
- Select Twilio
- Enter your Twilio credentials:
- Account SID (from Twilio Console)
- Auth Token (from Twilio Console)
- Click Connect
- Your existing Twilio numbers will be available to import
Option B: Buy Numbers Through Hanc.AI
- Go to Phone Numbers in the sidebar
- Click "Buy Number"
- Select country and number type
- Complete purchase
- Number is automatically configured
Twilio Account Setup
If you don't have a Twilio account:
Step 1: Create Twilio Account
- Go to twilio.com
- Click "Sign Up"
- Enter your details
- Verify your email and phone
Step 2: Get Credentials
- Log into Twilio Console
- Find Account SID on the dashboard
- Find Auth Token (click to reveal)
- Copy both values
| Field | Value |
|---|---|
| Account SID | ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx |
| Auth Token | [Click to reveal] •••••••••••••••••••• |
Step 3: Connect to Hanc.AI
- In Hanc.AI, go to Integration → Twilio
- Paste your Account SID
- Paste your Auth Token
- Click Connect
Phone Number Types
Local Numbers
Phone numbers tied to a specific area:
| Example | Coverage |
|---|---|
| +43 1 xxx xxxx | Vienna, Austria |
| +49 30 xxx xxxx | Berlin, Germany |
| +41 44 xxx xxxx | Zurich, Switzerland |
Best for: Local businesses, regional presence
Mobile Numbers
Numbers that appear as mobile phones:
Best for: Personal service feel, SMS capability
Toll-Free Numbers
Numbers where caller doesn't pay:
| Example | Country |
|---|---|
| 0800 xxx xxx | Austria/Germany |
| 1-800-xxx-xxxx | USA |
Best for: Customer service, national reach
Assigning Agents to Numbers
Inbound Agent
The agent that answers incoming calls:
- Go to Phone Numbers
- Click on a number
- Under Inbound Agent, select your agent
- Save
Outbound Agent
The agent used for outgoing calls (if applicable):
- Same location
- Under Outbound Agent, select your agent
- Save
Multiple Numbers, One Agent
You can assign the same agent to multiple numbers:
Multiple Agents, Multiple Numbers
Or different agents for different numbers:
Number Configuration
Basic Settings
| Setting | Description |
|---|---|
| Friendly Name | Display name (e.g., "Main Reception") |
| Inbound Agent | Agent for incoming calls |
| Outbound Agent | Agent for outgoing calls |
| Status | Active or inactive |
Advanced Settings
| Setting | Description |
|---|---|
| Fallback Number | Where to route if agent unavailable |
| Recording | Enable/disable call recording |
| Webhook | Custom webhook for call events |
Option C: Connect SIP Trunk
If you have an existing SIP trunk provider:
- Go to Phone Numbers in the sidebar
- Click "Connect SIP"
- Enter your SIP trunk credentials:
- SIP Server / Domain
- Username
- Password
- Port (default: 5060)
- Click Connect
- Configure agent assignment
SIP trunk connections are available on all plans, including Free.
Outbound Calls
Voice agents can also make outbound calls to customers — for appointment reminders, follow-ups, surveys, or proactive outreach.
Setting Up Outbound
- Assign a phone number to your agent (the caller ID shown to recipients)
- In the phone number settings, assign an Outbound Agent
- Configure the outbound calling conditions
Outbound on All Plans
Outbound calling is available on all plans, including Free. Outbound calls are billed per minute from your credit balance at the same rates as inbound calls.
Use Cases
| Use Case | Description |
|---|---|
| Appointment Reminders | Automatically call customers before their appointment |
| Follow-up Calls | Check in after service completion |
| Surveys | Collect feedback via phone |
| Proactive Outreach | Inform customers about updates or offers |
Number Management
View All Numbers
Go to Phone Numbers to see:
- All your numbers
- Assigned agents
- Status
- Call statistics
Edit Number Settings
- Click on the number
- Modify settings
- Save changes
Remove Number
- Click on the number
- Click Delete or Remove
- Confirm removal
Removing a number may result in losing that number permanently. It might be assigned to someone else if released.
Call Routing Scenarios
Simple: One Number, One Agent
Most common setup:
With Fallback
If agent can't handle:
Department Routing
Different numbers for different purposes:
After-Hours Routing
Time-based handling:
Best Practices
Number Selection
✅ Choose local numbers for local businesses ✅ Use toll-free for customer service lines ✅ Consider mobile numbers for personal services ✅ Have a backup number for emergencies
Configuration
✅ Test numbers before going live ✅ Set fallback numbers for agent failures ✅ Enable recording for quality and training ✅ Label numbers clearly in your account
Operations
✅ Monitor call volumes per number ✅ Track success rates by number ✅ Review periodically — remove unused numbers
Troubleshooting
Calls not connecting
Check:
- Number is active in Twilio
- Twilio integration is connected
- Agent is assigned to number
- Agent is active (not paused)
Poor audio quality
Possible causes:
- Network issues
- Twilio region
- Customer's phone quality
Solutions:
- Check Twilio status page
- Test with different phones
Calls going to wrong agent
Check:
- Number's inbound agent setting
- No conflicting webhooks
- Correct number displayed in dashboard
Costs
Twilio Costs (Approximate)
| Item | Cost Range |
|---|---|
| Local number (monthly) | $1-5 |
| Toll-free number (monthly) | $2-10 |
| Inbound call (per minute) | $0.01-0.05 |
| Outbound call (per minute) | $0.01-0.10 |
Costs vary by country and number type.
Hanc.AI Usage
Hanc.AI uses credit-based billing:
- All plans include unlimited agents
- Calls are billed per minute from your credit balance
- Phone numbers cost €5/month each (charged from credits)
- Per-minute rates vary by plan (see Billing)
Related Topics
- Voice Agents — Creating agents for phone numbers
- Integrations — Twilio setup details
- Analytics — Call statistics by number