Using Telnyx’s WebSocket Transport for your Pipecat Cloud agents
call_control_id
).
When Pipecat Cloud receives an incoming WebSocket connection from Telnyx, it processes the connected
and start
messages to initialize a new bot instance. All WebSocket messages are forwarded to your bot, including any custom parameters set in your TeXML. This allows your bot to leverage Telnyx’s Call Control API for advanced call control - such as recording conversations, transferring to human agents, or implementing complex call flows.
pipecatcloud
CLI. This information is required when creating the TeXML configuration.
AGENT_NAME
with your deployed bot’s name (e.g., my-first-agent
)ORGANIZATION_NAME
with your organization name from step 2 (e.g., three-random-words-randomnumber
)customer-support.industrious-purple-cat-12345
$TELNYX_API_KEY
is your Telnyx API key (found in your Telnyx Console)YOUR_CONNECTION_ID
is your Telnyx connection ID for the phone numberYOUR_TEXML_APPLICATION_URL
is the webhook URL of your TeXML Applicationcall_control_id
that’s automatically provided to your bot. This enables capabilities such as: