# Call Routing

{% hint style="info" %}
*This action node is only available to telephony-operated virtual agents.*
{% endhint %}

### Route the call to a Recipient

Choose between a contact from the Contacts, manually adding a phone number, or enter a previously collected parameter (such as $PHONE\_NO - if you have collected a phone number from the caller or the system param $CALLER\_PHONE\_NUMBER) that stores a phone number.&#x20;

{% hint style="info" %}
*When using routing, make sure to include the country code without a “+” sign*.
{% endhint %}

![](/files/ymrvLIUo74vHz0ayern1)

**"Failed"** - This option will be triggered when the call did not connect with the destination for any reason. Even an answering machine picking up the call is considered connected. You can add any text-based nodes here, like *Custom Code*, *Webhook*, etc.

### Record Call&#x20;

Follow up on the conversation after the caller has been routed to the recipient. Select "Record Call" and you'll be able to listen to the entire conversation in the Call Reports. The transcript of it will be saved in the parameter shown in the drawer.

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

### Send DTMF inputs to a routed call

Worried about having your users repeat their DTMF inputs after being routed? If the call is routed to a specified phone number, parameter or contact, you can send over DTMF inputs to the live representative or destination IVR as soon as the call is answered.

You can do this by toggling on the “Transfer DTMF answer” option within the Call routing and specifying the parameters or input you want to send in the text box.

{% hint style="info" %}
*The “\*” and “#” digits are supported. You create pauses using “p”. Each pause will last around 500ms.*
{% endhint %}

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

{% hint style="warning" %}
*Please note that the DTMF input must be numbers without spaces or special characters. Invalid input will not be transferred to the routed call, however it will still be visible in the call reports.*
{% endhint %}

{% hint style="danger" %}
*If SIP is selected as the endpoint for routing, transferring of DTMF input will be disabled.*
{% endhint %}


---

# 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://studio.docs.ai.vonage.com/voice/nodes/actions/route-call.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.
