Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Mackerelハンズオン(2017/12/13)
Search
Katsumi Takahashi
December 14, 2017
Business
1
450
Mackerelハンズオン(2017/12/13)
2017/12/13 レコチョク様で開催されたMackerel x Twilioのハンズオン資料となります。
Katsumi Takahashi
December 14, 2017
Tweet
Share
More Decks by Katsumi Takahashi
See All by Katsumi Takahashi
Introduction of Vonage
mobilebiz
0
29
Vonageハッカソン紹介資料
mobilebiz
0
65
VonageHandson in 岡山
mobilebiz
0
44
kintone がビデオ会議システムになる話
mobilebiz
0
44
リアルタイムコミュニケーションのシステムを設計・運用する際のベストプラクティス
mobilebiz
0
61
Vonage概要 Video API
mobilebiz
0
68
Amazon Chime SDK と Vonage Video API の徹底比較
mobilebiz
0
310
Vonageを使った連続架電フローのご紹介
mobilebiz
0
120
Cloudflare Calls の魅力と可能性
mobilebiz
0
230
Other Decks in Business
See All in Business
GA technologies Co.,Ltd. Corporate Story
gatechnologies
2
940
Sasuke Financial Lab_会社説明資料
mayuko_nishida
1
5.3k
採用ピッチ資料
beglobal_document
0
110
会社紹介資料 / ProfileBook
gpol
4
26k
株式会社EventHub 会社紹介資料
eventhub
1
31k
「定性」から「定量」へ 〜明日からできる定量化。時間の魔法編〜
natty_natty254
2
150
CompanyDeck_v6.pdf
xid
3
17k
思いつきに頼らない新規サービスのアイデア創出 再現性のある手法の解説
ncdc
1
100
Go See!で見つけるプロダクト開発の突破口とその実践法
ta0o_o0821
1
210
図形伝達ゲーム「グラコミ」
chibanba1982
PRO
0
140
AWS の生成 AI 最前線 : 顧客起点のイノベーション
icoxfog417
PRO
0
1.4k
無自覚にメンバーの心理的安全性を奪っていた経験から得た学び
lighttiger2505
149
200k
Featured
See All Featured
Become a Pro
speakerdeck
PRO
26
5.1k
Optimising Largest Contentful Paint
csswizardry
33
3k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Typedesign – Prime Four
hannesfritz
40
2.4k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
18
2.3k
KATA
mclloyd
29
14k
Documentation Writing (for coders)
carmenintech
67
4.5k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
111
50k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
Optimizing for Happiness
mojombo
376
70k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Transcript
Copyright (C) KDDI Web Communications Inc. All Rights Reserved .BDLFSFMͷ5XJMJP࿈ܞػೳ
Λͬͨࣗಈൃݺ ,%%*Σϒίϛϡχέʔγϣϯζ 5XJMJPࣄۀ෦ɹߴڮࠀݾ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved 2
ࣗݾհ ߴڮࠀݾ גࣜձࣾ,%%*Σϒίϛϡχέʔγϣϯζ 5XJMJPࣄۀ෦ ΤόϯδΣϦετ GBDFCPPLLBUTVNJUBLBIBTIJ HJUIVCNPCJMFCJ[ RJJUBNPCJMFCJ[
© 2009 - 2014 Twilio, Inc. All rights reserved. ΞδΣϯμ
Twilioͷ͝հ ࣗಈՍి ࣗಈՍిͷύλʔϯ Ұ੪ண৴ͷσβΠϯύλʔϯ ॱ࣍ண৴ͷσβΠϯύλʔϯ ࣗಈՍిͷҙϙΠϯτ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved 5XJMJPͷ͝հ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved %PZPVLOPX5XJMJP
© 2009 - 2014 Twilio, Inc. All rights reserved. Twilioͱ
ʮτΡΠϦΦʯͱൃԻ͠·͢ɻ 2008͔ΒαʔϏεΛ։࢝ 2013ʹຊͰͷαʔϏε։࢝ શੈքͰͷ։ൃऀ͕100ສਓΛಥഁ ʢ2016ʣ χϡʔϤʔΫূ݊औҾॴʹIPO ʢ2016/6/29ʣ
7 Engagement Cloud Programmable Communications Cloud Super Network Runtime System
to customer Department to customer Intelligent services Communications APIs AUTHY NOTIFY TASKROUTER COPILOT CALL CONTROL MEDIA ENGINE INSIGHTS PROG. SMS PROG. VOICE PROG. VIDEO PROG. CHAT PROG. FAX PHONE NUMBERS SHORT CODES SIP TRUNKING WIRELESS CHANNELS Global coverage Elastic capacity Network learning Instant provisioning Clean numbers FUNCTIONS DEBUGGER ASSETS USERS CREDENTIALS SYNC ADD-ONS Individual to customer PROXY UNDERSTAND STUDIO
ߏྫ Your Server Core Service SMS TwiML/Functions
© 2009 - 2014 Twilio, Inc. All rights reserved. ిΛίϯτϩʔϧ͢Δ̎ͭͷํ๏
RestAPI Twilioʹରͯ͠ిൃ৴Λࢦࣔ͢Δ͜ͱ͕Ͱ͖·͢ ૬ख͕Ԡͨ࣌͠ʹͲ͏͢Δ͔ɺTwiMLΛ੍ͬͯޚ͠·͢ TwiML ੜ͞Εͨݺʹରͯ͠ɺ༷ʑͳಈ࡞Λͤ͞Δ͜ͱ͕Ͱ͖·͢ ࣗಈԻΛྲྀͨ͠ΓɺIVRػೳͳͲΛ࣮͢Δ͜ͱ͕Ͱ͖·͢
3FTU"1*ͰిΛ͔͚Δʢ/PEFKTͷྫʣ DPOTUBDDPVOU4JEbZPVS@BDDPVOU@TJE` DPOTUBVUI5PLFOZPVS@BVUI@UPLFO DPOTUDMJFOUSFRVJSF UXJMJP BDDPVOU4JE BVUI5PLFO DMJFOUDBMMTDSFBUF \
VSMIUUQEFNPUXJMJPDPNEPDTWPJDFYNM UP૬खઌి൪߸ GSPNbൃ৴ऀ൪߸ʢ5XJMJPͰߪೖͨ͠൪߸ʣ ^ UIFO DBMM QSPDFTTTUEPVUXSJUF DBMMTJE
5XJ.-ʢ5XJMJPΛૢ࡞͢Δݴޠʣ ʻ%JBMʼɹిΛ͔͚Δ ʻ$MJFOUʼɹ7P*1ΞϓϦʹՍి ʻ$POGFSFODFʼɹిձٞʹࢀՃ ʻ/VNCFSʼɹ145/ܦ༝ͰՍి ʻ2VFVFʼɹΩϡʔ͔ΒͷऔΓग़͠
ʻ4JQʼɹ4*1ΫϥΠΞϯτՍి ʻ&ORVFVFʼɹΩϡʔʹอଘ ʻ(BUIFSʼɹ*73 ʻ)BOHVQʼɹճઢஅ ʻ-FBWFʼɹΩϡʔ͔ΒͷҠಈ ʻ1BVTFʼɹϙʔζ ʻ1MBZʼɹ.18"7σʔλͷ࠶ੜ ʻ3FDPSEʼɹ௨ͷԻ ʻ3FEJSFDUʼɹผͷ5XJ.-ભҠ ʻ3FKFDUʼɹ௨ڋ൱ ʻ4BZʼɹ߹Իͷ࠶ੜ ʻ4NTʼɹ4.4ͷૹ৴ 5XJ.-ͷαϯϓϧ <?xml version=“1.0” encording=“UTF-8”?> <Response> <Say voice=“alice” language=“ja-JP”>͜Μʹͪ</Say> <Record maxLength=“20” /> </Response>
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ࣗಈՍి
© 2009 - 2014 Twilio, Inc. All rights reserved. ࣗಈՍిͱ
ϓϩάϥϜ͔ΒిΛ͔͚Δ͜ͱ͕Ͱ͖·͢ TwilioͷRestAPIΛར༻͠·͢ ૬ख͕Ԡͨ࣌͠ͷಈ࡞ΛTwiMLͰఆٛͰ͖·͢ ௨ৗɺTwiMLϢʔβଆͷαʔόʔʹͯੜͯ͠ɺTwilioʹฦ٫͠·͢ ੩తͳTwiMLͰ͋ΕɺTwiML Binsͱ͍͏πʔϧΛͬͯɺTwilio্ʹอଘ ͓ͯ͘͜͠ͱͰ͖·͢͠ɺFunctionsΛར༻͢ΔͱαʔόʔϨεͰ࣮ߦ ͕ՄೳͰ͢ ௨ͷঢ়ଶʢݺग़தɺԠɺதɺਖ਼ৗऴྃʣΛѲ͢Δ͜ͱͰ͖· ͢
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ࣗಈՍిͷύλʔϯ
ύλʔϯᶃɹҰ੪ಉใ τϦΨʔΛݩʹɺෳͷ࿈བྷઌʹಉ࣌ʹՍి͠·͢ɻ ͜ͷํ๏Ͱɺ͞Βʹز͔ͭͷར༻ύλʔϯ͕͋Γ·͢ɻ Ұண৴ ࠷ॳʹԠͨ͠ਓ͚͕ͩϝοηʔδΛड͚औΔ શһண৴ʢҙʣ ઌʹԠͨ͠ਓ͕͍ͯɺଞͷਓΛݺͼग़͠·͢ɻ શһண৴ʢඞਢʣ શһ͕Ԡ͢Δ·ͰɺՍిΛ܁Γฦ͠·͢ɻ
ύλʔϯᶄɹॱ࣍ண৴ τϦΨʔΛݩʹɺෳͷ࿈བྷઌʹ̍݅ͣͭՍిɻ௨ৗɺ୭͔͕Ԡͨ͠ ͰɺՍిऴྃ͠·͢ɻ ୭͔Ұਓʹ௨͕͞ΕΕత͕ୡ͞ΕΔ࣌ʹΘΕ·͢ɻ ண৴͢Δॱ൪ܾ·͍ͬͯΔέʔε͕΄ͱΜͲͰ͕͢ɺϥϯυϩϏϯ Ͱண৴ऀΛܾΊ͍ͯ͘ํ๏͋Γ·͢ɻ
Copyright 2013 Twilio Inc. Սిύλʔϯͷબϑϩʔ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved Ұ੪ಉใͷσβΠϯύλʔϯ
Ұ੪ಉใͷσβΠϯύλʔϯ Ұண৴͔ɺશһண৴͔Ͱ࣮ํ๏͕ҟͳΓ·͢ɻ Ұண৴Ͱ͔ͭɺ10໊ҎͰͷӡ༻Ͱ͋ΕɺTwiML Bins͚ͩʢϢʔβଆ ͷTwilio࿈ܞ༻αʔόʔ͕ෆཁʣͰରԠ͢Δ͜ͱ͕Ͱ͖·͕͢ɺ11໊Ҏ্ ͷӡ༻ɺ͘͠શһண৴ͷ߹ʹɺϓϩάϥϜʹͯରԠ͕ඞཁͱͳ Γ·͢ɻ
TwiML Bins͚ͩͰରԠ͢Δ ࣍ϖʔδͷϑϩʔΛࢀর ҙ Ұண৴ͷΈʹରԠ͍ͯ͠·͢ɻ ൃ৴ઌʹࢦఆͰ͖ΔͷɺPSTN͔Clientͷ͍ͣΕ͔Ͱ͢ɻ ྻڍͰ͖Δ൪߸ɺ࠷େ10ݸ·ͰͰ͢ɻ
Copyright 2013 Twilio Inc.
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ॱ࣍ண৴ͷσβΠϯύλʔϯ
ॱ࣍ண৴ͷσβΠϯύλʔϯ ୭͔Ұਓ͕Ԡ͢ΕɺՍిऴྃ͠·͢ɻ 10໊ҎͰ͋ΕɺTwiML Bins͚ͩʢϢʔβଆͷTwilio࿈ܞ༻αʔόʔ͕ ෆཁʣͰରԠ͕ՄೳͰ͕͢ɺ11໊Ҏ্Ͱӡ༻͢Δ߹ɺϓϩάϥϜ ͕ඞཁͰ͢ɻ
TwiML Bins͚ͩͰରԠ͢Δ ඇެ։ύϥϝʔλʮsequential=“true”ʯΛ׆༻͠·͢ɻ ࣍ϖʔδͷϑϩʔΛࢀর ҙ ൃ৴ઌʹࢦఆͰ͖ΔͷɺPSTN͔Clientͷ͍ͣΕ͔Ͱ͢ɻ ྻڍͰ͖Δ൪߸ɺ࠷େ10ݸ·ͰͰ͢ɻ
Copyright 2013 Twilio Inc.
୭͔͕ग़Δ·Ͱϧʔϓͤ͞Δ ୭͔͕ண৴͢Δ·Ͱൃ৴Λ܁Γฦ͍ͤͨ͠͞߹ ϓϩάϥϜΛ࡞ͬͯϧʔϓͤ͞·͢ FunctionsΛ͏͜ͱͰɺαʔόʔϨεͰ࣮͕ՄೳͰ͢ɻ ࢀߟURLʢhttps://qiita.com/mobilebiz/items/caf5a4d1889da4cc8dfdʣ
'VODUJPOTʹΑΔॱ࣍ண৴ Handson 'VODUJPOTΛͬͯɺॱ࣍ண৴Λͯ͠Έ·͠ΐ͏ɻ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ࣗಈՍిͷҙϙΠϯτ
ཹक൪ిରࡦ ܞଳిѼͷՍిɺਖ਼ৗऴྃݺͱͳΓ·͢ɻ ൃ৴࣌ͷʮIfMachineʯύϥϝʔλຊͰ͑·ͤΜɻ AMDʢAnswer Machine Detectionʣ͋Γ·͕͢ɺͪ͜ΒຊͰਖ਼ࣜ ʹαϙʔτ͞Ε͍ͯ·ͤΜʢ$0.0075/ೝࣝʣɻ IVRΛͬͯఆ͢Δํ๏ʢԿ͔ΩʔΛԡͤ͞Δʣ͕ҰൠతͰ͢ɻ அ͕ͲͪΒ͔ΒߦΘΕ͔ͨͰػցԠ͔Ͳ͏͔Λఆ͢Δ͜ͱͰ͖ ·͢ʢԠϝοηʔδΛΊʹઃఆ͠ɺฉ͍ͨΒஅ͢ΔΑ͏ʹӡ༻͢
Δ͜ͱͰɺΕͨ࣌ؒΛΈͯɺԠϝοηʔδ͕࠷ޙ·ͰྲྀΕ͔ͨͰ ఆ͢Δʣɻ
Սిʹؔ͢Δॾҙ 0120/0800ΛؚΉ0AB0ʹൃ৴Ͱ͖·ͤΜʢ050൪߸͔Βͷൃ৴ʣɻ 1ൃ৴/ඵͷ੍ݶ͕͋Γ·͢ɻ ࡂൃੜ࣌ͳͲɺΩϟϦΞଆͷൃ৴ن੍ͷӨڹΛड͚·͢ɻ ཹकి͕डిͨ͠߹ɺਖ਼ৗݺͱͯ͠ՍిઌʹԠͨ͡අ༻͕ൃੜ͠· ͢ɻ ֤ݺͷ௨ऴྃ࣌ʹϙΠϯτ͕Ҿ͖མͱ͞Ε·͢ɻ ۃكʹඇ௨ɺւ֎൪߸Ͱண৴͢Δ͜ͱ͕͋Γ·͢ɻ ଆͰண৴ڋ൱Λͯ͠ɺҾ͖ଓ͖ண৴͢Δ͜ͱ͕͋Γ·͢ɻ