SlideShare a Scribd company logo
1 of 44
Integrating SMS Messaging with your Rails Application ,[object Object],[object Object],[object Object]
Why SMS? ,[object Object],[object Object],[object Object],[object Object],SERVER  IS  DOWN SPARKS ARE UP
Popular Applications to Send SMS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Overview: One Way Messaging ,[object Object],Black Box of Your application &  gateway & other Party at A1A Beach front Ave Mobile Terminated (MT)
Overview: Two Way Messaging Black Box of Your application &  gateway & other Mobile Originated (MO) or Inbound  ROCK MO Respond with "ROCK" for  Free party tix MT
Simplest approach: SMS as email
Pros and Cons of sending SMS through email ,[object Object],[object Object],[object Object],[object Object],[object Object]
Pros and Cons of sending SMS through email ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Giant Black Box Explained: SMSCs, SMS Gateways, Service Providers ,[object Object]
SMS Centers (SMSC) SMSC SMSC SMSC
GSM Modem Super App GSM Modem (Cell Phone) SMSC AT Commands
GSM Modem APIs and Applications ,[object Object],[object Object]
GSM Modem LoDown ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Talk directly to all SMS Centers SMSC SMSC SMSC Awesome App
Mission Impossible: Coding for each SMSC ,[object Object],[object Object],Don’t do this unless  you are me!
SMS Gateway translates SMSC protocols SMSC SMSC SMSC Rockstar App SMS Gateway
SMS Gateways ,[object Object],[object Object],[object Object]
Pay the middleman! ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SMS Gateway: Sending Outbound (MT) ,[object Object],[object Object],[object Object],[object Object]
Ruby Outbound (MT) message with HTTPS ,[object Object],[object Object],[object Object],[object Object]
Choosing an API (if you have a choice) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SMS Gateway: Two way messaging and MOs ,[object Object],[object Object],[object Object],[object Object],[object Object],/^OPT(*[-_]?*)OUT|STOP|END|QUIT| UNSUBSCRIBE|EXIT|HALT| FUCK(*[-_]?*)OFF|REMOVE|CANCEL)/i
Two way messaging: Pull ,[object Object]
Two way messaging: Push ,[object Object]
Do I need a short code? ,[object Object],[object Object],[object Object],[object Object]
Shared (Rented) Versus Dedicated Short Codes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Chewing on a Cactus ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Sms gateway service providers(connection aggregators) will help with this process or you can go directly through the CSCA in the US
Opt out concerns ,[object Object],[object Object],[object Object],[object Object]
Choosing a Service Provider ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Developer Integration Concerns
Save message information ,[object Object],[object Object],[object Object]
Inside the SMS ORM: Check out SMS ON RAILS Draft Message Delivery By Date PhoneNumber Number WhiteList? DoNotSend? Outbound Status Time Sent Service Provider UID PhoneCarrier Name Email gateway Sender/User Username Password Favorite beer
Outbound Status: Produce and Consume ,[object Object],[object Object],Controller Action Producer Cron/Background  Task Consumer NOT_PROCESSED SUCCESS
Locking and Delivering: Outbound Status ,[object Object],[object Object],NOT_PROCESSED PROCESSING SUCCESS FAILED
Bulk Message Delivery  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Bulk Message Delivery Tips ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Sanitize Phone Numbers ,[object Object],[object Object],Your database without data integrity
Sanitize Phone Numbers ,[object Object],[object Object],My database runs on flowers
Outbound Attributes: White List and Opt Out ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],smsi
SMS Gateway Service Providers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Useful References ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
SMS On Rails Engine: SMS in minutes ,[object Object],Demo ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions? Yo Dawg, I heard you like Rails Apps so I put an SMS Rails App in your Rails App so you can SMS yourself to be awesome
Photos ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

More Related Content

Viewers also liked

Consultorio de Tarot Blanca
Consultorio de Tarot BlancaConsultorio de Tarot Blanca
Consultorio de Tarot BlancaBlanca Tarot
 
Video Marketing Tips from A to Z with Judy B handouts
Video Marketing Tips from A to Z with Judy B handoutsVideo Marketing Tips from A to Z with Judy B handouts
Video Marketing Tips from A to Z with Judy B handoutsbrandvines
 
OLLI mediarepresentation 24th
OLLI mediarepresentation 24thOLLI mediarepresentation 24th
OLLI mediarepresentation 24thRichard Beach
 
올챙이 확장으로 살펴보는 이클립스 확장
올챙이 확장으로 살펴보는 이클립스 확장올챙이 확장으로 살펴보는 이클립스 확장
올챙이 확장으로 살펴보는 이클립스 확장cho hyun jong
 
Math trick kel 1 1
Math trick kel 1 1Math trick kel 1 1
Math trick kel 1 1Galih Praz
 
Strategies for Using LinkedIn
Strategies for Using LinkedInStrategies for Using LinkedIn
Strategies for Using LinkedInpdhill
 
Cacdangbai cau tao nguyen tu
Cacdangbai cau tao nguyen tuCacdangbai cau tao nguyen tu
Cacdangbai cau tao nguyen tuHong Hanh Nguyen
 
Mike Watkins Design - Portfolio Sample
Mike Watkins Design - Portfolio SampleMike Watkins Design - Portfolio Sample
Mike Watkins Design - Portfolio Samplemikewatkinsdesign
 
Creating Connections 5 Questions
Creating  Connections   5  QuestionsCreating  Connections   5  Questions
Creating Connections 5 Questionsbrandvines
 
Den attraktiva gymnasieskolan
Den attraktiva gymnasieskolanDen attraktiva gymnasieskolan
Den attraktiva gymnasieskolanHanna Metsis
 
Black hole kel 1 1
Black hole kel 1 1Black hole kel 1 1
Black hole kel 1 1Galih Praz
 
Ek 1552 S Eng
Ek 1552 S EngEk 1552 S Eng
Ek 1552 S Engcipresu
 
Raport anual Habitat for Humanity Cluj 2008
Raport anual Habitat for Humanity Cluj 2008Raport anual Habitat for Humanity Cluj 2008
Raport anual Habitat for Humanity Cluj 2008guestb0f8dab
 
Penman - Our PR Process
Penman - Our PR ProcessPenman - Our PR Process
Penman - Our PR Processpdhill
 

Viewers also liked (19)

Consultorio de Tarot Blanca
Consultorio de Tarot BlancaConsultorio de Tarot Blanca
Consultorio de Tarot Blanca
 
Smoking jaclyn sweeney
Smoking jaclyn sweeneySmoking jaclyn sweeney
Smoking jaclyn sweeney
 
Video Marketing Tips from A to Z with Judy B handouts
Video Marketing Tips from A to Z with Judy B handoutsVideo Marketing Tips from A to Z with Judy B handouts
Video Marketing Tips from A to Z with Judy B handouts
 
OLLI mediarepresentation 24th
OLLI mediarepresentation 24thOLLI mediarepresentation 24th
OLLI mediarepresentation 24th
 
올챙이 확장으로 살펴보는 이클립스 확장
올챙이 확장으로 살펴보는 이클립스 확장올챙이 확장으로 살펴보는 이클립스 확장
올챙이 확장으로 살펴보는 이클립스 확장
 
Math trick kel 1 1
Math trick kel 1 1Math trick kel 1 1
Math trick kel 1 1
 
Strategies for Using LinkedIn
Strategies for Using LinkedInStrategies for Using LinkedIn
Strategies for Using LinkedIn
 
Cacdangbai cau tao nguyen tu
Cacdangbai cau tao nguyen tuCacdangbai cau tao nguyen tu
Cacdangbai cau tao nguyen tu
 
mediator
mediatormediator
mediator
 
Mike Watkins Design - Portfolio Sample
Mike Watkins Design - Portfolio SampleMike Watkins Design - Portfolio Sample
Mike Watkins Design - Portfolio Sample
 
Choose Michigan
Choose MichiganChoose Michigan
Choose Michigan
 
Creating Connections 5 Questions
Creating  Connections   5  QuestionsCreating  Connections   5  Questions
Creating Connections 5 Questions
 
Den attraktiva gymnasieskolan
Den attraktiva gymnasieskolanDen attraktiva gymnasieskolan
Den attraktiva gymnasieskolan
 
Black hole kel 1 1
Black hole kel 1 1Black hole kel 1 1
Black hole kel 1 1
 
Swt J Face 1/3
Swt J Face 1/3Swt J Face 1/3
Swt J Face 1/3
 
Ek 1552 S Eng
Ek 1552 S EngEk 1552 S Eng
Ek 1552 S Eng
 
Raport anual Habitat for Humanity Cluj 2008
Raport anual Habitat for Humanity Cluj 2008Raport anual Habitat for Humanity Cluj 2008
Raport anual Habitat for Humanity Cluj 2008
 
Math magic
Math magicMath magic
Math magic
 
Penman - Our PR Process
Penman - Our PR ProcessPenman - Our PR Process
Penman - Our PR Process
 

Recently uploaded

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 

Recently uploaded (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 

RailsConf2009 Integrating SMS with your Rails App

  • 1.
  • 2.
  • 3.
  • 4.
  • 5. Overview: Two Way Messaging Black Box of Your application & gateway & other Mobile Originated (MO) or Inbound ROCK MO Respond with "ROCK" for Free party tix MT
  • 7.
  • 8.
  • 9.
  • 10. SMS Centers (SMSC) SMSC SMSC SMSC
  • 11. GSM Modem Super App GSM Modem (Cell Phone) SMSC AT Commands
  • 12.
  • 13.
  • 14. Talk directly to all SMS Centers SMSC SMSC SMSC Awesome App
  • 15.
  • 16. SMS Gateway translates SMSC protocols SMSC SMSC SMSC Rockstar App SMS Gateway
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 31.
  • 32. Inside the SMS ORM: Check out SMS ON RAILS Draft Message Delivery By Date PhoneNumber Number WhiteList? DoNotSend? Outbound Status Time Sent Service Provider UID PhoneCarrier Name Email gateway Sender/User Username Password Favorite beer
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. Questions? Yo Dawg, I heard you like Rails Apps so I put an SMS Rails App in your Rails App so you can SMS yourself to be awesome
  • 44.