TeXML Bin Quickstart: Simple Voicemail and Call Forwarding
TeXML is an XML-based data structure you can use to control calls with Telnyx and is the quickest way to get started with Call Control using a simple .xml file, allowing you to specify call instructions in your file using commands called verbs and nouns. TeXML Translator starts at the top of your TeXML file and executes your TeXML commands sequentially in the order they are arranged in the file.
In this guide, you'll learn how to setup a simple voicemail and call forwarding TeXML application using Telnyx Call Control.
This tutorial assumes that you have set up a Telnyx portal account, bought a phone number, and assigned it to a Call Control applciation. To get started, take a look at our Quickstart Guide.
Let's get started:
In order to create XML documents, you can use the new TeXML editor in the Mission Control Portal. You'll find the TeXML editor by navigating to the Call Control section on the left menu and selecting 'TeXML Bin'.
Set simple voicemail with TeXML Bin
<?xml version="1.0" encoding="UTF-8"?> <Response> <Say>Thank you for calling YYZ co. Please leave a message.</Say> <Record playBeep="true" finishOnKey="*9" /> </Response>
You can set up your XML application using the url provided in the TeXML bin editor.
Note, this features is only available at our anchorsite in Ashburn, VA, so your application will need to be anchored to this site.
Editing your TeXML Application
Set your Anchorsite to Ashburn, VA
Test your application by:
- Assigning a phone number to the application
Assigning a number to an application
- Dialing the number from the PSTN and leave a message
- Retrieving your voicemail
Retrieving your Voicemail
And that's it! If you have any questions about this tutorial or any of our products, reach out to our support team through the chat in the bottom right hand corner.