Voice calls
Talk to an agent by voice in the browser, or connect it to a phone number for inbound and outbound calls
An agent can take voice calls three ways. Each one runs the same agent with the same instructions and tools as chat. Only the audio path changes.
| Flow | Who starts it | What you need |
|---|---|---|
| Web call | A person clicks Start voice call in chat | Voice turned on |
| Inbound call | Someone phones your number | Your number pointed at the agent's SIP address |
| Outbound call | The agent phones someone | An outbound SIP trunk from your phone provider |
How it works
- Every call is a LiveKit room. A voice worker joins it and runs a speech-to-speech model: audio in, audio out, with tool calls in between.
- Phone calls reach the same room over SIP. Any provider that sends SIP works, including Plivo, Twilio, Telnyx and Vonage.
- Outbound calls leave through your provider's trunk, so the telephony cost is on your provider account.
- Each call is logged to the agent's events, and its transcript is saved with the chat thread.
Turn voice on
- Open the agent's Voice settings and turn on Enable voice.
- Choose a Model, a Voice and a Language. Auto-detect works for most cases.
- Optional: set a Greeting for inbound calls. Leave it empty and the agent greets in its own words.
- Save.
Models available today:
| Model | Provider |
|---|---|
| OpenAI Realtime | OpenAI |
| Gemini Live |
Switching models changes the vendor, not the setup. Your numbers, trunks and agent stay the same.
Web calls
When voice is on, the chat box has a Start voice call button.
- Allow microphone access when the browser asks.
- Speak normally. The agent can check its tools during the call and tells you it is doing so.
- The transcript appears in the call bar. Click End call to finish.
Inbound calls: your number to the agent
Each agent has a SIP address, shown under Voice → Inbound calls → Phone number. There are two:
- Other countries: for most numbers.
- India (+91): for Indian numbers. Indian telecom rules require those calls to stay in India, and providers reject calls that break this.
Setup works the same with any provider:
- Create an inbound SIP trunk, or SIP connection, at your provider.
- Set its destination to the agent's SIP address. Use the copy button; don't type the address by hand.
- Attach your phone number to that trunk.
- Call the number. The agent answers.
Plivo example
- In the Plivo console, create a Zentrunk inbound trunk.
- Set Primary URI to the agent's SIP address.
- Attach your Plivo number to the trunk.
Outbound calls: the agent calls people
You need an outbound SIP trunk from your provider. Enter its details under Voice → Outbound calls:
| Setting | What to enter |
|---|---|
| Provider SIP address | Your provider's outbound domain, e.g. 12345678.zt.plivo.com |
| Username and Password | Trunk credentials. Saved encrypted; the password is never shown again |
| Caller ID | A number you own at the provider, in international format |
| Allowed country codes | Where the agent may call, e.g. +91, +1 |
| Encrypt call setup (TLS) | Only if the trunk requires TLS |
Save, then try Test call: enter a number and a purpose, and click Call now. The result and transcript appear when the call ends.
Secure the trunk
Do this with any provider:
- Allow only AgentBlit's SIP IP address in the trunk's IP access list.
- Require the username and password.
Plivo example
- In Zentrunk, open your Outbound trunk. Copy its termination domain into Provider SIP address.
- In the trunk's IP access control, allow
172.105.47.112. - Create a credential list with a strong password, attach it to the trunk, and enter the same username and password in AgentBlit.
- If you turned on TLS in AgentBlit, turn on Secure Trunk in Plivo.
- For Indian numbers, your Plivo account needs the India data region and KYC. Without them Plivo rejects the call with
Domestic Anchored Terms Not Met.
Chat can place calls too
Once voice and outbound calling are both set up, the agent can call someone during a chat:
- The agent asks for the phone number and what the call is for.
- You approve each call before it dials.
- The agent waits up to 60 seconds for the result. If the call is still going, it keeps checking and then reports the outcome and transcript.
Write the purpose as a brief: who is being called, what to achieve, and any details the agent may share or must collect.
Limits and safeguards
- The agent calls only the country codes you allow.
- Per agent, by default: 3 calls at once and 20 calls per hour. Over a limit, the call is refused with a message.
- The agent introduces itself and states why it is calling. On voicemail it leaves one short message. If the person asks not to be called, it apologises and ends the call.
Events
Each call writes a start event and an end event to the agent's events. The end event has the outcome and duration:
| Outcome | Meaning |
|---|---|
| Call completed | The call connected and ended normally |
| Line was busy | The number was busy |
| No answer | Nobody picked up before the ring timeout |
| Call declined | The person rejected the call |
| Call failed | The call could not be set up, for example bad credentials |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| Inbound call never reaches the agent | Number not attached to the trunk, or wrong address | Check the trunk destination matches the address exactly |
Indian number rejected with Domestic Anchored Terms Not Met | Indian call not routed through India | Use the India (+91) address for inbound. On Plivo, check the India data region and KYC |
| Outbound call fails straight away | Wrong credentials, or AgentBlit's IP not allowed | Recheck the username, password and IP access list |
| Outbound call ends busy, no answer or declined | The recipient's line | Try again later |
| Agent won't place a call | Limit reached, or number outside the allowed country codes | Wait, or update the allowed country codes |
| Web call won't start | Microphone blocked | Allow microphone access for the site in your browser |