{"id":53,"date":"2019-01-19T21:35:45","date_gmt":"2019-01-19T12:35:45","guid":{"rendered":"https:\/\/scc.kokushin-u.jp\/?p=53"},"modified":"2019-01-19T22:04:43","modified_gmt":"2019-01-19T13:04:43","slug":"asterisk-ivr","status":"publish","type":"post","link":"https:\/\/scc.kokushin-u.jp\/2019\/01\/19\/asterisk-ivr\/","title":{"rendered":"asterisk\u3067IVR(\u81ea\u52d5\u97f3\u58f0\u5fdc\u7b54)\u3092\u69cb\u7bc9\u3059\u308b"},"content":{"rendered":"\n

\u4eca\u5e74\u306b\u5165\u3063\u3066\u304b\u3089\u56fd\u4fe1\u5927\u306e\u4e8b\u52d9\u5ba4\u306e\u96fb\u8a71\u304cIP\u5316\u3057\u305f\u305d\u3046\u3067\u3059\u3002(\u65b0\u3057\u3044\u56fd\u4fe1\u5927\u306e\u96fb\u8a71\u756a\u53f7\u306f050-5438-6933)
IP\u5316\u306b\u3088\u308a\u3001\u305f\u3060\u96fb\u8a71\u6a5f\u3067\u53d7\u3051\u308b\u3060\u3051\u3067\u306f\u306a\u3044\u9ad8\u5ea6\u306a\u96fb\u8a71\u30b5\u30fc\u30d3\u30b9\u3092\u7c21\u5358\u306b\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u81ea\u52d5\u97f3\u58f0\u5fdc\u7b54\u3082\u305d\u306e\u4e00\u3064\u3067\u3059\u3088\u306d\u3002
\u305d\u3053\u3067\u3001\u4e45\u3005\u306b\u3061\u3087\u3063\u3068\u96fb\u8a71\u30cf\u30c3\u30af\u3068\u3044\u3046\u3053\u3068\u81ea\u52d5\u97f3\u58f0\u5fdc\u7b54(Interactive Voice Response, IVR)\u3092\u81ea\u4f5c\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

IVR\u306e\u69cb\u7bc9\u306b\u5fc5\u8981\u306a\u3082\u306e\u306f3\u3064\u3042\u308a\u307e\u3059\u30021\u3064\u306f\u5f53\u7136\u3067\u3059\u304c\u96fb\u8a71\u56de\u7dda\u304c\u5fc5\u8981\u3067\u3059\u3088\u306d\u30022\u3064\u76ee\u3082\u5f53\u7136\u3067\u3059\u304c\u81ea\u52d5\u97f3\u58f0\u5fdc\u7b54\u3067\u6d41\u308c\u308b\u97f3\u58f0\u3067\u3059\u3002\u305d\u3057\u30663\u3064\u76ee\u304cIVR\u3092\u5b9f\u88c5\u3059\u308bPBX\u30b5\u30fc\u30d0\u30fc\u3067\u3059\u3002(PBX\u3063\u3066\u3044\u3046\u306e\u306f\u69cb\u5185\u4ea4\u63db\u6a5f\u306e\u3053\u3068\u3067\u3059\u3002)<\/p>\n\n\n\n

\u96fb\u8a71\u56de\u7dda\u306b\u3064\u3044\u3066\u306fSIP\u3067\u30ec\u30b8\u30b9\u30c8\u3067\u304d\u308b\u56de\u7dda\u304c\u5fc5\u8981\u3067\u3059\u3002NTT\u306e\u3072\u304b\u308a\u96fb\u8a71\u306f\u56fa\u5b9a\u96fb\u8a71\u306e\u756a\u53f7\u306e\u307e\u307eIP\u5316(VoIP)\u3067\u304d\u308b\u306e\u3067\u6709\u540d\u3067\u3059\u306d\u3002\u307e\u305f\u3001050\u756a\u53f7\u306eIP\u96fb\u8a71\u306f\u591a\u6570\u306e\u4f1a\u793e\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u500b\u4eba\u8da3\u5473\u3067\u3061\u3087\u3063\u3068\u96fb\u8a71\u56de\u7dda\u304c\u6b32\u3057\u3044\u5834\u5408\u306f\u697d\u5929\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u30ba\u304b\u63d0\u4f9b\u3057\u3066\u3044\u308bFUSION IP-Phone SMART<\/a>\u3068\u304b\u3044\u3044\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u30b9\u30de\u30db\u306e\u901a\u8a71\u6599\u91d1\u3092\u7bc0\u7d04\u3059\u308b\u306e\u306b\u4fbf\u5229\u306a\u30b5\u30fc\u30d3\u30b9\u3067\u3059\u304c\u3001\u756a\u53f7\u304c\u6708\u984d\u7121\u6599\u3067\u767a\u884c\u3067\u304d\u308b\u306e\u3067\u3042\u308a\u304c\u305f\u3044\u3067\u3059\u3002\u7121\u6599\u3067050\u756a\u53f7\u304c\u6301\u3066\u308b\u30b5\u30fc\u30d3\u30b9\u306f\u4ed6\u306b\u306f050 Free<\/a>\u3068\u304b\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n

\u81ea\u52d5\u97f3\u58f0\u5fdc\u7b54\u3067\u6d41\u3059\u97f3\u58f0\u3067\u3059\u304c\u300121\u4e16\u7d00\u3067\u3059\u304b\u3089\u58f0\u512a\u3084\u30a2\u30ca\u30a6\u30f3\u30b5\u30fc\u306e\u53cb\u9054\u304c\u3044\u306a\u304f\u3066\u3082\u9069\u5f53\u306a\u65b9\u6cd5\u3067\u97f3\u58f0\u5408\u6210\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u3088\u306d\u3002\u3086\u3063\u304f\u308a\u306b\u558b\u3089\u305b\u3066\u3082\u3044\u3044\u3067\u3059\u3057\u3001Google\u7ffb\u8a33\u306e\u8aad\u307f\u4e0a\u3052\u6a5f\u80fd\u3092\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002AWS\u306e\u97f3\u58f0\u5408\u6210\u30b5\u30fc\u30d3\u30b9\u306ePolly\u306a\u3093\u304b\u306f\u5b8c\u5168\u3067\u306f\u306a\u3044\u3067\u3059\u304c\u81ea\u7136\u306b\u8fd1\u3044\u97f3\u58f0\u3092\u5408\u6210\u3067\u304d\u308b\u306e\u3067\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n\n\n\n

\u305d\u3057\u3066\u672c\u984c\u306eIVR\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3067\u3059\u304c\u4e16\u306e\u4e2d\u306b\u306fTwillio\u306a\u3069\u4fbf\u5229\u306a\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308a\u307e\u3059\u304c\u6709\u511f\u3067\u4f01\u696d\u5411\u3051\u3060\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u500b\u4eba\u3067\u306f\u4f7f\u3044\u306b\u304f\u3044\u3067\u3059\u3002\u7121\u6599\u3067\u6e08\u307e\u305b\u308b\u306b\u306f\u81ea\u524d\u306e\u30b5\u30fc\u30d0\u30fc\u3067\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306eIP-PBX\u3067\u3042\u308bAsterisk\u3092\u52d5\u304b\u3059\u306e\u304c\u9244\u677f\u3067\u3059\u3002<\/p>\n\n\n\n

Asterisk\u306e\u5c0e\u5165<\/h2>\n\n\n\n

\u307e\u305a\u3001\u30b5\u30fc\u30d0\u30fc\u306bAsterisk\u3092\u5c0e\u5165\u3057\u307e\u3059\u3002debian\u306a\u3089# apt-get install asterisk\u3067\u4e00\u767a\u3067\u30a4\u30f3\u30b9\u30b3\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n

\u6b21\u306bSIP\u306e\u8a2d\u5b9a\u3067\u3059\u3002\/etc\/asterisk\/sip.conf\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002INF\u30d5\u30a1\u30a4\u30eb\u306e\u8981\u9818\u3067\u8a2d\u5b9a\u3092\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n\n\n\n

\u307e\u305a\u3001\u5fd8\u308c\u305a\u306b\u884c\u3044\u305f\u3044\u306e\u306f\u5916\u90e8\u304b\u3089\u52dd\u624b\u306b\u767a\u4fe1\u3055\u308c\u306a\u3044\u3088\u3046\u30b2\u30b9\u30c8\u767a\u4fe1\u3092\u8a31\u53ef\u3057\u306a\u3044\u3053\u3068\u3067\u3059\u3002[general]\u30bb\u30af\u30b7\u30e7\u30f3\u306ballowguest=no\u3092\u8ffd\u52a0\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n

\u6b21\u306bSIP\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002SIP\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u30ed\u30b0\u30a4\u30f3\u60c5\u5831\u3092\u7528\u610f\u3057\u3066[general]\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002
register => \u30e6\u30fc\u30b6\u30fc:\u30d1\u30b9\u30ef\u30fc\u30c9@\u30c9\u30e1\u30a4\u30f3
\u6b21\u306bsip.conf\u306e\u672b\u5c3e\u306b\u3082\u30a2\u30ab\u30a6\u30f3\u30c8\u60c5\u5831\u3092\u8a18\u8f09\u3057\u307e\u3059\u3002
<\/p>\n\n\n\n[\u9069\u5f53\u306a\u30bb\u30af\u30b7\u30e7\u30f3\u540d]
type=friend
username=\u30e6\u30fc\u30b6\u30fc
fromuser=\u30e6\u30fc\u30b6\u30fc
secret=\u30d1\u30b9\u30ef\u30fc\u30c9
host=\u30c9\u30e1\u30a4\u30f3
fromdomain=\u30c9\u30e1\u30a4\u30f3
context=default
insecure=port,invite
canreinvite=no
disallow=all
allow=ulaw
allow=alaw
dtmfmode=inband
nat=yes<\/p>\n\n\n\n

\u3053\u3093\u306a\u611f\u3058\u3067\u8a18\u8f09\u3057\u307e\u3059\u3002\u3053\u308c\u3067SIP\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a2d\u5b9a\u304c\u3067\u304d\u307e\u3057\u305f\u3002
\u6b21\u306f\u3044\u3088\u3044\u3088\u7740\u4fe1\u5f8c\u306e\u52d5\u4f5c\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002\u3053\u3053\u3067IVR\u3092\u7d44\u307f\u7acb\u3066\u307e\u3059\u3002\/etc\/asterisk\/extensions.conf\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002
IVR\u7528\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u306e\u540d\u524d\u3092\u4eee\u306bmy-ivr\u3068\u3067\u3082\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002
\u307e\u305a\u3001[default]\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u7740\u4fe1\u3057\u305f\u3089my-ivr\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u98db\u3076\u3088\u3046\u306b\u4ee5\u4e0b\u306e\u8a18\u8ff0\u3092\u3057\u307e\u3059\u3002
exten => SIP\u306e\u30e6\u30fc\u30b6\u30fc,1,Goto(my-ivr,s,1)
\u3053\u308c\u306f(SIP\u306e\u30e6\u30fc\u30b6\u30fc)\u3078\u306e\u7740\u4fe1\u306f1\u756a\u76ee\u306bmy-ivr\u30bb\u30af\u30b7\u30e7\u30f3\u306es\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e1\u756a\u76ee\u306b\u98db\u3076\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002<\/p>\n\n\n\n

my-ivr\u30bb\u30af\u30b7\u30e7\u30f3\u3092\u66f8\u3044\u3066\u3044\u304d\u307e\u3059\u3002
IVR\u306e\u6d41\u308c\u306f\u4f8b\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u6d41\u308c\u3067\u69cb\u7bc9\u3059\u308b\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n