{"id":313,"date":"2012-03-24T09:03:09","date_gmt":"2012-03-24T12:03:09","guid":{"rendered":"http:\/\/blog.abratel.com.br\/?p=313"},"modified":"2012-03-24T09:03:09","modified_gmt":"2012-03-24T12:03:09","slug":"asterisk","status":"publish","type":"post","link":"https:\/\/blog.abratel.com.br\/?p=313","title":{"rendered":"Asterisk"},"content":{"rendered":"<p>1 &#8211; apt-get upgrade<br \/>\n2 &#8211; apt-get install build-essential libcurl4-openssl-dev libvorbis-dev<br \/>\nlibspeex-dev unixodbc unixodbc-dev libiksemel-dev flex xsltproc make<br \/>\ngcc linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev<br \/>\nlibusb-dev subversion git-core git-svn php5 libcurl4-openssl-dev<br \/>\nphp5-mysql php-pear php5-gd php5-cli openssl libssl-dev libasound2-dev<br \/>\nlibc6-dev libnewt-dev libncurses5-dev zlib1g-dev mysql-server<\/p>\n<p>INSTALA\u00c7\u00c3O DO DAHDI<\/p>\n<p>http:\/\/downloads.asterisk.org\/pub\/telephony\/dahdi-linux-complete\/releases\/<\/p>\n<p>cd \/usr\/src<br \/>\nDownload dahdi complete do site asterisk.org<\/p>\n<p>Descompactar e entrar na pasta<br \/>\nAp\u00f3s entrar na pasta \/linux<br \/>\n.\/configure<br \/>\nmake<br \/>\nmake install<\/p>\n<p>Descompactar e entrar na pasta<br \/>\nAp\u00f3s entrar na pasta \/tools<br \/>\n.\/configure<br \/>\nmake<br \/>\nmake install<\/p>\n<p>Para que inicie no boot do linux:<\/p>\n<p>make config<\/p>\n<p>Para inicia-lo manualmente:<\/p>\n<p>\/etc\/init.d\/dahdi start<\/p>\n<p>\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026..<\/p>\n<p>Instalando a Libpri<\/p>\n<p>Download libpri do site asterisk.org<br \/>\nDescompactar entrar no diretorio<br \/>\nmake<br \/>\nmake install<\/p>\n<p>\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026\u2026..<\/p>\n<p>Agora podemos iniciar a instala\u00e7\u00e3o do Asterisk<\/p>\n<p>Download do site asterisk.org,<br \/>\nDescompactar entrar no diretorio<br \/>\n.\/configure<br \/>\nmake menuselect<\/p>\n<p>aparecer\u00e1 algo parecido<br \/>\nNesse menu podemos selecionar todos os m\u00f3dulos que desejamos que o<br \/>\nAsterisk instale.<br \/>\nPara sair presionamos a tecla \u201cesc\u201d. Podemos navegar entre os varios<br \/>\nmenus para selecionar\/deselecionar os m\u00f3dulos.<\/p>\n<p>Agora podemos compilar e instalar o Asterisk<\/p>\n<p>make<br \/>\nmake install<\/p>\n<p>Instalamos os exemplos dos arquivos de configura\u00e7\u00e3o<\/p>\n<p>make samples<\/p>\n<p>Se decidirmos que o Asterisk deve iniciar com o boot do linux<\/p>\n<p>make config<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1 &#8211; apt-get upgrade 2 &#8211; apt-get install build-essential libcurl4-openssl-dev libvorbis-dev libspeex-dev unixodbc unixodbc-dev libiksemel-dev flex xsltproc make gcc linux-headers-`uname -r` g++ libncurses5-dev libnewt-dev libusb-dev subversion git-core git-svn php5 libcurl4-openssl-dev php5-mysql php-pear php5-gd php5-cli openssl libssl-dev libasound2-dev libc6-dev libnewt-dev libncurses5-dev zlib1g-dev mysql-server INSTALA\u00c7\u00c3O DO DAHDI&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/313"}],"collection":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=313"}],"version-history":[{"count":0,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=\/wp\/v2\/posts\/313\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=313"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=313"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.abratel.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=313"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}