Globe Labs - Voice API (Developer Preview)

21
Globe Labs – Voice API Power up your apps with voice capabilities! Michelle Santos Developer Relations Manager – Globe Labs www.globelabs.com.ph | [email protected] T: @globelabs F: facebook.com/ globelabs G+: gplus.to/globelabsph

description

Presented at Globe Labs Developer Day, April 13, 2013

Transcript of Globe Labs - Voice API (Developer Preview)

Page 1: Globe Labs - Voice API (Developer Preview)

Globe Labs – Voice API Power up your apps with voice capabilities!

Michelle Santos Developer Relations Manager – Globe Labs

www.globelabs.com.ph | [email protected] T: @globelabs F: facebook.com/ globelabs G+: gplus.to/globelabsph

Page 2: Globe Labs - Voice API (Developer Preview)

                                                             and  Mobile  Ecosystem  

•  Launched  2008  

•  Innova9on  Driven  •  Work  with  Individual  

Developers  and  Startups  

•  Enable  to  build,  launch  &  market  new  apps  and  services  

•  4000+  Members  

•  IT  Professionals  (Developers,  Designers,  Sys  Admin),  Students,  Business  Managers  

Mobile Platforms

Apps and Content

APIs, SDKs and Platforms

Distribution Channels

Vector Image - http://creattica.com/vector/developer-economics/62382

Page 3: Globe Labs - Voice API (Developer Preview)

Conduct Training & Sponsor Community Events

Provide Developer Tools & Platforms

Provide Advice on Market Viability & Champion Commercialization Channels

LEARN  -­‐  BUILD  -­‐  LAUNCH  

Page 4: Globe Labs - Voice API (Developer Preview)

? Your App Here

70+  Applica9ons  /  Services  as  of  Launched  as  2010  

Page 5: Globe Labs - Voice API (Developer Preview)

APIs (www.globelabs.com.ph)

Messaging API (SMS & MMS) Location-Based

Services API Voice API

The Globe Labs APIs were officially launched on August 2008 and provided the first publicly accessible Telco API in the Philippines.

Page 6: Globe Labs - Voice API (Developer Preview)

Featured  App    –  Tropa.ph  

Page 7: Globe Labs - Voice API (Developer Preview)

Featured  App  –  GL  APIs  

@tweetitow

SMS Tweeting in Philippines, and MMS / Twit Pic (Beta)

Register (Online – OAuth): http://app.tweetitow.com/

Send a Tweet: - Send tweets to 23737033

Send MMS (Beta):

Page 8: Globe Labs - Voice API (Developer Preview)

WHY  VOICE?    

Page 9: Globe Labs - Voice API (Developer Preview)

Globe  Labs  –  Voice  API  

•  RESTful  API  (powered  by  Tropo©)  •  3  Types:  

–   Scrip<ng  –   Web  API  –   RESTFul  API  

•  Popular  Programming  Languages  – Javascript,  PHP,  Ruby,  Groovy,  Python  

Page 10: Globe Labs - Voice API (Developer Preview)

Globe  Labs  –  Voice  API  (powered  by  Tropo©)  

•  Inbound  and  Outbound  Phone  Calls*  from  within  any  Web  or  Mobile  App    

•  Call  conferencing  (up  too  100  simultaneous  calls)  

•  Automated  Speech  Recogni<on  (ASR)  in  several  languages  

•  Text-­‐to-­‐Speech  (TTS)  •  SIP  calls    •  Call  Recording  and  Transcrip<on  •  Your  own  access  number  (2373-­‐####)  *  API  is  currently  in  developer  preview,  calls  are  limited  to  Globe  and  TM  numbers  only  

Page 11: Globe Labs - Voice API (Developer Preview)

Key  Feature  and  Func9onali9es    

•  Answer  a  call  

<?php!!!say (“Hello there”);!?>!

Page 12: Globe Labs - Voice API (Developer Preview)

Key  Feature  and  Func9onali9es    

•  Call  Control  – Transfer  /  Forward  

<?php ! say("Please wait while we transfer your call. Press star to

cancel the transfer."); !

transfer(array(”+639171234567","sip: ! [email protected]"), array( "playvalue" => ! "http://www.phono.com/audio/holdmusic.mp3", "terminator" ! => "*", "onTimeout" => "timeoutFCN" ) ); !

function timeoutFCN($event) { say("Sorry, but nobody answered."); } !

?>!

Page 13: Globe Labs - Voice API (Developer Preview)

Key  Feature  and  Func9onali9es    

•  Call  Control  – ConCall    

<?php ! say("Welcome to the geek singles hotline!"); !

conference("1337", array( "terminator"=>"*", "mute" => false, "playTones" => true ) ); !

say("We hope you had fun, call back soon!"); !

?>!

Page 14: Globe Labs - Voice API (Developer Preview)

Key  Feature  and  Func9onali9es    

•  Speech  Recogni<on    

<?php ! $result = ask("What's your favorite color? Choose from red, blue or green.”, array( "choices" => "red, blue, green" )); !

say("You said" . $result->value); !

_log("They said " . $result->value);!?>!

Page 15: Globe Labs - Voice API (Developer Preview)

Key  Feature  and  Func9onali9es    

•  Record  an  Audio  

<?php ! say("Welcome to the hotline!"); !

record("Tell us how you feel!", array ( "recordURI"=>"http://example.com/recording.php" ) ); !

?>!

Page 16: Globe Labs - Voice API (Developer Preview)

Try  it  out!  

• Mobile  Dealer  Inventory  – hYps://voxeo13196.globelabsbeta.com/sessions?ac<on=create&token=408aef1dffca45e8a42b7bd597d3c5de017d87fddf09115aeb5280e26635cf72d0b5313767290ee4567dfe&numberToDial=<+63#########>  

•  Note:  change  the  mobile  number<+63#########>  to  another  number  you  wish  to  test  

– Data  page:  hYp://bit.ly/case1-­‐db    

Page 17: Globe Labs - Voice API (Developer Preview)

Try  it  out!  

• Event  Registra<on    – Presented  from  Globe  Labs  Developers  Day,  April  13)  

– Programmed  in  less  than  2  hours  

– To  test:  dial  23739359*  

*  API  is  currently  in  developer  preview,  calls  are  limited  to  Globe  and  TM  numbers  only.  Soon  available  to  Super  Duo  subs  as  well.  

Page 18: Globe Labs - Voice API (Developer Preview)

•  Join the challenge! •  Power up your apps with Globe Labs Voice API (powered by Tropo) •  Get a chance to win…. PHP 50,000 (subject to applicable taxes)

•  http://bit.ly/globelabs-voiceapichallenge •  Deadline for proposals: April 29*

Page 19: Globe Labs - Voice API (Developer Preview)

URLs:  Links  and  References  

•  API  Challenge  details    – hYp://bit.ly/globelabs-­‐voiceapichallenge  

•  Samples  and  Codes:  – hYps://github.com/globelabs  

•  Documenta<on:    – hYp://bit.ly/globelabs-­‐tropo-­‐docs    

Page 20: Globe Labs - Voice API (Developer Preview)

@globelabs

[email protected]

www.globelabs.com.ph

Page 21: Globe Labs - Voice API (Developer Preview)

Globe Labs – Voice API Power up your apps with voice capabilities!

Michelle Santos Developer Relations Manager – Globe Labs

www.globelabs.com.ph | [email protected] T: @globelabs F: facebook.com/ globelabs G+: gplus.to/globelabsph