SlideShare a Scribd company logo
1 of 31
How to Integrate Text
and Phone Messaging
with Your Website
by Cindy Cullen
cindycullen.com
Programming since 1983
Building websites since 1999
Freelance web developer since 2003
Cell phone user since they were too big to carry
Taught Computers to children and adults – Online,
Homeschool co-ops, Elementary School, Junior High,
High School, College, Seminars
Messages
MyOutdoorCalendar.com
Images courtesy of vectorolie / FreeDigitalPhotos.net
We tried…
“We need phone calls and text messages”
Email Mobile Apps
Image courtesy of zirconicusso /
FreeDigitalPhotos.net
Short Codes
O Five digit number
O About $1000+/month
O Long application approval process
Shared Short Codes
O Buy Keyword(s) – about $25/month
O Phone numbers – about $3/month
O Voice – about $0.05/minute
O Text - about $0.05/minute
O Bulk Monthly plans usually available
Images courtesy of vectorolie / FreeDigitalPhotos.net
BowlingGreenMassage.com
Mass Text
Database of phone numbers
Opening today at 3pm
Openingtodayat3pm
Web Meets Messaging with
10 digit phone numbers
O Twilio
O Tropo
O Plivo
O Nexmo
How it Works
O Buy Phone Number (or short code)
O Receive messages on my website
O Call or Text that number
O Twilio/Tropo/Plivo/Nexmo sends the message to
my URL
O My website processes the message and
responds (usually with XML)
O Send messages from my website
O My website sends instructions to that number
using a provided library and API
Pricing
O Phone Numbers
O $0.80/month - $3/month (Avg. $1/month)
O Voice
O Inbound $0.0050/min – $0.03/min (Avg.
$0.01/min)
O Outbound $0.0130/min – $0.03/min (Avg.
$0.02/min)
O SMS
O Inbound Free – $0.01/msg (Avg $0.0075/msg)
O Outbound $0.0065/msg - $0.01/msg (Avg.
$0.0075/msg)
My Pick
Twilio
O Average pricing
O Great documentation
O Great tutorials
O Subaccounts
O Analytics
O Developer tools
O Triggers
O Easiest to get up and running for ME
Mass Text
Database of phone numbers
Opening today at 3pm
Openingtodayat3pm
Sent to My Script
require "Services/Twilio.php";
$AccountSid = “Bxxxxxxx”;
$AuthToken = “2xxxxxxxx";
$client = new Services_Twilio($AccountSid, $AuthToken);
$twilio_number = “615-555-0123”;
If ($_POST[‘From’] == $twilio_number) {
$body =;
$users = get_users('meta_key=phone');
$special_chars = array("-","(",")");
foreach ($users as $user) {
$phone = '+1'.str_replace($special_chars,"",get_user_meta($user->ID, 'phone', true));
$numbers[] = $phone;
}
foreach ($numbers as $number) {
$sms = $client->account->messages->sendMessage($twilio_number, $number,
$_POST[‘Body’]);
}
} else {
// Process user message
}
Respond to Text
<?php
header(“content-type: text/xml”);
echo “<?xml version=”1.0” encoding=”UTF-8”
?>n”;
?>
<Response>
<Message>Thanks <?php echo $name ?> for
your response.</Message>
</Response>
CloneMeServices.com
Dial 1 for
emergency
Dial 2 to leave a message
Image courtesy of Stuart Miles /FreeDigitalPhotos.net
When the number is called…
<?php date_default_timezone_set('America/Chicago');
header("content-type: text/xml");
echo "<?xml version="1.0" encoding="UTF-8"?>n";
if (date("H") > '20') : // time later than 9PM? ?>
<Response>
<Gather action="/user-input" numDigits="1">
<Say>Welcome to Clone Me Services.</Say>
<Say>If this is an emergency please press 1</Say>
<Say>Otherwise, please press2</Say>
</Gather>
<Say>Sorry, I didn't get your response.</Say>
<Redirect>/phone</Redirect>
</Response>
<?php else: ?> // time before 9PM, just forward
<Response>
<Dial>+12707916649</Dial>
</Response>
<?php endif; ?>
User presses number…
<?php // if the caller pressed anything but 1 or 2 send them back
if($_REQUEST['Digits'] != '1' and $_REQUEST['Digits'] != '2') {
header("Location: /phone");
die;
}
// otherwise, if 1 was pressed we Dial CloneMeServices. If 2 we make an audio
recording up to 30 seconds long.
header("content-type: text/xml");
echo "<?xml version="1.0" encoding="UTF-8"?>n”; ?>
<Response>
<?php if ($_REQUEST['Digits'] == '1') { ?>
<Dial>+16155551111</Dial>
<Say>The call failed or the remote party hung up. Goodbye.</Say>
<?php } elseif ($_REQUEST['Digits'] == '2') { ?>
<Say>Record your message after the tone.</Say>
<Record maxLength="30" action="/after-recording" />
<?php } ?>
</Response>
After the recording…
<?php
header("content-type: text/xml");
echo "<?xml version="1.0" encoding="UTF-8"?>n";
?>
<Response>
<Say>Thanks for your message.
Goodbye.</Say>
</Response>
Image courtesy of zirconicusso /
FreeDigitalPhotos.net
Applications
O Appointment Reminders
O Call Queue’s – matching callers and
agents
O Call Screening – find a live body to
answer
O Call Metrics
O Click to Call – button on website (calls to
or from browsers or mobile devices
$0.0025/min)
O Automated Phone System
More Applications
O Conference Calls
O Phone Polls
O Voice Broadcast
O Voicemail
O Voice Transcription
O Audio Recording from your Website
O Browser Phone
O Browser to Browser Calls
And More!
O Group Chat
O Text to Speech
O SMS notifications
O SMS from a call
O MMS (some may support – only on short
codes with twilio)
Who Will Want This?
O Doctors
O Dentists
O Hair and Nail Salons
O Massage Therapists
O Other Professional Services
O Marketers (careful with bulk messaging!)
O Dry Cleaners
O Restaurants
Who Can Use this?
O Schools
O Clubs and Groups
O Churches
O Political Groups
O Fitness Centers & Sports Clubs
O Anybody!

More Related Content

Similar to How to Integrate Text and Phone Messaging with your Website

UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...
UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...
UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...UCloud Asia Pte Ltd
 
BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...Microsoft Décideurs IT
 
BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...Microsoft Technet France
 
Improve Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday AdminImprove Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday AdminEve Lyons-Berg
 
Improve Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday AdminImprove Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday AdminAggregage
 
Productizing Twilio Applications
Productizing Twilio ApplicationsProductizing Twilio Applications
Productizing Twilio ApplicationsPatrick McKenzie
 
Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...
Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...
Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...Noriaki Tatsumi
 
My app is secure... I think
My app is secure... I thinkMy app is secure... I think
My app is secure... I thinkWim Godden
 
Beyond php it's not (just) about the code
Beyond php   it's not (just) about the codeBeyond php   it's not (just) about the code
Beyond php it's not (just) about the codeWim Godden
 
I18n
I18nI18n
I18nsoon
 
Modern ICT (Information and Communication technology on secretary.pptx
Modern ICT (Information and Communication technology on secretary.pptxModern ICT (Information and Communication technology on secretary.pptx
Modern ICT (Information and Communication technology on secretary.pptxMerrcyGenziHimura
 
광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우
광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우
광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우Baek Edmond
 
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep DiveTwilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep DiveTwilio Inc
 
Salesforce Admin Hack Series: Case Object
Salesforce Admin Hack Series: Case ObjectSalesforce Admin Hack Series: Case Object
Salesforce Admin Hack Series: Case ObjectRingLead
 
YGLF 2015 - Boom Performance | Eran Zinman (daPulse)
YGLF 2015 -  Boom Performance | Eran Zinman (daPulse)YGLF 2015 -  Boom Performance | Eran Zinman (daPulse)
YGLF 2015 - Boom Performance | Eran Zinman (daPulse)Eran Zinman
 
BOOM Performance
BOOM PerformanceBOOM Performance
BOOM Performancedapulse
 
Word press security 101
Word press security 101  Word press security 101
Word press security 101 Kojac801
 

Similar to How to Integrate Text and Phone Messaging with your Website (20)

UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...
UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...
UCloud Asia Company Presentation - How to prevent Ransomware and Phishing att...
 
BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...
 
BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...BI temps réel et notifications en situation de mobilité à partir d'objets con...
BI temps réel et notifications en situation de mobilité à partir d'objets con...
 
Improve Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday AdminImprove Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday Admin
 
Improve Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday AdminImprove Your Salesforce Efficiency: Formulas for the Everyday Admin
Improve Your Salesforce Efficiency: Formulas for the Everyday Admin
 
PHP & Twilio
PHP & TwilioPHP & Twilio
PHP & Twilio
 
Productizing Twilio Applications
Productizing Twilio ApplicationsProductizing Twilio Applications
Productizing Twilio Applications
 
Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...
Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...
Voice Summit 2018 - Millions of Dollars in Helping Customers Through Searchin...
 
My app is secure... I think
My app is secure... I thinkMy app is secure... I think
My app is secure... I think
 
SAMEER MALIK RP
SAMEER MALIK RPSAMEER MALIK RP
SAMEER MALIK RP
 
Beyond php it's not (just) about the code
Beyond php   it's not (just) about the codeBeyond php   it's not (just) about the code
Beyond php it's not (just) about the code
 
I18n
I18nI18n
I18n
 
Modern ICT (Information and Communication technology on secretary.pptx
Modern ICT (Information and Communication technology on secretary.pptxModern ICT (Information and Communication technology on secretary.pptx
Modern ICT (Information and Communication technology on secretary.pptx
 
광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우
광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우
광운대학교 2014 공진흥교수님_퀵스팀_백병화_김경민_장용준_이종우
 
Tech Tips (NLADA Substantive Law Conference 2010)
Tech Tips (NLADA Substantive Law Conference 2010)Tech Tips (NLADA Substantive Law Conference 2010)
Tech Tips (NLADA Substantive Law Conference 2010)
 
Twilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep DiveTwilio Messaging: Overview and New Feature Deep Dive
Twilio Messaging: Overview and New Feature Deep Dive
 
Salesforce Admin Hack Series: Case Object
Salesforce Admin Hack Series: Case ObjectSalesforce Admin Hack Series: Case Object
Salesforce Admin Hack Series: Case Object
 
YGLF 2015 - Boom Performance | Eran Zinman (daPulse)
YGLF 2015 -  Boom Performance | Eran Zinman (daPulse)YGLF 2015 -  Boom Performance | Eran Zinman (daPulse)
YGLF 2015 - Boom Performance | Eran Zinman (daPulse)
 
BOOM Performance
BOOM PerformanceBOOM Performance
BOOM Performance
 
Word press security 101
Word press security 101  Word press security 101
Word press security 101
 

More from Cindy Cullen

Taking Code on the Road CoderCruise
Taking Code on the Road CoderCruiseTaking Code on the Road CoderCruise
Taking Code on the Road CoderCruiseCindy Cullen
 
Taking code on the road for WordCamp Asheville
Taking code on the road for WordCamp AshevilleTaking code on the road for WordCamp Asheville
Taking code on the road for WordCamp AshevilleCindy Cullen
 
Taking code on the road
Taking code on the roadTaking code on the road
Taking code on the roadCindy Cullen
 
Freelancing: How to Get Started... or Not.
Freelancing: How to Get Started... or Not.Freelancing: How to Get Started... or Not.
Freelancing: How to Get Started... or Not.Cindy Cullen
 
WordPress developer 101
WordPress developer 101WordPress developer 101
WordPress developer 101Cindy Cullen
 
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...Cindy Cullen
 

More from Cindy Cullen (6)

Taking Code on the Road CoderCruise
Taking Code on the Road CoderCruiseTaking Code on the Road CoderCruise
Taking Code on the Road CoderCruise
 
Taking code on the road for WordCamp Asheville
Taking code on the road for WordCamp AshevilleTaking code on the road for WordCamp Asheville
Taking code on the road for WordCamp Asheville
 
Taking code on the road
Taking code on the roadTaking code on the road
Taking code on the road
 
Freelancing: How to Get Started... or Not.
Freelancing: How to Get Started... or Not.Freelancing: How to Get Started... or Not.
Freelancing: How to Get Started... or Not.
 
WordPress developer 101
WordPress developer 101WordPress developer 101
WordPress developer 101
 
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
The Care and Feeding of Your WordPress Website - Hosting, Updates, Backups, S...
 

Recently uploaded

Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGAPNIC
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024APNIC
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebJames Anderson
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...SofiyaSharma5
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Roomdivyansh0kumar0
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.soniya singh
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Roomgirls4nights
 

Recently uploaded (20)

Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark WebGDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
GDG Cloud Southlake 32: Kyle Hettinger: Demystifying the Dark Web
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kestopur 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kestopur 👉 8250192130 Available With Room
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With RoomVIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
VIP Kolkata Call Girls Salt Lake 8250192130 Available With Room
 

How to Integrate Text and Phone Messaging with your Website

  • 1. How to Integrate Text and Phone Messaging with Your Website
  • 2. by Cindy Cullen cindycullen.com Programming since 1983 Building websites since 1999 Freelance web developer since 2003 Cell phone user since they were too big to carry Taught Computers to children and adults – Online, Homeschool co-ops, Elementary School, Junior High, High School, College, Seminars
  • 5. Images courtesy of vectorolie / FreeDigitalPhotos.net
  • 6. We tried… “We need phone calls and text messages” Email Mobile Apps
  • 7. Image courtesy of zirconicusso / FreeDigitalPhotos.net
  • 8. Short Codes O Five digit number O About $1000+/month O Long application approval process
  • 9. Shared Short Codes O Buy Keyword(s) – about $25/month O Phone numbers – about $3/month O Voice – about $0.05/minute O Text - about $0.05/minute O Bulk Monthly plans usually available
  • 10. Images courtesy of vectorolie / FreeDigitalPhotos.net
  • 12. Mass Text Database of phone numbers Opening today at 3pm Openingtodayat3pm
  • 13. Web Meets Messaging with 10 digit phone numbers O Twilio O Tropo O Plivo O Nexmo
  • 14. How it Works O Buy Phone Number (or short code) O Receive messages on my website O Call or Text that number O Twilio/Tropo/Plivo/Nexmo sends the message to my URL O My website processes the message and responds (usually with XML) O Send messages from my website O My website sends instructions to that number using a provided library and API
  • 15. Pricing O Phone Numbers O $0.80/month - $3/month (Avg. $1/month) O Voice O Inbound $0.0050/min – $0.03/min (Avg. $0.01/min) O Outbound $0.0130/min – $0.03/min (Avg. $0.02/min) O SMS O Inbound Free – $0.01/msg (Avg $0.0075/msg) O Outbound $0.0065/msg - $0.01/msg (Avg. $0.0075/msg)
  • 17. Twilio O Average pricing O Great documentation O Great tutorials O Subaccounts O Analytics O Developer tools O Triggers O Easiest to get up and running for ME
  • 18. Mass Text Database of phone numbers Opening today at 3pm Openingtodayat3pm
  • 19. Sent to My Script
  • 20. require "Services/Twilio.php"; $AccountSid = “Bxxxxxxx”; $AuthToken = “2xxxxxxxx"; $client = new Services_Twilio($AccountSid, $AuthToken); $twilio_number = “615-555-0123”; If ($_POST[‘From’] == $twilio_number) { $body =; $users = get_users('meta_key=phone'); $special_chars = array("-","(",")"); foreach ($users as $user) { $phone = '+1'.str_replace($special_chars,"",get_user_meta($user->ID, 'phone', true)); $numbers[] = $phone; } foreach ($numbers as $number) { $sms = $client->account->messages->sendMessage($twilio_number, $number, $_POST[‘Body’]); } } else { // Process user message }
  • 21. Respond to Text <?php header(“content-type: text/xml”); echo “<?xml version=”1.0” encoding=”UTF-8” ?>n”; ?> <Response> <Message>Thanks <?php echo $name ?> for your response.</Message> </Response>
  • 22. CloneMeServices.com Dial 1 for emergency Dial 2 to leave a message Image courtesy of Stuart Miles /FreeDigitalPhotos.net
  • 23. When the number is called… <?php date_default_timezone_set('America/Chicago'); header("content-type: text/xml"); echo "<?xml version="1.0" encoding="UTF-8"?>n"; if (date("H") > '20') : // time later than 9PM? ?> <Response> <Gather action="/user-input" numDigits="1"> <Say>Welcome to Clone Me Services.</Say> <Say>If this is an emergency please press 1</Say> <Say>Otherwise, please press2</Say> </Gather> <Say>Sorry, I didn't get your response.</Say> <Redirect>/phone</Redirect> </Response> <?php else: ?> // time before 9PM, just forward <Response> <Dial>+12707916649</Dial> </Response> <?php endif; ?>
  • 24. User presses number… <?php // if the caller pressed anything but 1 or 2 send them back if($_REQUEST['Digits'] != '1' and $_REQUEST['Digits'] != '2') { header("Location: /phone"); die; } // otherwise, if 1 was pressed we Dial CloneMeServices. If 2 we make an audio recording up to 30 seconds long. header("content-type: text/xml"); echo "<?xml version="1.0" encoding="UTF-8"?>n”; ?> <Response> <?php if ($_REQUEST['Digits'] == '1') { ?> <Dial>+16155551111</Dial> <Say>The call failed or the remote party hung up. Goodbye.</Say> <?php } elseif ($_REQUEST['Digits'] == '2') { ?> <Say>Record your message after the tone.</Say> <Record maxLength="30" action="/after-recording" /> <?php } ?> </Response>
  • 25. After the recording… <?php header("content-type: text/xml"); echo "<?xml version="1.0" encoding="UTF-8"?>n"; ?> <Response> <Say>Thanks for your message. Goodbye.</Say> </Response>
  • 26. Image courtesy of zirconicusso / FreeDigitalPhotos.net
  • 27. Applications O Appointment Reminders O Call Queue’s – matching callers and agents O Call Screening – find a live body to answer O Call Metrics O Click to Call – button on website (calls to or from browsers or mobile devices $0.0025/min) O Automated Phone System
  • 28. More Applications O Conference Calls O Phone Polls O Voice Broadcast O Voicemail O Voice Transcription O Audio Recording from your Website O Browser Phone O Browser to Browser Calls
  • 29. And More! O Group Chat O Text to Speech O SMS notifications O SMS from a call O MMS (some may support – only on short codes with twilio)
  • 30. Who Will Want This? O Doctors O Dentists O Hair and Nail Salons O Massage Therapists O Other Professional Services O Marketers (careful with bulk messaging!) O Dry Cleaners O Restaurants
  • 31. Who Can Use this? O Schools O Clubs and Groups O Churches O Political Groups O Fitness Centers & Sports Clubs O Anybody!

Editor's Notes

  1. Web developer, cell phone user, teacher.
  2. We have email, phone, text messages, phone apps. It’s time that we integrate all of them and make them work for us.
  3. My story – started MOC: Booking tool for Hunting and Fishing guides. Guides needed to confirm or deny trips from the field. They needed a way to send and receive text messages to and from the website.
  4. The standard ways to communicate weren’t going to work for hunting and fishing guides very well.
  5. Learning how to make MOC work gave me lots of other ideas about hooking phones and text messaging
  6. Wanted to send text messages to clients when she had cancellations or openings for the day. Also to send out specials.
  7. Learning how to make MOC work gave me lots of other ideas about hooking phones and text messaging