gndps
gndps

Reputation: 821

How to say/play something to everyone in a call in Twilio

My Twiml is:

(Dial attributes)

(Number url="_numberURL")_toNumber(/Number)

(Say)Party 2 prompt(/Say)

(/Dial)

Party 2 gets connected after phone is picked up and Party 1, Party 2 can now talk to each other however (Say) verb is never called!! Is there a way i can broadcast a (Say) to all users connected in the call?

Upvotes: 0

Views: 1467

Answers (1)

Devin Rader
Devin Rader

Reputation: 10366

Twilio evangelist here.

You cannot put the <Say> verb inside of the <Dial> verb. If you want to have Twilio say something that both parties hear once they are connected what you will have to do is utilize a <Conference>. Dial both parties into the conference, then you can have Twilio also dial into that conference and say something.

This post shows a really similar scenario:

Use Say verb to all Conference participants

Upvotes: 3

Related Questions