Skip to content

TwilioDevEd/classmates-twiml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Learn to code with TwilioQuest

Classmates - An Educational Video for the Code Curious

After completing this course, you will have built your very own call-in conference number that will allow you to connect with all the people in your life that you are probably missing right now (all at once!).

You can use this to connect with friends you've been missing! ☎️

Connect your classmates together with this educational video

We're so glad you're spending some of your time learning to code, and we can't wait to see what you build!

@craigsdennis

Teaching Guide for teachers

Sign up for Twilio

Sign up for your free trial with Twilio. If you use this link with promo code to sign up, you'll get double the 💰 Free Trial credit. You deserve it.

https://www.twilio.com/promo/classmates

The code

This is the TwiML (Twilio Markup Language) that you need. You can host this using a TwiML Bin and wire it up to your phone number for incoming calls.

Say Anything

<Response>
    <Say>You can have your call say anything you want it to by using the Say tag</Say>
</Response>

Dial a Conference

The <Dial> tag allows you to dial numbers as well as a Voice Conference. If you put a conference name in there that doesn't yet exist, or is no longer active, it will create a brand new conference for you.

<Response>
    <Say>Connecting with your classmates</Say>
    <Dial>
        <Conference>Classmates</Conference>
    </Dial>
</Response>

Learn more

There are a whole bunch of TwiML verbs you can use to build even more applications.

I recommend you check out the visual flow builder Twilio Studio.

Did you know that Twilio provides an actual video game 🎮 to learn how to code? Check out TwilioQuest and help save the cloud.

If you'd like to run this with a group of kiddos, we've put together a Teaching Guide for teachers. Let us know how it goes!