Skip to content

Instantly share code, notes, and snippets.

@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 5, 2020 04:58
Twiliomatic: create an app that reports weather forecast for Tokyo
<Response>
<Say>
Today in Tokyo, Japan: The weather is sunny. High of 80, low of 69 degrees Fahrenheit.
</Say>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 23:54
Twiliomatic: Create an app that says &quot;hi&quot;
<Response>
<Say>
hi
</Say>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 23:11
Twiliomatic: Create an app that says a famous quote
<Response>
<Say>
Whether you think you can, or think you can't, you're right
</Say>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 22:24
Twiliomatic: Create an app that shows word of the day
<Response>
<Say>
Word of the day is "conflation"
</Say>
<Say>
For more word of the day help, say "word of the day help"
</Say>
<Say voice="default">
To hear the word of the day again, say "word of the day again"
</Say>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 22:19
Twiliomatic: make an app that says &quot;Knock knock&quot;, waits 10 seconds and then says &quot;who&#x27;s there?&quot;
<Response>
<Say>
<Play file="http://www.twimlai.com/twiml/knock">
Knock knock.
</Play>
<Pause dur="10s"/>
Who&#x27;s there?
</Say>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 22:14
Twiliomatic: Create an app that replies &quot;Howdy&quot; to a request saying &quot;Hi&quot;
<Response>
<Say>
Howdy
</Say>
<Dial action="http://example.com/yourCallbackUrl" method="GET"/>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 22:13
Twiliomatic: Create an app that replies &quot;Howdy&quot; to a greeting, and &quot;Up Yours&quot; to anything else.
<Response>
<Gather action="http://twimlets.com/holdmusic" maxDigits="3"></Gather>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 21:39
Twiliomatic: create an app that can order a pizza for you via pizza hut
<Response>
<Dial>
<Say>
Hello, I would like to place an order from Pizza Hut please
</Say>
<Dial>
sip:91796X4323X32@monk.shinplons.com
</Dial>
</Dial>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 21:37
Twiliomatic: create an app that says pi
<Response>
<Say>
3.1415926
</Say>
</Response>
@Twiliomatic
Twiliomatic / incoming.VoiceResponse.twiml.xml
Created October 1, 2020 21:21
Twiliomatic: dad jokes
<Response>
<Say>
You might like my other apps better, check'em out!
</Say>
</Response>