How To Build A Phone Number That Does Nothing But Play Smashmouth’s “All Star”

June 15, 2017
Written by

Swanson

What happened in 1999 will not stay in 1999, no matter how hard we try. Yes, I’m referring to Smashmouth’s “All Star.” Well, (deep sigh) let’s get this over with and pray that this song goes away soon.

Dean Sheather built a phone number that does nothing but play Smashmouth’s “All Star”.
We’ll build a phone number that plays “All Star” when someone calls, and texts back the lyrics to the song if they text.

Try it out here: 830-476-5664

Let’s Build This “All Star” Phone Line

First, grab a Twilio number. Then create a new TwiML bin. Give it a friendly name like “Smashmouth Immunity” We’re using the verb to play Smashmouth. Upload that MP3 to a server and copy it’s URL. I chose Dropbox. Drop that link in the verb.

Head over to your Twilio number page. Next to “a call comes in” select TwiML and then your “Smashmouth Immunity” TwiMLBin. Click save and you’re done. Your “All Star” line is complete. Give it a ring.
 


 
<?xml version="1.0" encoding="UTF-8"?>
<Response>
  <Play> https://dl.dropboxusercontent.com/u/44041444/AllStar.mp3 </Play>
</Response>

Alright, Let’s Build This All Star SMS Line

Wiring up the message reply is even easier. Create a new TwiML bin called “Smashmouth Immunity Vol 2”. We’re using the TwiML verb to reply to our texter with the lyrics. Drop this code in and click “Create”. Head back to you phone number and navigate to the “A Message Comes In” field. Select “TwiML” and your “Smashmouth Immunity Vol 2” TwiML bin. Click Save and you’re done.
 


 
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Message>
  Here are the lyrics, should you need them. But you shouldn't need them. Please let this song fade into history. 
  https://genius.com/Smash-mouth-all-star-lyrics
</Message>
</Response>

Now that we’ve built a Smashmouth phone number, let’s hope the gods of time and pop charts are satisfied with our tribute.