# Integrating Cisco VXML

In this guide, you'll learn how to easily build a virtual agent for voice channels using two main answers templates and the technical text.

## Creating Voice channel&#x20;

First, add a voice channel, which can be done in two different moments: when you're creating a virtual agent or adding it later to an existing agent. In the later, access the side menu option "Channels" and then click the "Create channel" tab.&#x20;

<figure><img src="/files/dgQvm66seEFz4ovRKCw2" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Before continuing, make sure you have read this [step-by-step guide](https://docs.eva.bot/user-guide/using-eva/develop-your-bot/build-your-first-bot) until the [Welcome Flow](https://docs.eva.bot/user-guide/using-eva/develop-your-bot/build-your-first-bot#welcome-flow) item.
{% endhint %}

### How to configure a voice channel

Once you're in the Channel's Library, choose the Phone category to open a modal to configure the channel in 5 steps.

{% embed url="<https://drive.google.com/file/d/1Ovu8lmRFF8YjvsQ5G-qzafuY7J9Vooaq/view>" %}

#### Step 1

Fill the fields for Name, Description (optional), a unique DNIS for this environment, and Type. After you select VXML as the voice channel type, the Secret field will appear. Ensure the Secret field contains exactly 16 characters.&#x20;

<figure><img src="/files/r9vQHKxAA4lt9t3WUje4" alt="" width="356"><figcaption><p>STEP 1</p></figcaption></figure>

#### Step 2

Fill in the settings for the call properties.

Please refer to each property section and table to understand the configurable fields used in the DNIS configuration and their reference values for the VXML type: [**TTS**](/voice-gateway/call-properties.md#tts-configurations) (text-to-speech) properties used in [**audio**](/voice-gateway/call-properties.md#audio-template) and [**text**](/voice-gateway/call-properties.md#text-template) answer templates, such as [**Transfer**](/voice-gateway/call-properties.md#transfer-to-human), [**Fetch**](/voice-gateway/call-properties.md#fetch), and how it should handle [**Errors**](/voice-gateway/call-properties.md#handling-errors).

<figure><img src="/files/dE2QtIclFa2J2udXwlfF" alt=""><figcaption><p>Step 2</p></figcaption></figure>

#### Step 3

On the next step, set the behavior for the first answer, Conversation Timeout for the welcome message and also call duration, and [**Regional Expressions**](/voice-gateway/call-properties.md#synonyms-for-regional-expressions).&#x20;

<figure><img src="/files/bxXeSWWUv7LBa39P4wXH" alt=""><figcaption><p>STEP 3</p></figcaption></figure>

#### Step 4

In this step, you'll set the TTS (text-to-speech) and audio configurations. Refer to the [**text** ](/voice-gateway/call-properties.md#text-template)and [**audio** ](/voice-gateway/call-properties.md#audio-template)sections to see the default values and how to overwrite them with commands in the technical text field of answer cells.

<figure><img src="/files/vkHyKMTJsZFOx5w1JRx0" alt=""><figcaption><p>STEP 4</p></figcaption></figure>

#### Step 5

On the last step you'll set the values for [**DTMF**](/voice-gateway/call-properties.md#dtmf-menu) and [**DTMF Voice Menu**](/voice-gateway/call-properties.md#dtmf-voice-menu) and also inform the Automatic Speech Recognition (ASR) voice provider.

<figure><img src="/files/RVNt2EPPikzxUpDA1Z6V" alt=""><figcaption><p>STEP 5</p></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-conversational-ai.syntphony.com/voice-gateway/cisco-unified-contact-center-enterprise/integrating-cisco-vxml.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
