Building Phone Applications

Transcription

1

2 Building Phone Applications A step-by-step guide to building powerful voice and SMS applications for business Vince Dasta This book is for sale at This version was published on This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do Vince Dasta

3 Contents Building Phone Applications More information i i Preface ii What you need ii Conventions ii 1 Introduction The old way of thinking Do what others think is too hard Everyone has a phone A Business phone system for $10 per month Big marketing budgets

4 Building Phone Applications All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the content provided. However, the information and examples contained in this book is provided without any warranty. Neither the author nor publisher will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. All efforts have been made to provide trademark information for the companies and products mentioned in this book by the appropriate use of capitals, however I cannot guarantee the accuracy of this information. More information This book, as well as my other telecom content, is available at i

5 Preface Building Phone Applications will show you step-by-step how to build powerful voice and SMS applications and how to leverage these applications to power your business. All of the examples in this book are written in PHP and use the Plivo Cloud API, but you can easily modify them to use different technology. What you need All you need to get started is a Plivo account, a server, VPS, or host that lets you run PHP, a text editor and an Internet connection. In later chapters we ll setup a Plivo account and build your hosting environment from scratch so don t worry if you don t have those setup yet. Conventions In this book different styles of text are used to distinguish different kinds of information. Here s a few examples. Sample Code Block 1 <?php 2 require_once 'lib/plivo.php'; 3 echo 'hello world!'; 4?> Bold text is used to show New terms and important items. Bold is also used to denote menu items or on screen options. For example, Click Applications under the Settings menu. Warnings Warnings are used to indicate an important item which could cause trouble. Tips Tips and tricks appear like this. ii

6 1 Introduction Let s face it, you want your business to be successful. There s probably not very many people out there that would say that they want to attract less customers, work harder for sales, and make it harder for their customers to use their products. But in reality that s what far too many tech companies do by not having a phone number posted on their website. If so many companies don t have a phone number on their site there must be a reason right? 1.1 The old way of thinking What is the first image that comes to mind when you think about a phone number? Old fashioned? Expensive? Not scalable? Low-tech? What about from your customer s perspective? Trustworthy? Legitamate? Safe? Helpful? Common sense would tell you that customers want to see a phone number before they buy from you. You have probably spent countless hours optimzing your site, your pricing pages, every word and image has been selected to show your value and convey that sense of trust that let s a potential customer know it s safe to enter their credit card number. What if adding a phone number was as easy as a few lines of code? What if you could track a conversion rate and run A/B tests with a phone number? What if you could handle a majority of your inbound phone calls without anyone from your company picking up a phone? These are the things that you can do once you abandon the old way of thinking about the phone system. In this book I ll show you how to use the old fashioned phone system as another channel for interacting with your customers and team using modern API s, innovative programming and some really simple integrations with your existing applications as well as a few powerful third party services. 1.2 Do what others think is too hard Now that we know that most companies don t include the phone and for that matter SMS as a channel for their customers to interact with them and their product you can instantly differentiate yourself from the competion by embracing the phone. Take for example Ally Financial. Ally has spent millions of dollars advertising their talk to a real person 24/7 campaign. Because Ally operates as a branchless bank they have realized that a major barrier for their customers is the fear of poor customer service. Notice that they don t advertise the fact that they are branchless, nor do they assert that their customer service is better than say, Bank of America s. But they have made their phone number a focal point of their customer experience. It took me about 5 minutes and several levels of navigation to find a contact number on bankofamerica.com and about 3 seconds to find one on ally.com. Despite the fact that I can walk into a BofA branch that s about 2 blocks from my house 1

7 Introduction 2 and talk to a person face to face that can handle any issue or transaction I have, I instantly feel like Ally has better customer service. At this point you re probably thinking that you can t offer 24/7 customer support over the phone because you re a small company, you don t have the staff, or you don t think you ll get the call volume to support hiring someone to answer the phone. And that s what keeps the other companies, the ones that don t read this book, from doing it. The reality is that you don t have to have anyone answer the phone most of the time. A well written phone or SMS application can handle 99.95% of all situations. This is where most people again object and say that customers hate automated systems and endless phone menu trees. I agree, that s why we are going to design an application that doesn t act like a dumb menu but doesn t pretend to be a human either. This is the key to building a successful phone application. Done right a well designed application that integrates with your company at a low level is a great experience for your customers. Depending on your business, maybe this just means connecting a caller to the right person based on a list of factors, or maybe it means an entirely automated system with no live persons at all. Because every business is different every phone system should have be custom. Until a few years ago designing a custom phone system was a very expensive proposition, but not anymore. 1.3 Everyone has a phone According to a Pew Research study in May 2013, 56% of adults in the US owned a smart phone. So if you build an app you can potentially reach 56% of the population. But some of those are iphones, some are Android, some are BlackBerry and some are Windows phones, etc. So you really need to build 5 or 6 apps to reach all of those users. That s a lot of work to not even reach 46% of the adult population. The same study found that another 35% have a at least dumb cell phone. now you re looking at 91% of the adult population with a cell phone of some type. So what can 91% of adults in the US do? Call and Text. If you ask me spending a few dollars to reach 91% of the adults in the US is money well spent. Of the 9% without cell phones, most have a landline or can still make a phone call at a shared phone so now you re approaching 100% of your potential customers. Coincidently, according to another study, 9% of adults have never eaten a hotdog.

8 2 A Business phone system for $10 per month Traditional logic tells you that a business phone system is expensive. There s the phones, the voic system, the PBX to handle the auto attendant, the monthly cost of a business phone line from the telco or cable company is at least $30 per month after taxes. That s why most new or small startup companies turn to the VoIP providers. The going rate for VoIP hosted/virtual PBX is $19-29 per user per month. Even this can get out of control really fast and lead to a triple digit bill each month. Why does it have to be that way? The short answer is because it always has been. In the quest for an explanation behind this universal pricing model we can start off by dismissing traditional analog phone service from the Phone Company. Land Line service, at least in the US is highly regulated so price isn t that flexible. Even if the old guard of carriers wanted to slash prices (and some of them actually do), they can t because of antiquiated tariff regulations and FCC competition rules. That leaves us with the less regulated VoIP providers who really are free to charge anything they want. VoIP phone service at its core is a commodity, is easily replaceable and has a low barrier to entry for the carriers. There are dozens of providers offering essentially the same stale service, most with poor customer service and countless hidden fees. Yet somehow they all get away with charging a 900% markup. How? 2.1 Big marketing budgets. The flood of marketing that the big players in the VoIP industry unleash has trained most buyers to compare Hosted PBX service to an analog phone line. But this isn t fair. If you actually compare most VoIP hosted PBX providers to a traditional PBX platform you will see that the features aren t that different, and the total cost of ownership can actually be higher for the VoIP option despite the fact that the actual cost to provide these services is close to nothing. Most marketing pitches also focus on how advanced the provider s technology, and as a result, how reliable the service is. After 3 years of working with our customers I saw that very few companies had the kinds of problems that needed to be solved with 40 year old PBX features and solutions and most didn t realize that the quality guarantees required very expensive dedicated MPLS circuits or T1 s for a few hundred dollars a month. But once we explained some of the creative, outside the box things that could be done with Voice and SMS service that didn t involve pressing 1 for sales I could see the gears turning. With a few lines of code you can integrate your phone system with your website, and link your CRM and shipping data so a customer can call, get their order information and a real time update on their shipping status without your phone ever ringing for example. They didn t even know these options existed, and if they did they thought it would cost too much. 3

9 A Business phone system for $10 per month 4 This was the inspiration we used to launch our next generation platform. We called it SimpleVox. SimpleVox aimed to break the ITSP (Internet Telephone Service Provider) mold. I didn t want to build a Hosted PBX that just copied the features of an old dinosaur PBX. I wanted to provide a platform where companies could solve their business problems with telecom, a system to let companies build their own phone services and integrate with their existing applications. Because we didn t try to compete with traditional ITSP s we could charge a fair price based on the actual costs to provide the service with a fair profit built in, not a flat rate per phone, and our customers realized that the other guys were ripping them off. But for some reason SimpleVox never gained the kind of traction I expected. I don t think the problem was lack of utility. The customers that we had love the product and are doing some really cool stuff. I think the problem was lack of awareness. Most companies don t even think these kinds of things are possible, so they aren t looking for a solution. The problem is education. Companies like Plivo are growing by leaps and bounds because they ve turned voice into a an easy to implement API. This kind of technology isn t new at all, it s actually how most of our really expensive carrier grade IVR platforms worked. What is new is that it s now accessible to anyone for just a few bucks per month and they are evangelizing it. Now that these types of services are available to the public at large at a very low cost there isn t a need for the old guard of VoIP providers and hosted PBX companies anymore. So why are they still in business? Because at the surface it seems really complicated to implement phone APIs and counter intuitive to say you can build the same voice services these companies are charging a 900% markup for in one afternoon and a few bucks. That s why I was inspired to write this book. In the next section I m going to show you how to build a better product than the Hosted PBX providers that is 100% customized to your business and almost infinately scalable. I m also going to show you how to build and run this phone system for less than $10 per month. That s not per user, or per line, that s the whole system.

N Ways To Be A Better Developer Lorna Mitchell and Ivo Jansch This book is for sale at http://leanpub.com/nways This version was published on 2015-01-06 This is a Leanpub book. Leanpub empowers authors

Brought to you by Technology changes fast. From new apps to digital marketing, it can feel impossible to keep up. At The Paperless Agent, our mission is to help real estate professionals from all experience

Open Source Support Andrew Hooker This book is for sale at http://leanpub.com/os-support This version was published on 2014-11-12 This is a Leanpub book. Leanpub empowers authors and publishers with the

Make the Call: Is Microsoft Response Point Right for Your Business? Easy to use and manage, Microsoft Response Point is revolutionary phone system software designed specifically for small businesses with

Learn what an IP PBX system can do for you and understand what issues you should consider during your decision-making process. IP PBX Buyer s Guide Copyright 2007, Tippit, Inc., All Rights Reserved Contents

THIS HAD BETTER BE GOOD A nd trust me, it is. What would you think if I told you that you can make an international call of high quality sound, and it would cost you nothing? I know, it sounds like one

Business Telephone Systems What Options are Right for My Business? A business phone system is the lifeblood of any successful business and whether you are setting up a new office or remote location, or

The Little Real-time Web Development Book Learn to apply real-time web development practices in your apps Roger Stringer This book is for sale at http://leanpub.com/real-time-web This version was published

Mortgage Secrets What the banks don t want you to know. Copyright Notice: Copyright 2006 - All Rights Reserved Contents may not be shared or transmitted in any form, so don t even think about it. Trust

Decoding Business Phone Basics 7 Simple Terms to Understand Before Choosing Your Next Phone System Do you feel like you need a magic decoder just to shop for a new phone system? Understanding simple terms

Asterisk: The Future of Your Phone Service What is an Asterisk PBX? Overview Asterisk is an open source / open standards hybrid phone system that uses standard computer hardware and software to unite all

μsoho PBX for small business or home Converged Communications for Business A green solution www.nexmatrix.com Why a μsoho PBX for you? The smallest PBX for Home and Small Offices with 10 or less people,

Evaluating New Telephone Systems Keys to Successful Deployment 716 874-5500 www.comtel.us The telecommunications landscape has seen many changes. Like a winding road, there are twists and turns as clients

Fifty Enterprise Architect Tricks Probably the most popular book about Enterprise Architect in the world Peter Doomen This book is for sale at http://leanpub.com/entarch This version was published on 2014-03-01

SPECIAL REPORT INFUSIONSOFT: 7 KEYS TO TOP RESULTS OVERVIEW You have your data imported, some follow-up sequences, and some initial results with Infusionsoft. Now what? Infusionsoft is a powerful product,

The Protel PBX Line Converged Communications for Business Green Solutions www.nexmatrix.com Your employees are your most valuable assets The Protel PBX makes them more productive! Why choose the Protel

Legal No part of this publication may be, including but not limited to, reproduced, in any form or medium, stored in a data retrieval system or transmitted by or through any means, without prior written

Pay per Click Success 5 Easy Ways to Grow Sales and Lower Costs Go Long! The Benefits of Using Long Tail Keywords clogged sewage line, I ll see a higher conversion How many keywords are in your pay-per-click

WAYS TO 5IMPROVE OUTBOUND SALES PERFORMANCE: Best practices to increase your pipeline table of contents Intro: A New Way of Playing the Numbers Game One: Find the decision maker all of them Two: Get ahead

BUSINESS PHONE SOLUTION Buyers Guide 10 Questions Every Business Should Ask Introduction BOLD OPTIONS AND NEW POSSIBILITIES Today s business owners have extensive options for selecting a business phone

Best Practices in Mobile Web Design Mobilizing vs. Miniaturizing 1 P age www.3pmobile.com 201 2 5o9, Inc. Introduction If you are reading this primer, then you already know that Software- as- a- Service

Vocalocity Small Business Cloud-Based Voice Solutions Now your business can have all the benefits of a full-featured phone system like the ones Fortune 500 companies use at an incredibly affordable price.

Simply a better way for your business to communicate. www.voice-ring.com -346,,, Welcome to Voice-Ring Your Digital Solution to Business Telephone Service. There is nothing more important in the Business

Buying, Using and Integrating NetSuite By About This guide is meant to help business considering implementing NetSuite. Regardless of whether you re a small business implementing a CRM or EPR for the first

Building Business Productivity with Unified Communications The Essentials Series Networking for Increased Productivity and Reduced Costs sponsored by Introduction to Realtime Publishers by Don Jones, Series

A Big Business Phone System for a Small Business Budget ConnectMeVoice has been a leader in telephony for twenty years, starting with the earliest PC-based voicemail systems, including distributed voicemail

Electronic Call Answer Services Limelight Software Solutions have developed & deployed a number of services that ensures your clients phone calls are always received and intelligently resolved. These services

Managed VoIP platform for delivering business class features to your clients. Deliver reliable Voice Over IP service without licensing costs HOW TO BECOME A VOIP PROVIDER WITHOUT THE HEFTY COSTS? Start

Get Found. Sell More Homes. We generate qualified buyer and seller leads and help you nurture them. Union Street Media: No other company offers the combination of individual attention and real estate Internet

Adwords 110 Success Secrets Copyright by Lois Rogers Notice of rights All rights reserved. No part of this book may be reproduced or transmitted in any form by any means, electronic, mechanical, photocopying,

The Google Guide to Search Advertising How to make search advertising work for your business Contents Introduction... 2 Google AdWords: What s In It For You?... 2 5 Steps to Success: Setting Up & Maintaining

Filling the Funnel. Filling the Funnel A small business guide to Inbound Marketing By Bob Brill Get found Get liked Get Business A small business guide to Inbound Marketing. Get found Get liked Get Business

Asterisk PBX Features Automated Attendant Allows callers to be automatically transferred to a user s extension without the intervention of a receptionist. Some businesses use the PBX telephone system to

Switchvox It s more than a phone system. It s a better way to communicate. DIGIUM The Company That s Reinventing the Phone System Digium provides the VoIP solutions that small, medium, and large businesses

Viral MLM Secrets CONGRATULATIONS! You Now Own the Lifetime Giveaway Rights to This Report You May Give Away This Report You may freely distribute this digital PDF report to anyone you wish. Share it on

Building High-Performance Cloud Telecom Infrastructures By: Darren Schreiber, 2600hz It s no secret that businesses are moving to the cloud. Services such as Google Apps and Microsoft SkyDrive are well

Grow your Business with our advanced Call Tracking services Track the effectiveness of your numbers in real time Being able to see when calls are coming in and who they re from can be vital to a business

Moving to a New Business Phone System BroadSoft White Paper 2015 BroadSoft. All Rights Reserved. OneCloudNetworks is an authorized BroadSoft Service Provider Introduction Phone systems have been installed

Businesses don t buy phone systems for fun. If you re in the market, you re probably responding to an event, such as a move or serious problems with an existing system. Perhaps, you are looking to gain

FREE Small Business Advisory Guide: The 7 Most Common And Costly Mistakes Companies Make When Choosing A New Business Phone System And How To Avoid Them This exclusive insider s report will reveal: Eight

Customizing and Integrating NetSuite CRM The Essential Guide 1 INTRODUCTION What s in this Guide This guide is meant to help business who are using NetSuite CRM, specifically around implementing, customizing

Buyer & Seller Lead Conversion Program Written and provided by Travis Robertson Coaching International travisrobertson.com trulia.com/mdpp Sample Buyer Lead Program Use the following program template to

WE RE A MARKETING AGENCY FOR THE TREATMENT INDUSTRY We help you reach the people you heal. WE ATTRACT QUALIFIED CLIENTS TO YOUR PROGRAM. WE CONVERT THEM INTO QUALIFIED LEADS. YOU CLOSE MORE BUSINESS. Our

Three Ways You Can Get More Referral Business Jeff Hartman Product Manager One of the best parts of having loyal, long-term customers is, of course, referral business, but getting more referral business

Active Directory Auditing: What It Is, and What It Isn t Abstract What s wrong with Active Directory s native audit logging? More importantly, what functionality do you really need in an AD auditing solution,

FIVE REASONS TO ADD COMMUNICATIONS TO YOUR CRM TODAY How can you get more out of your CRM system? That's the inevitable question that arises at the end of a successful deployment of a customer relationship

SPONSORED BY HOSTED VoIP. WHAT DOES THAT MEAN TO MY BUSINESS? 10 BUSINESS PEOPLE MAKE THEIR VOICES HEARD. LATELY, THERE HAS BEEN A LOT OF BUZZ surrounding Hosted Voice over IP (VoIP) for business. Companies

Save Valuable Time With Call Answering Service Do constant telephone calls prevent you focusing on your business? The single biggest thing that prevents many smaller businesses getting to grips with growth

White Paper 7 Business Benefits of Moving From an On-Premise PBX to a Cloud Phone System 7 Business Benefits of Moving From an On-Premise PBX to a Cloud Phone System Tipping Points: Factors typically driving

SuperReceptionist Ideal SR Pitch What is a Super Receptionist? PBX Systems for MSME SR is a phone number given to a Business Owner. On calling that number the callers are greeted with a professional greeting

Saving Money with Business VoIP Adding the Costs Table of Contents Introduction 01 Parts of a Phone System 02 Dial-tone and lines Call routing Custom features Phone System Costs 04 Lines and Service Fees

Protecting Data with a Unified Platform The Essentials Series sponsored by Introduction to Realtime Publishers by Don Jones, Series Editor For several years now, Realtime has produced dozens and dozens

Mobile Website Design 5 Things You Need To Know! by Gabrielle Melisende Disclaimers / Legal Information All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted

join.me FAQ How do I start a meeting? of 1 https://join.me/welcome/webhelp/joinme/join.me/jm_faq_start.html#top... 9/18/2012 10:52 AM > How do I start a meeting? On a PC or Mac, go to the join.me website

Introduction! 4 Waxing Philosophical! 5 Becoming Proactive! 6 Do You Need A Website?! 8 What s The Purpose Of Your Website?! 8 And How Will We Get There?! 9 Sales Is Not Scary! 11 What, Exactly, Is Sales?!

GUIDE TO PURCHASING A PHONE SYSTEM FOR YOUR CALL CENTER A STEP-BY-STEP PRIMER TO HELP YOU SELECT THE RIGHT SOLUTION FOR YOUR SMALL TO MIDSIZE BUSINESS GUIDE TO PURCHASING THE RIGHT PHONE SYSTEM FOR YOUR

A Practical Guide To Maximizing Results with Your Automated Collections Dialer 1 P age Traditional dialing methods have been used for decades as a means to collect debt. These traditional methods, while

PARTNER LOGO The AB C s of Mobile Device Management Hundreds of models, multiple carriers, OSs from Gingerbread to Jelly Bean Android fragmentation is scary for IT, but it s far from a problem with Mobile

Toto Lynx Switchboard The possibilities with the Toto Lynx switchboard are many, and despite its simple interface this tool recreates a very sophisticated PBX system. Let s walk through some of the Switchboard

Don t be anti-social with your inbound marketing. David Mitchell & Lauren Keeling the marketing people But we can talk about us later If one more digital marketer tells me You should be creating an immersive

How much should you spend on marketing? An e-guide to help small businesses with small budgets work out what they need to spend on marketing 1 Marketing Angels How much should I spend on marketing? Copyright

White paper 8 plays To deliver an integrated customer service experience On Break Free 25 2 min Busy Average Handle Time % Today, multi-channel usage is a way of life, but the trend seems to have bypassed

The New List Builder Fred LAM $ Sign up Meet Fred Lam Before we dive into this whitepaper about Facebook Lead Ads, I want to formally introduce myself and share my story with you. Hi, my name is Fred Lam.

Customizing and Integrating Microsoft Dynamics CRM The Essential Guide 1 INTRODUCTION What s in this Guide Ease of Use and System Design: How easy is the system to use for your company s users? What are

The OneBox Phone System - Feature List Web Based Administration OneBox comes with a great web page based administration interface called freepbx. Forget about struggling with some unintelligible sequence

What You Should Know Before You Hire An Auto Repair Shop by JC Auto Repair Disclaimers / Legal Information All rights reserved. No part of this book may be reproduced, stored in a retrieval system or transmitted

It can help grow your small business and cut cost where you never thought possible. Contents Introduction Cutting Cost Saving Time Creating a Competitive Advantages Conclusion 3 4 9 12 13 2 Title of the