Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building Open-Source Telephony Platforms

2600hz
August 07, 2012

Building Open-Source Telephony Platforms

2600hz Co-Founder and CEO Darren Schreiber gives an overview of 2600hz history and the products we've built starting from TCAPI to Kazoo.

2600hz

August 07, 2012
Tweet

More Decks by 2600hz

Other Decks in Technology

Transcript

  1. Darren Schreiber ‣Co-­‐Founder/CEO  at  2600hz ‣Architect  behind  Kazoo,  Whistle  and

      blue.box Along  with  Karl  Anderson  &  James  AimoneE ‣Co-­‐Author  of  FreeSWITCH  High-­‐ Performance  Telephony  Book ‣Drives  Like  an  Angry  New  Yorker ‣Avid  Concert  Goer
  2. TCAPI BLUE.BOX We  started  TCAPI Which  became  FreePBX  v3 Which

     became  blue.box ✓Reasonably  Powerful  XML  GeneraZon ✓XML  APIs ✓MulZ-­‐Tenancy ✓Comet  (Browser  Real-­‐Zme  Streaming) ✓Modular
  3. Win GUI  was  Pre^y XML  GeneraZon  Worked Was  Simpler Modularity

     Was  Good LAMP  Stack  Was  Good :) WINS & LOSSES :( Losses Database  AbstracZon  Was  Not  Useful Plug-­‐ins  Were  Not  Good APIs  Could  Be  Be^er Redundancy  Was  Lacking Comet  Was  Too  Early
  4. I  quit  my  day-­‐job Learned  a  lot  from  blue.box blue.box

     worked  great  for  small  systems blue.box  had  some  flaws  for  true  scalability Started  fresh Fix  the  fundamental  flaws  we  had  found  or  learned  about Started  2600hz with  Patrick  Sullivan A CHANCE TO START FRESH
  5. What  We  Really  Heard Calls  Must  Always  Go  Through Voicemail

     Must  Always  Work Database  Must  Always  Work ConfiguraZon  Must  Be  Quick I  Need  to  Be  Able  To  Hookup  Anything I  Must  Have  APIs I  Want  To  Bring  My  Own  Carrier Which  Components  You  Use  Doesn’t  Ma^er But  if  you  ask  me  we  will  spend  2  years  debaZng  this WE LEARNED FROM OUR USERS
  6. WENT BACK TO ROOTS Goals  Were ‣APIs  (originally  XML  but

     JSON  turned  out  easier) ‣Complete  Browser-­‐Based  GUI ‣WebSockets  (was  Comet) ‣Abstract  Media  Handling  from  Signaling ‣MulZple  Datacenters  Work  Seamlessly ‣Ability  to  Add/Remove  Nodes  At  Any  Time ‣AutomaZc  Failover ‣AutomaZc  Scaling
  7. CHANCE TO START FRESH Fault-­‐Tolerant,  Distributed  Database Nobody  cares  what

     it  is As  long  as  you  can  manage  it  and  learn  it  quickly Nobody  knows  how  to  maintain  it Nobody  knows  how  to  scale  it Cloudant’s  BigCouch
  8. CHANCE TO START FRESH Fault-­‐Tolerant,  Distributed  Logic  Handling Real-­‐Zme  Dialplan

     GeneraZon RabbitMQ  WAN  Messaging Modular  Apps  for  Different  Circumstances Built-­‐in  AuthenZcaZon  and  Call  AuthorizaZon Whistle  APIs
  9. ITERATIVE PRODUCT DEVELOPMENT Goals  Were Make  It  Stupidly  Simple  to

     Get  Started Make  It  Stupidly  Simple  to  Manage Make  It  Pre^y Include  Billing Include  MulZ-­‐Tenancy Add  Some  DocumentaZon Show  Some  Very  Simple  Tutorials Include  APIs Show  Use  Cases Give  Something  Away  for  Free
  10. SZll  Some  Finishing  Touches One-­‐page  Complete  PBX  Management Billing  and

     Rebilling Faxing,  SMS,  Video Lots  of  Real-­‐Live  Users! Police,  Fire,  Sheriff  24/7 Allstate,  Urban  Living,  AAA  Ambulance Some  Really  Really  Big  Companies  We’re  Not   Allowed  To  MenZon  
  11. FINALLY SOME CREATIVITY! Opening  Doors  in  the  Prison  Via  SIP

    Yes,  Really! Video  from  the  Ambulance via  4G  to  a  Desk  Phone Home  AutomaZon Link  Lightswitch  to  “Presence” Forward  Calls  to  Voicemail  when  Lights  Out