Upload
mojo-lingo-llc
View
147
Download
1
Tags:
Embed Size (px)
DESCRIPTION
Creating Phone 2.0 Applications with Adhearsion presented by Ben Klang at ClueCon 2010
Citation preview
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
CreatingPhone 2.0
Applications with
AdhearsionBen Klang, Verendus LLC
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
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-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
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-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
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-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
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 manyother acronymsas you can name
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
XMPP: Instant Information
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
Code Example: Simple Menu
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
Code Example: A Bit More Involved
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
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-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
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-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
AdhearsionConf 2010
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
Learn More about Adhearsion
● Website:● http://adhearsion.com
● IRC● irc.freenode.net #adhearsion
● Mailing List● http://groups.google.com/group/adhearsion
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA
Questions
● ???
August 3-5Trump TowersChicago
© 2010 Verendus, LLCCreative Commons License - CC-BY-SA