{"id":872,"date":"2021-01-16T08:25:53","date_gmt":"2021-01-15T23:25:53","guid":{"rendered":"http:\/\/systemdev.comsys-blog.com\/?p=872"},"modified":"2021-01-16T08:25:53","modified_gmt":"2021-01-15T23:25:53","slug":"centos7-asterisk-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/tamura.jp\/?p=872","title":{"rendered":"CentOS7 asterisk \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>#!\/bin\/bash<\/p>\n<p>yum -y update<br \/>\nyum install -y dnf-plugins-core<\/p>\n<p>yum install -y wget gcc gcc-c++ make bzip2 patch libedit-devel uuid-devel libuuid-devel libxml2-devel sqlite sqlite-devel nano openssl openssl-devel<br \/>\nyum install -y libxml2 libxml2-devel openssl-devel ncurses-devel sqlite-devel newt-devel libuuid-devel uuid-devel libedit-devel<br \/>\nyum install -y json-c json-c-devel<\/p>\n<p>cd \/usr\/src\/<br \/>\nwget https:\/\/downloads.asterisk.org\/pub\/telephony\/asterisk\/asterisk-18-current.tar.gz<br \/>\ntar -xzf asterisk-18*<br \/>\ncd asterisk-18.*<\/p>\n<p>contrib\/scripts\/install_prereq install<br \/>\n.\/configure &#8211;with-jansson-bundled<\/p>\n<p>make menuselect<br \/>\nmake<br \/>\nmake all<br \/>\nmake install<br \/>\nmake samples<br \/>\nmake config<\/p>\n<p>systemctl start asterisk<br \/>\nsystemctl enable asterisk<\/p>\n<p>asterisk -crvvvvvvvvvv<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#!\/bin\/bash yum -y update yum install -y dnf-plugins-core yum install -y wget gcc gcc-c++ make bzip2 patch lib [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,19,46],"tags":[],"class_list":["post-872","post","type-post","status-publish","format-standard","hentry","category-asterisk","category-19","category-46"],"_links":{"self":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/872","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=872"}],"version-history":[{"count":0,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/872\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=872"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=872"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=872"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}