TaCode Tuesdays: 8 Simple Ways You Can Use SMS And Voice (Series 1 of 4)
This is the only place you can find snippets of code for use in your very own text/voice apps, along with a weekly dose of taco puns. I’m a developer here at Zang and not only am I a big fan of tacos (if that wasn’t already apparent), I’m also a fan of open source. My goal is to share a new app idea each week that you’re free to use “as is” or modify and use as the basis for your next app—no coding ability required.
Last week I shared the process for creating a simple SMS notification app, as well as how to get started on the Zang platform. If you’re interested in that, check out last week’s post here.
This week I’m going to share 2 super simple, but incredibly useful, apps: one for business-call forwarding, and one for creating conference calls instantly.
Let’s Taco ’Bout the Apps
[#1] A Business Phone That Forwards to Your Smartphone
We all want to be available to our customers and clients at all times (mostly), but you definitely don’t always want to publicize your personal cell number to make that happen. Well, we solved that problem with a simple piece of code! Zang phone numbers can be used to receive calls, which can then be forwarded to another number—anywhere in the world.
First, here’s how it works:
The customer places a call to your Zang number.
The call is routed to your personal cell, with your personal number masked.
The connection is established between you and your customer on your smartphone.
Yeah, pretty simple. You’ll find the code below. If you’d like to learn how to implement it on Zang (including how to get a Zang phone number), check out last week’s post. It walks through how to implement apps like these, so if you’re ever lost, that’ll make things a lot clearer.
<!– Ensure the “Voice Request URL” for your Zang number points to wherever this XML document is hosted–>
<!– An InboundXML document is made up of various XML elements nested in the response element –>
<!– The <Dial> element starts an outgoing call. Replace this number with the number of the phone you would like to receive the call –>
Before I move on to the next app, here’s your taco tip for the week:
Eat your tacos over another tortilla, so when you inevitably drop ingredients… you’ll have a brand new taco waiting for you. It’s like magic. This is the kinda ‘outta the box’ thinking we do here at Zang!
After you give this a try, come back for app idea #2.
[#2] A Virtual Conference Room for Conference Calls
Picture this: You’ve just been notified of a last-minute conference call, so you click on the linked number in your email. But there’s a 10-digit code that’s also in your email, and without a pen (nope, sorry, never have one) you’ll never remember the numbers.
This scenario happens all the time, frustrating users everywhere. The following code snippet makes it easy for callers to dial in, minus the extreme memory challenge.
Here’s how it works:
1. A customer calls your Zang number and automatically gets added to a conference call. Super sweet and simple!
<Conference startConferenceOnEnter=”true” maxParticipants=”10″>
Conference Call Example Room
So, there you have it: two very simple apps that you can implement yourself for free. A key point is that once you’ve added either piece of code to a document, you’ll have to add the Public URL (found just above the editor or the part where you’ll be pasting the code) to “Voice Settings” under “Manage Numbers.”
Here you’ll see your Zang number(s). Click on the one you want to assign an app and paste the Public URL of the app under “Voice Settings.” Then save and you’re done.
If you have any thoughts about the apps or just want to share your very own taco pun, you can comment below. Be sure to check in again next week for the next installment of TaCode Tuesdays. If you want a reminder, sign up to get notifications of new blog posts. Once again, I’ll be sharing code for multiple apps, so look forward to that.