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ハンズオン資料
Search
Katsumi Takahashi
April 25, 2017
Business
1
610
Mackerelハンズオン資料
2017/4/25に開催された「Mackerel x AWS x Twilioハンズオン」のTwilioパートの資料です。
Katsumi Takahashi
April 25, 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
Go See!で見つけるプロダクト開発の突破口とその実践法
ta0o_o0821
1
210
無自覚にメンバーの心理的安全性を奪っていた経験から得た学び
lighttiger2505
149
200k
コンセンサスゲーム「砂漠からの脱出 カード版」
chibanba1982
PRO
0
160
DNX Ventures Japan|Introduction Deck
natsumidnx
0
830
メドピアグループ紹介資料
medpeer_recruit
10
120k
HireRoo Culture Deck(日本語)
kkosukeee
2
27k
Canary Inc. Company Deck
canaryinc
0
42k
Works Human Intelligence
whisaiyo
1
81k
Digital Experience, Inc. - Company Deck
sprasiainc
0
18k
人材育成プラットフォーム としてのBacklog
junkoon
1
200
ヘリウムリング&フープリレーアクティビティ
chibanba1982
PRO
0
100
なぜ施策優先度を意思決定しなければならないのか? 経験から得た要因と対策
mkitahara01985
2
280
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Practical Orchestrator
shlominoach
186
10k
Building Applications with DynamoDB
mza
92
6.1k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
Mobile First: as difficult as doing things right
swwweet
222
9k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
97
17k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
How STYLIGHT went responsive
nonsquared
96
5.2k
RailsConf 2023
tenderlove
29
960
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Fontdeck: Realign not Redesign
paulrobertlloyd
82
5.3k
Transcript
Copyright (C) KDDI Web Communications Inc. All Rights Reserved .BDLFSFMͷ5XJMJP࿈ܞػೳ
Λͬͨࣗಈൃݺ ,%%*Σϒίϛϡχέʔγϣϯζ 5XJMJPࣄۀ෦ɹߴڮࠀݾ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved 2
ࣗݾհ খग़ൣ ,8$5XJMJPࣄۀ෦ ౷ׅऀ ߴڮࠀݾ ,8$5XJMJPࣄۀ෦ ιϦϡʔγϣϯΞʔΩςΫτ +FGG-BXTPO 5XJMJP*OD $&0
© 2009 - 2014 Twilio, Inc. All rights reserved. ΞδΣϯμ
Twilioͷ͝հ ࣗಈՍి ࣗಈՍిͷύλʔϯ Ұ੪ண৴ͷσβΠϯύλʔϯ ॱ࣍ண৴ͷσβΠϯύλʔϯ ࣗಈՍిͷҙϙΠϯτ ϒϥβɺChrome͘͠FirefoxΛ ͝ར༻͍ͩ͘͞ɻ ՍిઌͷܞଳిΛ͝४උ͍ͩ͘͞ɻ ϝϞாͳͲɺίϐϖ͕Ͱ͖ΔΞϓϦΛ͝ ༻ҙ͍ͩ͘͞ɻ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved 5XJMJPͷ͝հ
© 2009 - 2014 Twilio, Inc. All rights reserved. Twilioͱ
ʮτΡΠϦΦʯͱൃԻ͠·͢ɻ 2008͔ΒαʔϏεΛ։࢝ 2013ʹຊͰͷαʔϏε։࢝ શੈքͰͷ։ൃऀ͕100ສਓΛಥഁ ʢ2016ʣ χϡʔϤʔΫূ݊औҾॴʹIPO ʢ2016/6/29ʣ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved 5XJMJP͕Ͱ͖Δ͜ͱ
ిͷ௨ɺి͔ Βͷண৴ΛϓϩάϥϚϒ ϧʹ੍ޚ͢Δ͜ͱ͕Ͱ͖ ·͢ɻ ϒϥβεϚʔτϑΥ ϯͷ7P*1ΞϓϦΛͬ ͯɺԻ௨Λ࣮ݱͰ͖ ·͢ɻ ϓϩάϥϜΛͬͯ4.4 Λૹ৴ͨ͠Γɺ4.4Λ ड͚औͬͨΓ͢Δ͜ͱ͕ Ͱ͖·͢ɻ
ߏྫ VoIP Client AP Server Core Service +VoIP GW SMS
Copyright (C) KDDI Web Communications Inc. All Rights Reserved 8
ެऺిͷൃ৴ʢ3FTU"1*ʣ 3FTU"1*Λͬͨൃ৴ʢ/PEFKTʣɻ 1)1ɺ$ɺ+BWBɺ1ZUIPOɺ3VCZͷϔϧύʔϥΠϒϥϦ༻ҙ͞Ε͍ͯ·͢ɻ
3FTU"1*ΛͬͨࣗಈՍి %&.0
5XJ.-ಈࢺ ʻ%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্ʹอଘ ͓ͯ͘͜͠ͱͰ͖·͢ ௨ͷঢ়ଶʢݺग़தɺԠɺதɺਖ਼ৗऴྃʣΛѲ͢Δ͜ͱͰ͖· ͢
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ࣗಈՍిͷύλʔϯ
Ұ੪ಉใ τϦΨʔΛݩʹɺෳͷ࿈བྷઌʹಉ࣌ʹՍి͠·͢ɻ ͜ͷํ๏Ͱɺ͞Βʹز͔ͭͷར༻ύλʔϯ͕͋Γ·͢ɻ Ұண৴ ࠷ॳʹԠͨ͠ਓ͚͕ͩϝοηʔδΛड͚औΔ શһண৴ʢҙʣ ઌʹԠͨ͠ਓ͕͍ͯɺଞͷਓΛݺͼग़͠·͢ɻ શһண৴ʢඞਢʣ શһ͕Ԡ͢Δ·ͰɺՍిΛ܁Γฦ͠·͢ɻ
ॱ࣍ண৴ τϦΨʔΛݩʹɺෳͷ࿈བྷઌʹ̍݅ͣͭՍిɻ௨ৗɺ୭͔͕Ԡͨ͠ ͰɺՍిऴྃ͠·͢ɻ ୭͔Ұਓʹ௨͕͞ΕΕత͕ୡ͞ΕΔ࣌ʹΘΕ·͢ɻ ண৴͢Δॱ൪ܾ·͍ͬͯΔέʔε͕΄ͱΜͲͰ͕͢ɺϥϯυϩϏϯ Ͱண৴ऀΛܾΊ͍ͯ͘ํ๏͋Γ·͢ɻ
Copyright 2013 Twilio Inc. Սిύλʔϯͷબϑϩʔ
Copyright (C) KDDI Web Communications Inc. All Rights Reserved Ұ੪ಉใͷσβΠϯύλʔϯ
Ұ੪ಉใͷσβΠϯύλʔϯ Ұண৴͔ɺશһண৴͔Ͱ࣮ํ๏͕ҟͳΓ·͢ɻ RestAPIͰɺෳͷి൪߸ʹՍిͰ͖·ͤΜ͕ɺTwiMLΛར༻ ͢Δ͜ͱͰҰ੪ಉใ͕ՄೳͰ͢ɻ Ұண৴Ͱ͔ͭɺ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.
5XJ.-#JOTʹΑΔॱ࣍ண৴ Handson 5XJ.-#JOTΛͬͯɺॱ࣍ண৴Λͯ͠Έ·͠ΐ͏ɻ
୭͔͕ग़Δ·Ͱϧʔϓͤ͞Δ ୭͔͕ண৴͢Δ·Ͱൃ৴Λ܁Γฦ͍ͤͨ͠͞߹ ൃ৴ઌͷ࠷ޙʹɺ࠶050൪߸ͷൃ৴Λߦ͍·͢ɻ ಉ࣌ʹɺϧʔϓ͍ͤͨ͞TwiML BinsΛݺͼ͠·͢ɻ μϛʔͷԠϝοηʔδʹϙʔζΛೖΕͯɺҰఆ࣌ؒͰஅͤ͞·͢ɻ ௨ઌ࠷େ̕ݸ·ͰͱͳΓ·͢ɻ
Copyright 2013 Twilio Inc.
ॱ࣍ண৴ʢϧʔϓରԠʣ IUUQRJJUBDPNNPCJMFCJ[JUFNTDBBFEDC
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ࣗಈՍిͷҙϙΠϯτ
ཹक൪ిରࡦ ܞଳిѼͷՍిɺਖ਼ৗऴྃݺͱͳΓ·͢ɻ ൃ৴࣌ͷʮIfMachineʯύϥϝʔλຊͰ͑·ͤΜɻ https://jp.twilio.com/docs/api/rest/making-calles#post IVRΛͬͯఆ͢Δํ๏ʢԿ͔ΩʔΛԡͤ͞Δʣ͕ҰൠతͰ͢ɻ அ͕ͲͪΒ͔ΒߦΘΕ͔ͨͰػցԠ͔Ͳ͏͔Λఆ͢Δ͜ͱͰ͖ ·͢ʢԠϝοηʔδΛΊʹઃఆ͠ɺฉ͍ͨΒஅ͢ΔΑ͏ʹଅ͢ʣɻ
Սిʹؔ͢Δॾҙ 0120/0800ΛؚΉ0AB0ʹൃ৴Ͱ͖·ͤΜʢ050൪߸͔Βͷൃ৴ʣɻ 1ൃ৴/ඵͷ੍ݶ͕͋Γ·͢ɻ ࡂൃੜ࣌ͳͲɺΩϟϦΞଆͷൃ৴ن੍ͷӨڹΛड͚·͢ɻ ཹकి͕डిͨ͠߹ɺਖ਼ৗݺͱͯ͠ՍిઌʹԠͨ͡අ༻͕ൃੜ͠· ͢ɻ ֤ݺͷ௨ऴྃ࣌ʹϙΠϯτ͕Ҿ͖མͱ͞Ε·͢ɻ ۃكʹඇ௨ɺւ֎൪߸Ͱண৴͢Δ͜ͱ͕͋Γ·͢ɻ ଆͰண৴ڋ൱Λͯ͠ɺҾ͖ଓ͖ண৴͢Δ͜ͱ͕͋Γ·͢ɻ