CPaaS · Twilio · Telnyx

CPaaS Development: Twilio, Telnyx, SignalWire and Agora

Samcom Technologies builds and fixes communications on Twilio, Telnyx, SignalWire, Plivo and Agora: AI voice agents on your phone lines, SMS automation, IVRs and diallers, call tracking, cloud phone systems and video. If an integration is stuck on a rejected 10DLC campaign, filtered messages or a failing webhook, we trace the cause and fix what is in your code, sign-up flow and registration.

LiveKit
Pipecat
VAPI
Retell AI
ElevenLabs
Deepgram
OpenAI GPT-6
Anthropic Claude
LangChain
Twilio
FreeSWITCH
Asterisk
Kamailio
WebRTC
Flutter
React
Next.js
Laravel
Shopify
AWS
Docker
Node.js
Python
Firebase
PostgreSQL
VitalPBX
FreePBX
Vicidial
3CX
Amazon Connect
Agora
LiveKit
Pipecat
VAPI
Retell AI
ElevenLabs
Deepgram
OpenAI GPT-6
Anthropic Claude
LangChain
Twilio
FreeSWITCH
Asterisk
Kamailio
WebRTC
Flutter
React
Next.js
Laravel
Shopify
AWS
Docker
Node.js
Python
Firebase
PostgreSQL
VitalPBX
FreePBX
Vicidial
3CX
Amazon Connect
Agora
What We Deliver

Core Capabilities

Voice AI Agents on Phone Lines

AI voice agents that answer and place calls on your own numbers. Twilio Media Streams send live call audio to your application over WebSockets, and a bidirectional stream sends the agent’s voice back; Twilio’s Conversation Relay handles speech recognition and text-to-speech for you instead. Telnyx lists Voice AI agents among its products, and SignalWire’s SWML can start AI agents inside a call. Our own voice AI platform runs on Plivo phone lines in India.

SMS Automation

Reminders, confirmations, follow-ups and two-way conversations connected to your systems, with opt-outs honoured. When someone texts STOP, Twilio refuses further messages to that number until they text START or another opt-in keyword, and the phone system we built on Twilio blocks sends to opted-out contacts before they reach Twilio. US long-code traffic needs A2P 10DLC registration; domestic SMS in India needs DLT registration.

IVR and Call Routing

Menus, queues, extensions, groups, voicemail and transfers, written in Twilio’s TwiML, Telnyx’s TeXML or SignalWire’s SWML. The multi-tenant phone system we built on Twilio has a visual IVR editor with separate draft and published versions, which renders each flow as TwiML.

Outbound Diallers

Outbound and predictive diallers with answering machine detection, call status callbacks feeding retries, and results written back to your CRM. We have built an outbound sales dialler on Twilio Programmable Voice and a predictive dialler on SignalWire’s SWML.

Call Tracking

A separate phone number for each ad campaign or source, so every call is attributed to the campaign that produced it. We built call tracking on Telnyx for a US marketing SaaS.

Video Calling and Rooms

Video inside your own app or website on SignalWire Video, Twilio Video or Agora, whose SDKs cover voice and video calls, interactive live streaming and broadcast streaming. SignalWire’s video rooms can also let phone callers dial in.

Cloud Phone Systems and SIP

Cloud phone systems with numbers, extensions on browsers and desk phones, queues, voicemail and live call logs, and SIP trunks such as Twilio Elastic SIP Trunking, SignalWire SIP or Plivo’s Zentrunk connecting a PBX you already run.

Voicemail to Email and Workflows

Voicemail delivered by email with the recording attached and, for messages under two minutes, a transcript, running on Twilio Functions with email sent through an email-delivery API, so there is no server of your own to keep up; call and message events sent by webhook to your CRM, helpdesk or inbox.

Choosing a Platform

Which platform for which job

Twilio, Telnyx, SignalWire and Plivo all sell phone numbers, voice and messaging through APIs. Agora is built around SDKs for real-time voice, video and live streaming inside your own app. The right choice follows from the job: which countries you call and text, whether calls reach the phone network or stay inside an app, how much of the call you want to control in code, and what you already run.

Moving an existing Twilio application is a documented path on both alternatives: Telnyx’s TeXML Translator interprets existing TwiML verbs and nouns, and SignalWire’s Compatibility API is meant for migrating TwiML-based applications. Prices differ by country and volume; our Telnyx vs Twilio vs Plivo comparison sets out list prices read on the day.

Samcom Technologies has delivered work on Twilio, Telnyx, SignalWire and Agora, and runs the Indian phone lines of its own voice AI platform on Plivo, so we can recommend a platform for your countries, volumes and product rather than the one we happen to know.

Twilio
Voice API, Messaging APIs, Elastic SIP Trunking, Video, Verify, Studio and Functions; Conversation Relay for AI voice
Telnyx
A licensed carrier with its own private global backbone; Voice API, TeXML, Messaging, Programmable Fax and Voice AI agents
SignalWire
SWML for calls and messaging in YAML or JSON; Compatibility API (cXML) for TwiML apps; Video rooms; AI agents
Agora
SDKs for voice and video calls, interactive live streaming and broadcast streaming; Signaling; Voice Agents
Plivo
Telephony APIs to call, message and connect voice agents to the phone network; Zentrunk SIP trunking
Recent Work

CPaaS Projects

Voicemail to Email

For a US company, callers hear its greeting and leave a message; the recording is emailed with a transcript (for messages under two minutes), and each email names the website that number serves. It runs on Twilio Functions and Assets, with email sent through an email-delivery API, so there is no server of its own to maintain.

Twilio FunctionsVoicemailEmail
Live since Aug 2026USA

Multi-Tenant Cloud Phone System

A phone system and CRM in which each customer connects its own Twilio account: numbers synced from that account, extensions on browsers and on desk phones over SIP, a visual IVR editor with draft and publish, queues, voicemail with email notification, call transfers, SMS with opt-out handling, and live call logs. Built on Next.js, PostgreSQL and BullMQ.

TwilioMulti-tenantIVR
LiveSaaS

Call Tracking for a Marketing SaaS

A Telnyx number for each ad campaign, so every call is tracked back to the source that produced it.

TelnyxCall tracking
DeliveredUSA

SMS and Fax for Records Exchange

SMS and fax on Telnyx for a US radiology network’s exchange of records.

TelnyxSMSFax
DeliveredUSA

Predictive Dialler on SWML

An outbound predictive dialler built on SignalWire’s SWML for a US debt collection agency.

SignalWireSWMLDialler
DeliveredUSA

Telehealth Video and SMS

Video rooms and SMS on SignalWire for a Canadian clinic network’s telehealth platform, where patients join consultations from their browser with no app to install.

SignalWireVideoSMS
DeliveredCanada

India Phone Lines for Voice AI

Plivo’s Zentrunk SIP trunking carries the Indian phone lines for our own voice AI platform.

PlivoZentrunkVoice AI
Our platformIndia

See more of our work →

Troubleshooting

Common CPaaS problems and their fixes

Problems that stop Twilio, Telnyx and Agora projects, with the cause and the fix. Each vendor error code and its meaning comes from that vendor’s own documentation, read on 4 December 2026; the webhook signature case is one we fixed in our own code.

A2P 10DLC campaign rejected

Twilio returns one or more error codes on each rejected campaign. 30909, for example, means the Message Flow or Call to Action does not show how people opt in. Describe every opt-in path end to end, give public evidence for paper, verbal or in-store opt-ins, keep any website checkbox optional and unticked by default, and link a public privacy policy and terms. A resubmission starts a new review of up to 5 business days for standard use cases.

Error 30909Twilio

Messages show as undelivered

The message was filtered by Twilio as spam or unwanted messaging, or blocked by a carrier for breaking its rules. Check the content and use case against Twilio’s Messaging Policy and Acceptable Use Policy. If you believe the messages comply, Twilio asks for three or more undelivered examples with error 30007 so it can review them.

Error 30007Twilio

Texts to US numbers blocked from a new number

Twilio blocks messages to US numbers from a +1 10DLC number that is not associated with an approved A2P 10DLC Campaign. Finish Brand and Campaign registration, then add the number to the Sender Pool of the Messaging Service linked to that Campaign. A Sole Proprietor Campaign registers only one number; to send before registration is complete, Twilio points to toll-free numbers, short codes or, for verification codes, Twilio Verify.

Error 30034Twilio

Telnyx messages fail as unregistered

Telnyx’s error reference gives the cause as a sending number that lacks 10DLC campaign registration, and the fix as registering for 10DLC before sending again.

Error 40010Telnyx

One customer no longer receives your texts

The recipient replied STOP or another opt-out keyword, or the number has recently been reassigned to someone else. Twilio will not send to it until the recipient texts START or another opt-in keyword. Remove the number from your list and record the opt-out in your own system, so campaigns and staff stop trying to send.

Error 21610Twilio

Twilio cannot get a response from your webhook

Your server returned a 4xx or 5xx status, a firewall, WAF or rate limiter blocked Twilio, the host resolves to a private address, or the reply took too long. Make the URL return a 2xx status and accept POST, and set a fallback URL on the number or TwiML app, ideally on separate infrastructure.

Error 11200Twilio

Webhook signature check fails on some requests

Twilio signs the full URL it called, including the scheme and the query string, plus the POST parameters. If your code rebuilds a different URL, from the path alone or from the internal host or scheme your app sees behind a proxy, the check fails and your app rejects Twilio. We hit exactly this in the multi-tenant phone system we built on Twilio: IVR keypress webhooks carried a query string, our code dropped it, and callers heard an application error after pressing a digit. Rebuild the URL exactly as Twilio called it.

HTTP 403Twilio

One-way or no audio on SIP calls

When the person on the phone network can hear your PBX but your PBX user hears nothing back, Twilio’s troubleshooting guide names two causes: the PBX putting its LAN IP address into the SDP, and a firewall blocking RTP from Twilio. Configure the PBX to put its WAN address in the SDP, and allow RTP from Twilio’s IP addresses and ports.

SIP and RTPTwilio SIP

Long silences before the AI voice agent replies

The wait is spread across the pipeline, not only the language model. On the agent we measured, the model accounted for about a third of the silence before each answer; detecting that the caller had finished, transcribing them and starting the voice accounted for the rest. Time each stage on real calls before changing the model, and send each finished sentence to the voice as soon as it exists.

LatencyVoice AI

Agora users cannot join, or have to rejoin when their token expires

Agora tokens expire. On the native SDKs, onTokenPrivilegeWillExpire fires when the token will expire within 30 seconds: generate a new token on your server and pass it with renewToken. If the token has already expired, onRequestToken fires and the app must call joinChannel again with a new token. Joining with an expired token returns error 109. Error 110 means the token is invalid: a token was passed when the project has no primary or secondary certificate enabled, none was passed when one is enabled, or the App ID, user ID or channel name used to generate it differs from the ones used to join.

Error 109 / 110Agora

Why A2P 10DLC campaigns get rejected, and how to fix them →

Technology Stack

Tools & Platforms

Twilio Voice APITwilio MessagingTwiMLTwilio FunctionsMedia StreamsConversation RelayElastic SIP TrunkingTelnyx Voice APITeXMLTelnyx Programmable FaxSignalWire SWMLSignalWire VideoAgoraPlivo ZentrunkA2P 10DLCWebRTCSIPNext.jsPostgreSQLBullMQ

RelatedHire a CPaaS developerVoice and video conferencing solutionsAI voice agents for call centresVoIP development: Asterisk, FreeSWITCH and KamailioCRM integration: telephony, WhatsApp and voice AI

FAQs

Technical Questions
Answered

Can't find your answer? Talk to our team directly →

Start from the job. For phone calls and texts, Twilio, Telnyx, SignalWire and Plivo all offer numbers, voice and messaging APIs; Telnyx describes itself as a licensed carrier with its own private global backbone, and SignalWire lets you write call and messaging logic as SWML documents in YAML or JSON. For voice and video inside your own app, look at Agora’s SDKs, Twilio Video or SignalWire Video. Then compare prices for your own countries and volumes; our Telnyx vs Twilio vs Plivo comparison shows list prices read on the day.

Yes. Many problems show up as an error code in Twilio’s logs, so we start there: a rejected 10DLC campaign, filtered messages, or a webhook Twilio cannot reach or validate, as in the troubleshooting list above. We have built on Twilio’s voice, messaging and Functions, including a multi-tenant phone system in which each customer connects its own Twilio account.

We can. On Twilio, Media Streams send live call audio to your application over WebSockets and a bidirectional stream sends the agent’s voice back; Conversation Relay handles speech recognition and text-to-speech for you instead. Telnyx lists Voice AI agents among its products, and SignalWire’s SWML can start AI agents inside a call. Our guide to outbound AI calling on Pipecat, Twilio and OpenAI Realtime shows a full pipeline, and our own Indian-language voice AI runs on Plivo phone lines.

Usually, if the numbers are portable. Twilio’s port-in API takes US non-toll-free numbers, up to 1,000 in one request, and the authorised representative has 30 days to sign the letter of authorisation before the request is cancelled. Telnyx checks portability first and reports whether each number qualifies for FastPort, which it says can complete the same day.

Twilio’s registration guide says campaign reviews take up to 5 business days for standard use cases, and to contact Twilio Support if a campaign is still in progress after 10 days. Brands sent for manual review take seven business days or more. A rejected campaign that is corrected and resubmitted starts a new review of up to 5 business days.

In the US, Twilio says anyone sending application-to-person SMS over a 10-digit long code to US numbers must register for A2P 10DLC, including individuals and hobbyists. In India, TRAI requires businesses and government bodies sending bulk SMS, including OTPs and transactional and service messages, to register as principal entities, send through registered headers of up to 11 characters and register their message templates; before sending commercial messages they must also take consent through a registered consent template. Twilio says company and Sender ID registration on the mobile operators’ DLT portal is needed for domestic traffic, and not for international traffic.

You do. Code is delivered to your repository. On a custom build, the provider accounts we set up move into your name when the system goes into production, and are billed to you directly from then on. On the multi-tenant phone system we built, each customer connects its own Twilio account.

Yes. Our office is in Ahmedabad, India, and we work with clients in more than 30 countries, including the US and Canadian projects above.

Let's Talk

Talk to a CPaaS Engineer

Get a free consultation — real technical answers from our engineering team, no sales pitch.