Skip to main content

TeXML Fundamentals

Overview

TeXML is an XML-based markup language to define call control and processing instructions. When properly configured, Telnyx will fetch TeXML instructions from the user's application and process the calls accordingly.

See Verbs & Nouns.

TeXML Application

An instance of TeXML Application is a collection of configuration parameters that defines the interaction between Telnyx and the user's application:

FieldDescription
Application NameA descriptive name to identify your TeXML application.
AnchorSiteDefines preferable data center for handling the traffic. In case of latency ICMP ping to the webhook URL address will be used to calculate the closed data center.
Voice methodHTTP method that will be used to interact with your webhooks
Webhook URLThe URL where Telnyx will fetch TeXML instructions when a call is initiated. The instruction can be served by Telnyx. In that case select TeXML bin URL. See TeXML bin quickstart for more details.
Webhook Failover URLA backup URL that Telnyx will use if the primary webhook URL fails to respond
Call progress events URLURL where Telnyx will send event callbacks related to your calls
Status Callback MethodHTTP method (GET or POST) used for status callbacks
Hang-up on timeoutSpecifies the number of seconds Telnyx will wait for initial application response before hanging up
DTMF TypeConfiguration for how DTMF (touch-tone) inputs are handled
Enable Call CostSpecify if the call cost webhook should be sent

A TeXML Application can be created through the Telnyx Mission Control Portal or via the Telnyx API.

Instruction Fetching

See Instruction Fetching.

Twilio Compatibility

See Twilio Compatibility.