Which connection path should I use?
Choose based on who should control the number and call routing.
| Path | Best when | Routing | Main work |
|---|---|---|---|
| Native number | Starting fresh | Platform managed | Buy and assign |
| Provider import | Keeping Twilio | Platform binding | Add credentials |
| Existing PBX | Keeping telephony | SIP trunk | Configure routes |
Bland describes purchasing or assigning a number from its dashboard. It also supports importing a Twilio number with an Account SID and Auth Token (Bland).
Forwarding works when your number provider can send calls to a SIP address or webhook. PBXme supports both routing types and requires a public HTTPS webhook for webhook delivery (PBXme).
SIP is the usual fit for an existing PBX, contact center or custom runtime. Weblo describes porting the number to a cloud provider or routing selected call flows through a SIP trunk (Weblo).
What should I decide before touching the dashboard?
Decide the call direction, caller ID and human handoff first.
- Inbound: Which number will callers dial?
- Outbound: Which number should appear as caller ID?
- Both: Can the same number receive return calls?
- Transfer: Which person, queue or PBX extension receives the call?
- Fallback: What happens if the agent or integration is unavailable?
- Ownership: Will the platform, carrier or your business own the number?
Weblo describes porting an existing phone number to a cloud telephony provider and setting up SIP trunking to route specific call flows to an AI voice agent platform (Weblo).
How does an inbound call reach the agent?
Route the number through a provider, then create the agent session from a SIP event or webhook.
Caller
-> phone number
-> carrier or PBX
-> SIP trunk or HTTPS webhook
-> voice agent session
-> transfer, fallback or hang-up
For webhook routing, configure a public HTTPS endpoint and bind it to the number. PBXme sends a POST containing call metadata when an inbound call arrives (PBXme). Your handler should authenticate the event, create or accept the agent session, and return quickly. Make repeated event delivery safe by using an idempotency key or call identifier.
For SIP routing, configure the provider’s origination route to the agent service. OpenAI’s implementation points the provider trunk at its global SIP URI and sends incoming call events to a webhook subscribed to live.transport.incoming (OpenAI).
How do I place outbound calls?
Bind a voice-capable caller number, add provider or trunk credentials, and start calls through the platform’s outbound API.
The request should identify the destination, approved caller number and agent configuration. Keep the provider credentials on the server. Add controls for cancellation, transfer and maximum call duration.
Microsoft Foundry can receive inbound calls and place outbound calls through its call-job API. Its Twilio integration only discovers numbers with Voice capability and creates a separate binding for each selected number (Microsoft).
OpenAI supports outbound SIP calling through the Live API rather than the Realtime API call-creation endpoint (OpenAI).
What does setup look like on each architecture?
Each architecture binds the number at a different layer.
| Architecture | Number setup | Agent binding | Checked |
|---|---|---|---|
| Managed platform | Buy or assign | Dashboard | 2026-11-25 |
| Twilio integration | Select Voice number | Stored connection | 2026-11-25 |
| SIP deployment | Configure trunk | SIP URI and webhook | 2026-11-25 |
| PBX forwarding | Keep existing number | SIP or webhook URL | 2026-11-25 |
For a managed example, Speko Agents supports platform numbers and numbers brought over SIP. It handles inbound calls, outbound calls and transfers (Speko Agents).
Speko is a voice agent platform for business phone calls: teams build, test, run and monitor AI phone agents for scripted calls such as interviews, candidate screens and intake.
For Microsoft Foundry, connect either Teams Phone extensibility or Twilio. Twilio credentials are stored in the project connection before selected numbers are bound to the agent (Microsoft).
For a custom OpenAI deployment, create the OpenAI webhook, configure a provider SIP trunk and point that trunk at OpenAI’s SIP URI. Twilio documents this pattern with Elastic SIP Trunking and a voice-capable Twilio number (Twilio).
What security controls are required?
Use HTTPS for webhooks, protect credentials, verify event signatures and encrypt SIP media where the destination requires it.
OpenAI’s SIP connection uses TLS for signaling and requires SRTP for call audio (OpenAI). PBXme requires a public HTTPS webhook for inbound webhook events (PBXme). The Speko voice agent API uses signed webhooks.
Apply these controls before launch:
- Store carrier tokens in a secret manager.
- Verify signatures before processing webhook bodies.
- Reject stale events and unexpected source accounts.
- Make webhook handlers idempotent.
- Restrict outbound destinations where possible.
- Separate test and production numbers.
- Remove call audio and transcripts according to your retention policy.
What will the phone connection cost?
Budget separately for the number, PSTN minutes, SIP or BYOC, optional recording and the AI voice stack.
Speko managed connection
The AI rate is “$0.09 per minute on Speko infrastructure across speech-to-text, LLM and text-to-speech” (Speko pricing). The headline AI rate leaves out the phone number and carrier charge.
| Part | Price | Source | Checked |
|---|---|---|---|
| STT, LLM, TTS | $0.09/min | Speko | 2026-11-25 |
| Number setup | $1 most numbers | Speko | 2026-11-25 |
| Number rental | $2/month most numbers | Speko | 2026-11-25 |
| Inbound carrier | Charge + 20%, min $0.01/min | Speko | 2026-11-25 |
| Outbound carrier | Charge + 20%, min $0.015/min | Speko | 2026-11-25 |
Calls over your own SIP trunk add nothing to the Speko rate (Speko pricing).
Custom OpenAI and Twilio connection
OpenAI bills GPT-Live voice sessions per second. Twilio charges separately for the number, PSTN usage and optional telephony features (OpenAI pricing, Twilio pricing).
| Part | Price | Source | Checked |
|---|---|---|---|
| GPT-Live input | $0.05/min | OpenAI | 2026-11-25 |
| GPT-Live output | $0.02/min | OpenAI | 2026-11-25 |
| Live transcription | $0.017/min | OpenAI | 2026-11-25 |
| Local number | $1.15/month | Twilio | 2026-11-25 |
| Local PSTN | $0.0140/min, $0.0085/min | Twilio | 2026-11-25 |
Twilio also lists two BYOC trunking prices of $0.0040 per minute and recording at $0.0025 per minute. Its US pricing page states that these rates were current as of October 2026 (Twilio pricing).
How much capacity do I need?
Size both call setup rate and concurrent media capacity.
Twilio allows provisioning up to 30 calls per second through its console (Twilio pricing). Weblo estimates 85 to 100 Kbps per concurrent G.711 call (Weblo).
Also set operational limits for:
- Concurrent inbound and outbound calls.
- Calls started per second.
- Provider and model timeouts.
- Transfer queue capacity.
- Retry limits after failed call attempts.
- Failover routes when the agent is unavailable.
Monitor answer rate, setup failures, transfer success, webhook errors and calls that reach fallback.
How should I test before launch?
Test the complete phone path, not only the agent prompt.
Run these cases:
- Inbound call from a mobile phone.
- Outbound call to an approved destination.
- Caller interruption and silence.
- Transfer to a person or queue.
- Busy, rejected and unanswered destinations.
- Invalid webhook signature.
- Provider timeout or unavailable agent.
- Return call to the displayed caller ID.
- Duplicate webhook delivery.
Voice agent testing can exercise a draft with simulated callers before it goes live. Production monitoring should then check real calls against the same acceptance criteria. Speko can score every real call and group failures into recurring issues (Speko monitoring).
Launch checklist
- Provision, import, port or retain the number.
- Confirm that the number supports voice.
- Bind the number to the correct agent and environment.
- Configure inbound routing.
- Configure outbound caller ID and permissions.
- Add transfer and fallback destinations.
- Store credentials outside application code.
- Enable signature verification and encrypted transport.
- Test inbound, outbound, transfer and failure paths.
- Monitor call outcomes after release.
FAQ
Can I keep my existing business number?
Yes. Import it into a supported platform, port it to a cloud carrier, forward it, or route selected calls over SIP. The available path depends on your carrier and voice platform.
Do I need SIP to connect a voice agent?
No. Managed platforms can provision numbers directly, and some providers can deliver inbound calls through webhooks. SIP is useful when you need PBX integration, carrier control or direct media routing.
Can one number handle inbound and outbound calls?
It can when the carrier and platform support both directions. Verify outbound caller ID approval and confirm that return calls route back to the intended agent or team.
What happens when the agent cannot take the call?
Configure a fallback route before launch. Typical destinations are a human queue, voicemail, another number or the existing PBX flow.
Should I port or forward my existing number?
Forward when you want to retain the current carrier and deploy quickly. Port when the new provider must control the number. Use SIP routing when you want to preserve the existing telephony environment.
Sources
- How to Build an AI Voice Agent with a Real Phone Number, read 2026-11-25
- How to Connect an AI Agent to a Phone Number in 2026, read 2026-11-25
- Telephony and SIP, read 2026-11-25
- Integrate telephony channels with a voice agent, read 2026-11-25
- How to Connect AI Voice Agents to Your Phone Number? A Complete Guide, read 2026-11-25
- Connect the OpenAI Realtime SIP Connector with Twilio Elastic SIP Trunking, read 2026-11-25
- Programmable Voice Pricing in United States, read 2026-11-25
- OpenAI API Pricing, read 2026-11-25

