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

クラウド電話サービス “Twilio” のご紹介

クラウド電話サービス “Twilio” のご紹介

Kiminari Homma

December 04, 2015
Tweet

More Decks by Kiminari Homma

Other Decks in Technology

Transcript

  1. Ϋϥ΢υి࿩αʔϏε “Twilio” ͷ͝঺հ selfree, llc ຊؒ ߖ੒

  2. ࣗݾ঺հ

  3. ຊؒ ߖ੒ @kimihom ϘΫίί ӡӦऀ http://www.bokukoko.info/ CTO at selfree,llc Ruby

    on Rails, AWS, Heroku, Android, iOS TwilioJP-UG ϝϯόʔ
  4. ίʔϧίωΫτ as a Service ސ٬৘ใͱ࿈ಈͨ͠ίʔϧηϯλʔΛߏங Webϒϥ΢β͕ి࿩୅ΘΓ ֨҆ɾຊ֨ػೳɾଈ೔ಋೖ ̎िؒແྉτϥΠΞϧ࣮ࢪத αʔϏε঺հ https://www.callconnect.jp/

  5. Twilio Λ͝ଘ஌ͷํʁ Twilio Λ࢖ͬͨ͜ͱ͕͋Δํʁ Twilio Λ࢖ͬͯӡ༻͍ͯ͠Δํʁ

  6. Twilio ͷিܸ ࠓ·Ͱͷి࿩αʔϏε։ൃ ͳͲͷ IP-PBX αʔόʔ VoIPϧʔλ ి࿩൪߸ϓϩόΠμ Ұൠి࿩ IPి࿩

  7. Twilio ͷিܸ “REST API” ΛݺͿ͚ͩͰ ి࿩γεςϜΛߏங Web ͷٕज़͑͞஌͍ͬͯΕ͹ ి࿩γεςϜΛߏஙͰ͖Δ!! [email protected]

    ଞͷ Web ͱ࿈ܞ͠΍͍͢
  8. Twilio ͕͋ΒΏΔϋοΧιϯͰར༻͞ΕΔཧ༝

  9. Twilio ͰͰ͖Δ͜ͱ

  10. Voice Client ి࿩ͷड৴ Ի੠ϑΝΠϧ࠶ੜ΍௨࿩࿥Ի μΠϠϧૢ࡞ʹԠͨ͡ಈ࡞੾ସ ௨࿩தͷి࿩ͷ੍ޚ ి࿩ͷൃ৴ ϒϥ΢βɾεϚϗͰి࿩ Voice ͱ࿈ಈͯ͋͠ΒΏΔ௨࿩Λૢ࡞

    and More.. →ࣗ༝ʹ૊Έ߹ΘͤՄʂ
  11. ཈͓͖͍͑ͯͨ஌ࣝ ͱͯ΋ஸೡʹղઆ͞Εͨ೔ຊޠυΩϡϝϯτ͕͋ΔͷͰɺ ҆৺͍ͯͩ͘͠͞ɻ

  12. TwiML Twilio Ͱి࿩Λड৴ɾൃ৴͢Δͱ͖ͳͲɺ Twilio ΁ಈ࡞໋ྩΛग़ͨ͢ΊͷXML Ͳ͏͢Ε͹͍͍ʁ ͜͏͠Ζ(TwiML) Webαʔόʔ <?xml version="1.0"

    encoding="UTF-8"?> <Response> <Gather action=“https://www.myapp.com/action”> <Play loop=“5”>https://www.myasset.com/voice.wav</Play> </Gather> </Response> αϯϓϧ
  13. REST API HTTP ௨৴Ͱ Twilio ͷ৘ใͷऔಘɾ࡞੒ɾߋ৽ɾ࡟আͳͲΛߦ͏ ֤ݴޠʹରԠ (PHP, Ruby, Python,

    Node.js etc) Webαʔόʔ ͜Ε΍ͬͯ ͜͏ͳΓ·ͨ͠ ྫ͑͹ ɾి࿩൪߸ͷऔಘɺߪೖɺ࡟আ ɾి࿩Λ͔͚Δɺ௨࿩ͷߋ৽ ɾSMS ૹ৴ ɾͦͷଞɺTwilio ϚΠϖʔδʹ͋Δૢ࡞ΛࣗલͰ࣮૷
  14. Client SDK ϒϥ΢β(JavaScript), iOS(Objective-C), Android(Java) Ͱهड़͞Εͨ Client ௨࿩Λ࣮ݱ͢ΔͨΊͷϥΠϒϥϦ REST APIͰൃߦͰ͖Δ”έΠύϏϦςΟτʔΫϯ”͕ඞཁɻ

    ண৴͕དྷͨͱ͖ɺ௨࿩Λ੾ͬͨͱ͖ɺΦϑϥΠϯʹͳͬͨͱ͖ ͲΜͳ͜ͱΛ͢Δ͔͚ͩΛॻ͚͹Α͍ Ͳ͏͢Ε͹͍͍ʁ Clientʹి࿩͠Ζ(TwiML) Webαʔόʔ
  15. Twilio ͷະདྷ νϟοτ ϏσΦ ίϛϡχέʔγϣϯͱͯ͠ͷϓϥοτϑΥʔϜ΁ɻ ·ͩ·ͩਐԽͷաఔɻ ࠓ͔ΒTwilioΛ࢝Ίͯ΋શ͘஗͘͸ͳ͍Ͱ͢ʂ

  16. Thanks.