CPaaS · Voice API
Open for Twilio
Connect Twilio Programmable Voice or Elastic SIP Trunking and Open will answer the call, take action, and stay in your stack.
- Setup time
- Under 10 minutes
- Auth
- Digest credentials or IP allowlist
- Directions
- Inbound · Outbound · Call transfer
- Pricing
- Included with Open
01 — Overview
Can I use AI with my existing Twilio phone setup?
Yes — without porting numbers, switching carriers, or rewriting the parts of Twilio you already trust. Open isn't a Twilio replacement; it's a SIP endpoint your Twilio account talks to. Everything you have in the Twilio Console keeps working exactly as it does today.
The mental model is simple: your Twilio account stays the source of truth for numbers, billing, and call routing. Open registers as a SIP trunk that lives next to it. When you decide a call should be handled by an AI, Twilio forwards the SIP INVITE to Open's endpoint, the AI picks up in under 200ms, and the conversation runs over the same SIP/RTP session Twilio already speaks. There's no proxy, no minute markup, and no separate number pool to manage.
For inbound calls, you have two equally valid paths. The straight-through path is Twilio Elastic SIP Trunking — you create a trunk, point its Origination URI at the Open SIP endpoint, and add your DIDs. Calls land on a Twilio number, Twilio sends them to Open, the AI answers. The other path keeps your existing TwiML or Studio flows in front: at the point you'd normally hand off to an agent, you <Dial><Sip> the Open URI and the AI takes over from there. Either way, the IVR, business hours, recording rules, and analytics you've already built in Twilio stay intact.
For outbound, Open opens a SIP session against your Twilio termination URI (typically your-trunk.pstn.twilio.com) using the digest credentials in your Twilio trunk's credential list. The calls show up in Twilio's call logs the same way human-dialed calls do, with whatever caller ID Twilio has approved on the trunk. You can run AI-driven outreach — lead callbacks, payment reminders, cancellation saves, post-purchase surveys — and still see every leg in Twilio Insights.
What the AI actually does on the call is where Open earns its keep. It doesn't read scripts. It listens, reasons over your knowledge base and tools, and acts: looking up an order in Shopify, creating a Zendesk ticket, scheduling a callback in Google Calendar, sending a payment link, charging a card, or warm-transferring to a human via SIP REFER or PSTN bridge with the full transcript and detected intent attached. Every call is recorded, transcribed, and trace-logged, so when something goes sideways you can replay why the AI made a decision — not just what it said.
Billing stays predictable. Twilio bills you at-cost for carrier minutes, exactly like today; Open never marks them up. Open itself charges per resolved conversation, not per agent or per seat, so spinning up ten AI agents on ten Twilio numbers costs the same baseline as spinning up one. If you're already on Twilio Flex or have a custom contact-center stack, Open slots in as another routing destination — it doesn't ask you to migrate.
What stays the same on Twilio
Twilio numbers and billing
Your DIDs, short codes, and Twilio invoice don't move. No porting, no carrier change.
Twilio Console, Studio, and TwiML
Existing IVRs, call flows, and recording rules continue to work. Open plugs in as a SIP destination.
Approved caller IDs and trunks
Outbound calls present the caller ID Twilio has approved on the trunk you point Open at.
Call logs and analytics
Every call leg still lands in Twilio Insights. Open adds AI-side reasoning traces on top.
What's new with Open
A new SIP destination in your trunk
You add Open's SIP endpoint as the Origination URI on a Twilio Elastic SIP Trunk.
AI handles the conversation
The AI greets, listens, calls your tools, and replies in natural speech — instead of an IVR menu or a queued human.
Transfers carry context
When humans take over via SIP REFER, they receive the live transcript, detected intent, and customer ID.
Pricing model
You pay Open per resolved conversation, not per agent or per minute. Carrier minutes stay on the Twilio side.
02 — Why this works
The native Twilio experience
Native SIP — no middleware
Open registers as a SIP endpoint your Twilio trunk talks to directly. No proxies, no extra hops, no markup on Twilio minutes.
Bring your own numbers
Keep your Twilio DIDs and short codes. Map any number to a specific AI agent via the dashboard or the X-OPENCX-AGENT-ID header.
Inbound, outbound, and transfers
One trunk handles inbound traffic, outbound campaigns, and seamless transfer-to-human via SIP REFER or PSTN bridge.
Multi-region SIP endpoints
Choose US, EU, APAC, or global auto-route to keep call setup latency low wherever your Twilio numbers live.
03 — Setup guide
Wire up Twilio in under 10 minutes
Two trunks — one inbound, one outbound. Both configurable from Settings → SIP in the Open dashboard.
- 1
Open Settings → SIP
In the OpenCX dashboard, go to Settings → SIP and open the inbound trunk configuration.
- 2
Pick a SIP region
Choose Global (auto-route), US, EU, or APAC depending on where your Twilio numbers terminate. The endpoint address updates automatically.
- 3
Copy the SIP credentials
Grab the generated SIP endpoint, username, and password — these are what your Twilio Elastic SIP Trunk needs to send calls to Open.
- 4
Create a Twilio Elastic SIP Trunk
In the Twilio Console, create a new Elastic SIP Trunk and add an Origination URI pointing to the OpenCX SIP endpoint. Use the username and password from step 3.
- 5
Add your Twilio numbers (DIDs)
Under Phone Number (DID) in OpenCX, add each Twilio number that should route to this trunk. Use the exact format Twilio sends in the INVITE.
- 6
Assign numbers to an AI agent
In Channels → Phone → Agents, open the agent and assign the inbound numbers under Telephony & Routing.
- 7
Place a test call
Dial one of the Twilio numbers and confirm Open answers. The full call transcript will appear in your Open inbox.
04 — Configuration
Settings → SIP, at a glance
A real inbound trunk for Twilio looks something like this. Yours are generated when you open Settings → SIP.
Inbound trunk · Twilio
Sample
- SIP endpoint
- sip.eu.opencx.comEU region
- Transport
- TLSrecommended
- Username
- open_inbound_4f9d…
- Password
- ••••••••••••••••
- DIDs
- +44 20 7946 0123, +1 (212) 555-0199
05 — Security
Encrypted, audited, refundable
SIP over TLS for signaling, SRTP for media. Every call is logged with full reasoning traces. SOC 2 Type II, GDPR-aligned, HIPAA- and PCI-ready. Backed by the Open $2M Refund Guarantee.
06 — FAQ