Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

DIY Telephony and Messaging Services with FOSS

1,034 views

Published on

Do It Yourself telephony, instant messaging and SMS services using Free and Open Source Software.

Published in: Software

DIY Telephony and Messaging Services with FOSS

  1. 1. Do It Yourself Telephony and Messaging Services With FOSS Anton Raharja antonrd@gmail.com twitter.com/antonrd antonraharja.com GNOME Asia Summit 2015 May 9th , 2015 2015.gnome.asia
  2. 2. Anton Raharja 2015.gnome.asia 2 Intro.
  3. 3. Anton Raharja 2015.gnome.asia 3 Services ● Telephony and messaging services you can provide – Voice call ● Mimic conventional telephony services (PSTN, GSM) ● Make calls using multiple devices not just a plain analog phone – Use IP Phone – Use Softphone on desktop or smartphone – Video call ● Voice call with face to face video – Voice and video conference ● Virtual meeting – Multiple video stream from all participants ● Online lecture or busines presentation – Single video stream broadcasts to all other participants – Messaging ● Texting, chatting and notification ● Instant Messaging ● SMS ● Value Added Services – SMS polling, quiz, subscribe, auto-reply, etc
  4. 4. Anton Raharja 2015.gnome.asia 4 Known Providers ● Some providers you might know – Skype, Google Hangouts, etc – Whatsapp, Telegram, etc – Wechat, Line, Viber, etc – VoIP service providers – Bulk SMS service providers ● Nexmo, Twilio, Clickatell, Infobip, etc – Carriers
  5. 5. Anton Raharja 2015.gnome.asia 5 Do It Yourself Possibilities ● Let see, can we DIY telephony and messaging services ? – Googling ● Keyword: open source telephony ● Keyword: open source SMS – You'll know that most of search results are promising ● How mature ? Are they production ready ? – Asterisk has been installed in many places to replace conventional IP PBX and SIP gateway ● Hundreds of paid Asterisk installation, serious jobs, have been done by several System Integrators companies in Indonesia, not to mention in the world – Asterisk has been pre-installed in a box as an appliance ready to be shipped since more than 5 years ago ● Some of those appliances have gain POSTEL certification (Indonesia telecommunication devices certification if the box to be sold in Indonesia) – Some VoIP service providers are using Asterisk, Kamailio or OpenSIPS to power all or some of their SIP gateway and softswitch – There are installation services, supports and maintenances, free or paid, online or offline services available – Speaking of SMS, playSMS has been implemented by many companies to provide SMS services to support their businesses ● Scan conversations in http://bit.ly/playsmsusergroup
  6. 6. Anton Raharja 2015.gnome.asia 6 Today's Workshop Menu ● Free and open source software projects – Telephony and Instant Messaging ● VoIP ID ● VoIP ID References ● Additional VoIP ID References ● VoIP ID Installation ● OpenSIPS for VoIP ID ● OpenSIPS Installation ● VoIP ID Installation Summary – SMS ● playSMS ● Kannel ● PlaySMS with Kannel
  7. 7. Anton Raharja 2015.gnome.asia 7 Telephony and Instant Messaging.
  8. 8. Anton Raharja 2015.gnome.asia 8 VoIP ID ● About VoIP ID – Free and open source software – Project website: http://antonraharja.github.io/voip-id – Facebook group: https://www.facebook.com/groups/voipid – A suite of tools to build hosted or cloud VoIP server ● Web based user interface written in PHP (Laravel) ● Back-end VoIP server provided by OpenSIPS – Capable of managing multiple domains and multiple phone numbers in a single installation – Supported and maintained by local team (Indonesian)
  9. 9. Anton Raharja 2015.gnome.asia 9 VoIP ID References ● VoIP ID book project – URL: http://antonraharja.github.io/book-voip-id – Just created, so far contains 2 sub-chapters only, they are: ● How to install web user interface ● How to install back-end SIP server – The web user interface part is the VoIP ID – The back-end SIP server is OpenSIPS ● Real-world demo (working demo): – Telepon Rakyat, free hosted VoIP server – You can literally provides VoIP services to your community without building, owning, managing your own server – URL: https://teleponrakyat.id
  10. 10. Anton Raharja 2015.gnome.asia 10 Additional VoIP ID References ● OpenSIPS 101: – URL: http://github.com/antonraharja/book-opensips-101 – You might want to know more about OpenSIPS before starting VoIP ID – Knowing basic is always recommended ● Laravel Introduction – URL: http://laravel.com/docs/4.2/introduction – Knowing how to operate development tools would be a plus – You might want to join local communities so that you can advance your knowledge on this
  11. 11. Anton Raharja 2015.gnome.asia 11 VoIP ID Installation ● Follow installation instructions – Things to remember before starting ● There are 12 steps that need to be followed correctly and in order ● The manual is for Ubuntu server 14.04 or 15.04 so you need to prepare one of them. I suggest not to waste your time by asking the manual for other distro, you can always try them on your own once you have experience completing this manual ● I was using VirtualBox when writing the manual, you might consider using it too (vs install on real server) ● You need to connect to the Internet, you will download lots of packages ● Again, follow the manual correctly and in order. Stop if you don't understand or need to discuss something or experiencing errors. Join the VoIP ID Facebook group and discuss your problem there – Bookmark below URL, visit the URL for the installation instructions when you're ready: http://bit.ly/installvoipid
  12. 12. Anton Raharja 2015.gnome.asia 12 OpenSIPS for VoIP ID ● About OpenSIPS – Free and open source software – Project website: http://www.opensips.org – Sophisticated and powerful SIP server – Capable of switching thousands of VoIP calls in a second – Requires relatively low CPU and memory resources – Capable of hosting multiple domains, routing multiple gateways and registering lots of users or phone numbers
  13. 13. Anton Raharja 2015.gnome.asia 13 OpenSIPS Installation ● Follow installation instructions – Things to remember before starting ● There are 9 steps that need to be followed correctly and in order ● You must first do the VoIP ID Installation ● This manual is using OpenSIPS version 1.9.1-tls ● You need to connect to the Internet, you will download lots of packages ● Follow the manual correctly and in order. Stop if you don't understand or need to discuss something or experiencing errors. Join the VoIP ID Facebook group and discuss your problem there – Bookmark below URL, visit the URL for the installation instructions when you're ready: http://bit.ly/installopensipsforvoipid
  14. 14. Anton Raharja 2015.gnome.asia 14 VoIP ID Installation Summary ● There are 2 FOSS projects that you need to install – VoIP ID – OpenSIPS ● VoIP ID installation instructions available at this shortcut: http://bit.ly/installvoipid ● OpenSIPS installation instructions available at this shortcut: http://bit.ly/installopensipsforvoipid ● Both shortcuts above are linked to the VoIP ID Book Project ● What you'll get after installation is a website just like Telepon Rakyat ● Some information about Telepon Rakyat: – How to start utilizing Telepon Rakyat: http://bit.ly/voipiddocs – This could be your VoIP ID user manual (currently in Bahasa Indonesia only) – My blog post introducing Telepon Rakyat: http://wp.me/p7SJ-9s
  15. 15. Anton Raharja 2015.gnome.asia 15 SMS.
  16. 16. Anton Raharja 2015.gnome.asia 16 playSMS ● About playSMS – 10 years old free and open source software project – Project website: http://www.playsms.org – User group or mailing list: http://bit.ly/playsmsusergroup – A user interface for multiple SMS software-based gateway, hardware and bulk providers – Web based user interface written in PHP (own framework) – Capable of hosting multiple domain in a single installation – Complete with SMS routing, credit system and value added services ● SMS polling, quiz, subscribe, auto-reply, etc – Supported and maintained local team (Indonesian) – Additional FOSS project playSMS client software for Android ● playSMS Android app project – Project website: https://github.com/artivisi/playsms-android – Listed in Google Play: https://play.google.com/store/apps/details?id=com.artivisi.android.playsms
  17. 17. Anton Raharja 2015.gnome.asia 17 Kannel ● About Kannel – Free and open source software – Project website: http://www.kannel.org – Super flexible SMS gateway that can interact with GSM modems and SMPP providers – Capable of handling hundreds of thousand SMS per day
  18. 18. Anton Raharja 2015.gnome.asia 18 playSMS with Kannel ● playSMS and Kannel installation instructions, configuration and case study are available from playSMS Book Project – URL: http://antonraharja.github.io/book-playsms/ ● The book content will be added one content at a time
  19. 19. Anton Raharja 2015.gnome.asia 19 playSMS Installation Summary ● There are 2 FOSS projects that you need to install – playSMS – Kannel ● Both playSMS and Kannel installation instructions are available from playSMS Book Project URL ● How to configure playSMS and Kannel to work together also can be found at the playSMS Book Project URL ● What you'll get after installation is a website just like playSMS ID – URL: http://playsms.id ● Demo information can be found here: – URL: http://playsms.org/demo
  20. 20. Anton Raharja 2015.gnome.asia 20 Fin.

×