Play DTMF tones in outgoing call using Twilio
Asked Answered
D

1

7

In my Twilio-based application I create outgoing calls via the Twilio REST API.

When the target side responds, I put him/her to the recently-created conference.

How can I play a certain set of DTMF tones before putting him/her to the conference?

The responding side is a certain system which accepts DTMF tones, and I need to play some set of the digits.

I have read the documentation, but I did not find way to do this.

Is it possible?

Disciplinary answered 3/7, 2014 at 18:34 Comment(0)
H
14

There are two different ways to do this depending on your situation.

One option is to use the sendDigits parameter when making your outbound phone call. Specifying sendDigits tells Twilio to dial a set of DTMF tones once your outbound call has connected. This is an example that includes the sendDigits parameter.

Another option is to use the <Play> verb includes a parameter named digits which lets you tell Twilio it should play a set of DTMF tones. This is an example of using <Play> with the digits parameter.

Hardaway answered 3/7, 2014 at 18:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.