Reputation: 289
I am trying to create a sample app with twilio wherein a call is made. I am generating the twiml through the twiml-ruby gem. I just want to know how to change the voice to woman in this.
default now is man when i use
r.Say "hello world"
how to pass that voice parameter?
Upvotes: 1
Views: 369
Reputation: 7725
https://github.com/twilio/twilio-ruby#getting-started-with-twiml
The documentation specifies a voice parameter:
r.Say 'hello there', :voice => 'woman'
Upvotes: 5