Más contenido relacionado
Similar a Creating Phone 2.0 Applications with Adhearsion (20)
Creating Phone 2.0 Applications with Adhearsion
- 1. Creating
Phone 2.0
Applications with
Adhearsion
Ben Klang, Verendus LLC
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 2. Why Phone 2.0?
● Phone 2.0: bringing web mashups to the
telephone world
● The web iterates quickly: your phone system
should too
● The phone system is no longer an island
● Phone isn't just about voice anymore: it's a key
piece of the overall communications package
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 3. Why Adhearsion?
● extensions.conf isn't a programming language
● Looping and string/math operations are painful
● Interfaces to data sources (SQL/LDAP) are primitive
● Softswitches and PBXes are a bad place to
implement high-level features
● Instability brings down the entire phone system
● Each new tech requires a large development effort
● Little to no code re-use possible
● Adhearsion: the chassis to your phone engine
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 4. Why Adhearsion?
● Plain, easy-to-read syntax with the DSL
● Ruby has libraries (gems) for almost everything
● JRuby (Ruby in Java VM) has even more
● Ruby makes programming accessible
● Adhearsion makes programming phones
accessible
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 5. What is Adhearsion?
● A framework for creating telephone applications
● The first (only?) of its kind
● Written in Ruby
● Talks to SQL, LDAP
XMPP, REST, JSON,
YAML, XML
● …and as many
other acronyms
as you can name
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 7. Code Example: Simple Menu
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 8. Code Example: A Bit More Involved
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 9. The Future of Adhearsion
● Next Week: Adhearsion 0.8.5
● First release with XMPP, some minor features,
many bugs fixed
● 1Q 2011?: Adhearsion 0.9.0
● Add support for multiple telephony engines
– FreeSWITCH: Yes. Yate: Maybe? Others?
● Further improvements to the DSL
● Better Manager/EventSocket abstraction
● Later: Adhearsion 1.0
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 10. Who is Adhearsion?
● Jay Phillips
● Founder, creator, visionary (2006-2009)
● Jason Goecke
● Champion, Loudspeaker, Voxeo Liason
● Ben Klang
● Current maintainer, trying to fill big shoes
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 12. Learn More about Adhearsion
● Website:
● http://adhearsion.com
● IRC
● irc.freenode.net #adhearsion
● Mailing List
● http://groups.google.com/group/adhearsion
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 13. Questions
● ???
August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago
- 14. August 3-5 © 2010 Verendus, LLC
Trump Towers Creative Commons License - CC-BY-SA
Chicago