{"id":868,"date":"2021-01-13T09:59:01","date_gmt":"2021-01-13T00:59:01","guid":{"rendered":"http:\/\/systemdev.comsys-blog.com\/?p=868"},"modified":"2021-01-13T09:59:01","modified_gmt":"2021-01-13T00:59:01","slug":"centos8-asterisk18-%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=868","title":{"rendered":"CentOS8 Asterisk18 \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>#!\/bin\/bash<\/p>\n<p>dnf -y update<\/p>\n<p>dnf install dnf-plugins-core<br \/>\ndnf config-manager &#8211;set-enabled powertools<\/p>\n<p>dnf 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 \/>\ndnf install -y libxml2 libxml2-devel openssl-devel ncurses-devel sqlite-devel newt-devel libuuid-devel uuid-devel libedit-devel<br \/>\ndnf install -y json-c json-c-devel<\/p>\n<p>cd \/usr\/src\/ &amp;&amp; wget https:\/\/github.com\/pjsip\/pjproject\/archive\/2.10.tar.gz<br \/>\ntar xvfz 2.10.tar.gz<br \/>\ncd pjproject-2.10<br \/>\n.\/configure &#8211;prefix=\/usr &#8211;enable-shared &#8211;disable-sound &#8211;disable-resample &#8211;disable-video &#8211;disable-opencore-amr CFLAGS=&#8217;-O2 -DNDEBUG&#8217;<br \/>\nmake dep<br \/>\nmake<br \/>\nmake install<\/p>\n<p>cd ..<\/p>\n<p>cd \/usr\/src\/ &amp;&amp; wget 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>dnf config-manager &#8211;set-disabled powertools<\/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 dnf -y update dnf install dnf-plugins-core dnf config-manager &#8211;set-enabled powertools dnf in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/868","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=868"}],"version-history":[{"count":0,"href":"https:\/\/tamura.jp\/index.php?rest_route=\/wp\/v2\/posts\/868\/revisions"}],"wp:attachment":[{"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tamura.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}