DTMF¶
Description¶
The DTMF Node sends RTP payloads to the caller's SIP provider to play DTMF digit tones to the caller. If the caller's SIP provider supports RTP payloads according to RFC 2833, the customer will hear the voice tones of the DTMF digits.
This Node is useful when paired with a Handover to Agent Node or a Transfer Node. By playing the DTMF digit tones, the DTMF Node informs the caller that they are being transferred to another agent — either a voice AI Agent or a human agent in a contact center.
The Node can also be used in combination with DTMF input (the Capture DTMF Signals parameter in the Set Session Config Node) to provide feedback on the caller's input. For example, after a caller enters digits, the system plays back the corresponding DTMF tones for each digit entered to confirm the input.
Settings¶
Parameter | Type | Description |
---|---|---|
Digits sequence | Text | Specifies the sequence of digits to be played to the caller. The sequence of digits can be a telephone extension code or the number for the customer service center. |
Pause time | Slider | Specifies the pause length in milliseconds (ms), between each individual DTMF digit tone. The default value is 500 ms. |
Example¶
Consider the example where a company provides an option for customers to order equipment by leaving a voice message with the details or to get assistance with equipment they have already received. An AI Agent guides the customer through this process using DTMF digit tones.
To build a flow with the DTMF Node, either add a new Flow or extend an existing one, then follow these steps:
- In the Flow editor, click + and select Extensions > VG.
- Create a new Node by selecting Set Session Config from the list. The Node appears in the Flow editor.
- Left-click the Set Session Config Node to open the Node editor.
- In the Node editor, go to the DTMF section. Activate the Capture DTMF Signals setting and remove
#
from the DTMF Submit Digit field. - Click Save Node.
- Below the Set Session Config Node, add a Question Node.
- In the Question Node editor, configure the following settings:
7.1 From the Question Type list, select Number.
7.2 From the Output Type list, select Text.
7.3 In the Text field, enter the following sentence:Hello! Welcome to our Support. We can help you with your equipment needs. If you want to place an order for equipment, press 1. If you have already received your equipment and need help with setup or are experiencing issues, press 2.
7.4 Click Save Node. - Below the Question Node, add a Lookup Node.
- In the Lookup Node editor, select the Text type and click Save Node.
- Configure the logic in the branch for the first Case Node:
10.1 Click the Case Node. In the Value field, specify1
, then click Save Node.
10.2 Below the Case Node, add a Say Node. In the Say Node editor, go to the Text field and in specify the following sentence:After the signal, please leave a voice message with the information about the equipment you wish to order, and we will call you back
.
10.3 Click Save Node.
10.4 Below the Say Node, add a DTMF Node. Specify1
in the Digit Sequence field to correspond the tone to the dial number that the caller presses.
10.5 Click Save Node.
10.6 After that, you can add a Call Recording Node to record the caller speech. -
Configure the logic in the branch for the second Case Node:
11.1 Click the second Case Node. In the Value field, specify2
.
11.2 Below the second Case Node, add a Say Node. In the Say Node editor, go to the Text field and in specify the following sentence:After the signal, you will be transferred to a contact center
.
11.3 Click Save Node.
11.4 Below the second Say Node, add another DTMF Node. Specify2
in the Digit Sequence field to correspond the tone to the dial number that the caller presses.
11.5 Click Save Node.
11.6 After that, you can add a Handover to Agent Node to route the caller to the contact center.
Test your Flow via the Interaction Panel. Use the Voice Call setting.