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 x Twilio ハンズオン資料
Search
Katsumi Takahashi
December 03, 2016
Business
1
610
Mackerel x Twilio ハンズオン資料
Mackerel の Twilio連携機能を使って、連続架電します。
Katsumi Takahashi
December 03, 2016
Tweet
Share
More Decks by Katsumi Takahashi
See All by Katsumi Takahashi
Introduction of Vonage
mobilebiz
0
15
Vonageハッカソン紹介資料
mobilebiz
0
56
VonageHandson in 岡山
mobilebiz
0
29
kintone がビデオ会議システムになる話
mobilebiz
0
31
リアルタイムコミュニケーションのシステムを設計・運用する際のベストプラクティス
mobilebiz
0
51
Vonage概要 Video API
mobilebiz
0
63
Amazon Chime SDK と Vonage Video API の徹底比較
mobilebiz
0
290
Vonageを使った連続架電フローのご紹介
mobilebiz
0
110
Cloudflare Calls の魅力と可能性
mobilebiz
0
170
Other Decks in Business
See All in Business
バイセルのものさし(Ver. 1.1)
buyselltechnologies
0
200
VANISH STANDARD Company Deck
vstandard
PRO
3
22k
経営組織論〜ソニックガーデンの場合(2024/11版)
kuranuki
0
500
株式会社AGEST紹介資料/AGEST Recruitment
agest_recruit
0
2.2k
株式会社CINC 会社案内/Company introduction
cinchr
6
45k
DeFimans 会社紹介資料 Company Deck
defimans
0
220
3次元データを用いた差分解析による工事発注への取組
tokyo_metropolitan_gov_digital_hr
0
390
メタバースを活用した観光PR
tokyo_metropolitan_gov_digital_hr
0
320
【metimo】「『似合う』を楽しもう。」
hinalin
0
600
ノーコード・ローコストで進めるDX
tokyo_metropolitan_gov_digital_hr
0
410
VISASQ: ABOUT US
eikohashiba
15
460k
都営住宅建替え工事におけるDXの取組
tokyo_metropolitan_gov_digital_hr
0
390
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
4
130
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Facilitating Awesome Meetings
lara
50
6.1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Into the Great Unknown - MozCon
thekraken
32
1.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Building an army of robots
kneath
302
43k
Teambox: Starting and Learning
jrom
133
8.8k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
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ϓϩϞʔγϣϯίʔυʹ͍ͭͯ
2,000ԁͷνϟʔδ͕͞Ε͍ͯ·͢ɻ ར༻نͷϝʔϧΛ͓ૹΓ͠·͢ɻ ܧଓͯ͠ར༻͢ΔํͷΈɺϝʔϧͷฦ৴Λ͓ئ͍͠·͢ɻ 12/12·Ͱʹฦ৴͕ͳ͔ͬͨ߹ɺΞΧϯτΛΫϩʔζ͍ͤͯͨͩ͞ ͖·͢ɻ
© 2009 - 2014 Twilio, Inc. All rights reserved. ΞδΣϯμ
Twilioͷ͝հ ࣗಈՍి ࣗಈՍిͷύλʔϯ Ұ੪ண৴ͷσβΠϯύλʔϯ ॱ࣍ண৴ͷσβΠϯύλʔϯ ࣗಈՍిͷҙϙΠϯτ
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
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ͰఆٛͰ͖·͢ ௨ͷঢ়ଶʢݺग़தɺԠɺதɺਖ਼ৗऴྃʣΛѲͰ͖·͢
3FTU"1*ΛͬͨࣗಈՍి %&.0
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ࣗಈՍిͷύλʔϯ
Ұ੪ಉใ τϦΨʔΛݩʹɺෳͷ࿈བྷઌʹಉ࣌ʹՍి͠·͢ɻ ͜ͷํ๏Ͱɺ͞Βʹز͔ͭͷར༻ύλʔϯ͕͋Γ·͢ɻ Ұண৴ ࠷ॳʹԠͨ͠ਓ͚͕ͩϝοηʔδΛड͚औΔ શһண৴ʢҙʣ ઌʹԠͨ͠ਓ͕͍ͯɺଞͷਓΛݺͼग़͠·͢ɻ શһண৴ʢඞਢʣ શһ͕Ԡ͢Δ·ͰɺՍిΛ܁Γฦ͠·͢ɻ
ॱ࣍ண৴ τϦΨʔΛݩʹɺෳͷ࿈བྷઌʹ̍݅ͣͭՍిɻ௨ৗɺ୭͔͕ԠԼ ͰɺՍిऴྃ͠·͢ɻ ୭͔Ұਓʹ௨͕͞ΕΕత͕ୡ͞ΕΔ࣌ʹΘΕ·͢ɻ ண৴͢Δॱ൪ܾ·͍ͬͯΔέʔε͕΄ͱΜͲͰ͕͢ɺϥϯυϩϏϯ Ͱண৴ऀΛܾΊ͍ͯ͘ํ๏͋Γ·͢ɻ
Copyright 2013 Twilio Inc. ύλʔϯͷબ๏
Copyright (C) KDDI Web Communications Inc. All Rights Reserved Ұ੪ಉใͷσβΠϯύλʔϯ
Ұ੪ಉใͷσβΠϯύλʔϯ Ұண৴͔ɺશһண৴͔Ͱ࣮ํ๏͕ҟͳΓ·͢ɻ Ұண৴Ͱ͔ͭɺ10໊ҎͰͷӡ༻Ͱ͋ΕɺTwiML͚ͩʢϢʔβଆͷ Twilio࿈ܞ༻αʔόʔ͕ෆཁʣͰରԠ͢Δ͜ͱ͕Ͱ͖·͕͢ɺ11໊Ҏ্ͷ ӡ༻ɺ͘͠શһண৴ͷ߹ʹɺϓϩάϥϜʹͯରԠ͕ඞཁͱͳΓ ·͢ɻ
TwiML͚ͩͰରԠ͢Δ ࣍ϖʔδͷϑϩʔΛࢀর ҙ Ұண৴ͷΈʹରԠ͍ͯ͠·͢ɻ ൃ৴ઌʹࢦఆͰ͖ΔͷɺPSTN͔Clientͷ͍ͣΕ͔Ͱ͢ɻ ྻڍͰ͖Δ൪߸ɺ࠷େ10ݸ·ͰͰ͢ɻ
Copyright 2013 Twilio Inc.
Copyright (C) KDDI Web Communications Inc. All Rights Reserved ॱ࣍ண৴ͷσβΠϯύλʔϯ
ॱ࣍ண৴ͷσβΠϯύλʔϯ ୭͔Ұਓ͕Ԡ͢ΕɺՍిऴྃ͠·͢ɻ 10໊ҎͰ͋ΕɺTwiML͚ͩʢϢʔβଆͷTwilio࿈ܞ༻αʔόʔ͕ෆ ཁʣͰରԠ͕ՄೳͰ͕͢ɺ11໊Ҏ্Ͱӡ༻͢Δ߹ɺϓϩάϥϜ͕ ඞཁͰ͢ɻ
TwiML͚ͩͰରԠ͢Δ ඇެ։ύϥϝʔλʮ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ൃ৴/ඵͷ੍ݶ͕͋Γ·͢ɻ ࡂൃੜ࣌ͳͲɺΩϟϦΞଆͷൃ৴ن੍ͷӨڹΛड͚·͢ɻ ཹकి͕डిͨ͠߹ɺਖ਼ৗݺͱͯ͠ՍిઌʹԠͨ͡අ༻͕ൃੜ͠· ͢ɻ ֤ݺͷ௨ऴྃ࣌ʹϙΠϯτ͕Ҿ͖མͱ͞Ε·͢ɻ ۃكʹඇ௨ɺւ֎൪߸Ͱண৴͢Δ͜ͱ͕͋Γ·͢ɻ ଆͰண৴ڋ൱Λͯ͠ɺҾ͖ଓ͖ண৴͢Δ͜ͱ͕͋Γ·͢ɻ