Inbound Calls
Inbound calls are the most common use case for voice agents. When a customer dials your number, your thinnestAI voice agent picks up instantly, greets the caller, and handles the conversation — no hold times, no menus, no frustration.Prerequisites
Before setting up inbound calls, you need:- A thinnestAI account with voice capabilities enabled
- A voice agent configured in the dashboard
- A phone number from Twilio or Vobiz
Setting Up a Phone Number
Option A: Purchase a Twilio Number
- Go to Settings → Phone Numbers in the thinnestAI dashboard.
- Click Add Phone Number → Twilio.
- Enter your Twilio credentials:
- Browse available numbers by country and area code.
- Select a number and click Purchase.
- The number is automatically configured to route calls to thinnestAI.
Option B: Connect a Vobiz Number
- Go to Settings → Phone Numbers → Add Phone Number → Vobiz.
- Enter your Vobiz SIP credentials.
- Configure the SIP trunk to point to your thinnestAI endpoint.
- The number appears in your dashboard once connected.
Option C: Import Your Own Twilio Number (BYOK)
If you already have a Twilio account with purchased numbers:- Go to Settings → Phone Numbers → Twilio → Import Your Own (BYOK).
- Enter your Twilio Account SID and Auth Token (from console.twilio.com).
- Click Validate & Connect — your credentials are encrypted and stored securely.
- You’ll see all phone numbers in your Twilio account.
- Click Import on any number to connect it.
- thinnestAI creates an Elastic SIP Trunk on your Twilio account
- Configures the incoming webhook to route calls to your voice agent
- Creates LiveKit SIP resources for real-time audio
- Sets up outbound calling capability
Option D: Import Your Own Vobiz Number (BYOK)
If you already have a Vobiz account with Indian DID numbers:- Go to Settings → Phone Numbers → Vobiz → Import Your Own (BYOK).
- Enter your Vobiz Auth ID and Auth Token (from vobiz.ai/dashboard).
- Click Validate & Connect.
- Select numbers to import from your account.
- SIP trunk, credentials, and origination URI created on your Vobiz account
- LiveKit inbound/outbound trunks configured for routing
- Dispatch rules set up for agent routing
Option E: Import Your Own Exotel Number (BYOK) Beta
- Go to Phone Numbers → Exotel.
- Enter your API Key, API Token, Account SID, and Subdomain (from developer.exotel.com).
- Click Validate & Connect — your numbers are listed.
- Click Import on any number.
Option F: Import Your Own Plivo Number (BYOK) Beta
- Go to Phone Numbers → Plivo.
- Enter your Auth ID and Auth Token (from console.plivo.com).
- Click Validate & Connect.
- Import your numbers.
Option G: Import Your Own Telnyx Number (BYOK) Beta
- Go to Phone Numbers → Telnyx.
- Enter your API Key (from portal.telnyx.com).
- Click Validate & Connect.
- Import your numbers.
Configuring Your Agent for Inbound Calls
Agent Settings
Navigate to your agent’s configuration and set up the inbound call behavior: Greeting message — The first thing your agent says when it picks up:Assigning the Phone Number
- Open your voice agent in the dashboard.
- Go to Phone Numbers tab.
- Select the phone number you want to assign.
- Click Save.
Call Routing and IVR Navigation
Simple Routing
By default, all calls to your assigned number go directly to the voice agent. The agent picks up, greets the caller, and handles the conversation.Multi-Agent Routing
For more complex setups, you can route calls to different agents based on criteria: By time of day:Visual IVR
thinnestAI supports Visual IVR — an intelligent routing layer that uses AI instead of DTMF menus:- The agent answers the call and asks what the caller needs.
- Based on the caller’s natural language response, the system routes to the appropriate department or agent.
- No “Press 1 for billing, press 2 for support” — just a natural conversation.
Handling Caller Information
Caller ID
When a call comes in, thinnestAI captures:- Caller phone number — The caller’s phone number in E.164 format
- Called number — Which of your numbers was dialed
- Call timestamp — When the call started
- Call direction — Marked as
inbound
Passing Context to Your Agent
You can enrich calls with customer data by configuring a webhook that fires when a call comes in:Testing Inbound Calls
Web Call Test
The fastest way to test is the built-in web call feature:- Open your voice agent in the dashboard.
- Click Test Call.
- Your browser connects directly to the agent.
- Speak naturally and verify the agent’s responses.
Live Phone Test
For a full end-to-end test:- Call your assigned phone number from any phone.
- Verify the greeting plays correctly.
- Test various conversation paths.
- Confirm call recording is working (if enabled).
- Test edge cases: silence, interruptions, unexpected questions.
Test Checklist
Use this checklist before going live:- Agent answers within 1-2 seconds
- Greeting message sounds natural
- Agent understands common questions
- Agent handles interruptions gracefully
- Silence timeout triggers an appropriate prompt
- Call transfer works (if configured)
- Call recording captures both sides
- End-of-call behavior is correct
- Agent handles “I want to speak to a human” requests
Monitoring Call Logs
Dashboard
The Call Logs section shows all inbound calls:| Field | Description |
|---|---|
| Call ID | Unique identifier for the call |
| Caller | The caller’s phone number |
| Agent | Which agent handled the call |
| Duration | How long the call lasted |
| Status | Completed, Transferred, Dropped, No Answer |
| Recording | Link to the call recording (if enabled) |
| Transcript | Full conversation transcript |
| Timestamp | When the call occurred |
API Access
Retrieve call logs programmatically:Alerts
Set up alerts for important events:- Missed calls — When a call is not answered (agent unavailable)
- Long calls — Calls exceeding a duration threshold
- Transfer failures — When a call transfer does not complete
- High volume — When call volume spikes above normal
Best Practices
- Keep greetings short — Callers want to state their problem quickly. A 5-second greeting is better than 15 seconds.
- Handle “I don’t understand” gracefully — Configure your agent to ask clarifying questions rather than repeating the same response.
- Set appropriate timeouts — If the caller is silent for too long, prompt them: “Are you still there? I’m happy to help if you have any questions.”
- Test with real callers — Internal testing catches most issues, but real callers will find edge cases you did not anticipate.
- Monitor regularly — Review call logs weekly. Look for patterns in failed conversations and update your agent’s prompt accordingly.
- Use context — The more your agent knows about the caller before the conversation starts, the better the experience.
Next Steps
- Voice Configuration — Fine-tune how your agent sounds
- Call Recording — Enable recording and transcription
- Call Transfers — Route calls to human agents when needed

