Greach 2011 - Building Telephony Apps with Groovy and Grails
-
Upload
greaches -
Category
Technology
-
view
1.614 -
download
2
description
Transcript of Greach 2011 - Building Telephony Apps with Groovy and Grails
Building Telephony Apps with Groovy and Grails
2
Highlights since 1999
1999 2011
VoiceXML
CCXML
Asterisk 1.0
Tropo
Twilio
Ribbit
TropoReal-Time Cloud Communications
4
What is Tropo
• Platform for building communication apps.
• Cloud-based
• Supports multiple languages.
5
What is Tropo
• Application code runs in the Tropo cloud
• Can be hosted on our servers, or fetched from yours.
• Users interact with an app through multiple channels.
6
DSL
• Call
• Answer
• Transfer
• Reject
• Hangup
• Say
• Ask
• Record
• Conference
7© Voxeo Corporation© Voxeo Corporation© Voxeo Corporation
Technology Stack
8
Technology Stack
9
Features
• Phone channel supports DTMF and Speech Rec
• SIP interoperability
• Multiple IM networks
• TTS / ASR in 24 languages
• International SMS support
• Outbound rate limiting – 100 calls / second.
10
Built for Developers
• 100% free for developers.
• No credits, no limits on minutes, no hassles.
• Phone numbers are free for devs (41 countries).
• We don't play ads on dev calls.
• We don't ask for a CC until you're ready for production.
• 24x7 support – dev forums and IRC (#tropo) .
All About Apps
Über Status Unified status across Twitter, VoiceMail, etc.
Inbound Self-Service Simple and personal IVR for small business
SMB Contact Center Smart presence-enabled call routing
Many more...
Voice / IM Dialing Trigger calls using voice and IM channels
Smart Notifications Pervasive / multi-channel notifications
Voice-Enabled Games Conspire with team members in real-time
Social Mashups Twitter -> SMS | FaceBook -> Voice
12
Money
VoiceInbound: $0.02 / min
Outbound: $0.02 / min + Intl. Rate
Fixed = $0.02 / min
Mobile = $0.18 / min
Spain Intl. Rates
SMSInbound: $0.02 / each
Outbound: $0.02 / each
Note: Intl. needs to be enabled.
Samples
Samples
15
TROPO GRAILS PLUG-IN
16
TROPO GRAILS PLUG-IN
Controller
Controller
SESSION
ASK COLOR
RED
SAY RED
17
Open Source
http://www.github.com/tropo/tropo-webapi-grails
18
TROPO GRAILS PLUG-IN
19
TROPO GRAILS PLUG-IN
20
DEMO
http://www.github.com/tropo/tropo-restaurants-finder
+34 931 786 172
+990009369996138011
21
DEMO
https://github.com/mpermar/tropo-redis-grails-sample
+34 931 761 117
+990009369991490053
Real-Time Cloud Communications
PhonoSDK
● JavaScript Library
● Make and Receive Calls
● Instant Messaging
● Open Source
Bob Alice
© Voxeo Corporation© Voxeo Corporation© Voxeo Corporation
Simple
$.phono({ onReady: function() { this.phone.dial(“857-239-0087”); }});
Sip
$.phono({ onReady: function() { this.phone.dial(“sip:[email protected]”); }});
Tropo
$.phono({ onReady: function() { this.phone.dial(“app:991442445”, { Headers: [ { x-foo: “foo”, x-bar: “bar” } ]
}); }});
© Voxeo Corporation | CONFIDENTIAL
Phono Architecture
Media PluginsMedia Plugins
Phono Mobile
+ = Pure Awesome!
29
Open Source
http://www.github.com/phono
Next Geneneration
Real-Time Cloud Communications
31
The Web has gone Real-Time
Web Cloud Comm
Node.jsWebSockets
WebRTCXMPP / BOSH
32
The Real-Time Cloud
=XMPP Extension
Make + Receive Calls
Media ControlGeo Location
Messaging
Device Registration
Man in the Middle
Your App
34
Wow!
<iq> <complete xmlns=”urn:ozone:ask:complete”> <value>123</value> <utterance>one two three</utterance> </ask></iq>
<iq> <ask xmlns=”urn:ozone:ask”> <choices>[3 DIGITS]</choices> <timeout>10s</timeout> </ask></iq>
Ray
o C
lien
t
35
Wow!
36
Rayo Java Client!
37
Rayo Grails Plug-in DEMO
http://www.github.com/mpermar/lostrego
38
Wow!
Thank You
@mpermar