<div dir="ltr">Para Debian<br><a href="http://www.sneplivre.com.br/downloads/Manual/Manual_instalacao_SNEP-20.pdf">http://www.sneplivre.com.br/downloads/Manual/Manual_instalacao_SNEP-20.pdf</a><br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">Em 1 de abril de 2013 08:56, Jerson Luiz de Paula Júnior <span dir="ltr"><<a href="mailto:jersonjunior@bsd.com.br" target="_blank">jersonjunior@bsd.com.br</a>></span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Para Slackware!<br><br>########################Oslec############################################################<br>cd /usr/src<br>wget <a href="http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-current.tar.gz</a><br>
tar -zxvf dahdi-linux-complete-current.tar.gz<br>cd dahdi-linux-complete-2.6.1+2.6.1/<br>ln -s dahdi-linux-complete-2.6.2+2.6.2/ dahdi<br>mkdir /usr/src/dahdi/linux/drivers/staging<br>cp -fR /usr/src/linux-3.2.29/drivers/staging/echo /usr/src/dahdi/linux/drivers/staging<br>
sed -i "s|#obj-m += dahdi_echocan_oslec.o|obj-m += dahdi_echocan_oslec.o|" /usr/src/dahdi/linux/drivers/dahdi/Kbuild<br>sed -i "s|#obj-m += ../staging/echo/|obj-m += ../staging/echo/|" /usr/src/dahdi/linux/drivers/dahdi/Kbuild<br>
echo 'obj-m += echo.o' > /usr/src/dahdi/linux/drivers/staging/echo/Kbuild<br>cd /usr/src/dahdi/<br>make<br>make install<br>cd ..<br>##########################################Libpri###########################################<br>
wget <a href="http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4-current.tar.gz</a><br>tar -zxvf ibpri/libpri-1.4-current.tar.gz<br>
cd libpri-1.4.14<br>make<br>make install<br>cd ..<br>#######################Compilar Asterisk e os addons#########################################<br>wget <a href="http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8-current.tar.gz</a><br>
tar xvf asterisk-1.8-current.tar.gz<br>cd asterisk-1.8.20.1<br>./configure<br>make<br>make install<br>########################Mysql Configuração################################################<br>mysql_install_db <br>chown -R mysql.mysql /var/lib/mysql <br>
chmod +x /etc/rc.d/rc.mysqld<br>/etc/rc.d/rc.mysqld start<br>mysqladmin -u root password "sua senha"<br>mysql_secure_installation <br><br>###########################Apache e PHP##################################################<br>
vi /etc/httpd/httpd.conf<br>- Procure a linha #Include /etc/httpd/mod_php.conf e tire o # da frente<br>-Procure por:<br> <IfModule dir_module><br> DirectoryIndex index.html<br> </IfModule><br> - E mude para<br>
<IfModule dir_module><br> DirectoryIndex index.html index.php<br> </IfModule><br> - Saia e salve :wq!<br><br>Modulo PHP: <br><br># Uncomment the following line to enable PHP:<br>#<br>#Include /etc/httpd/mod_php.conf<br>
<br>- Descomentar a linha acima:<br><br>Php.ini:<br><br> vi /etc/httpd/php.ini<br> - Procure por register_globals Off, e mude para On<br> - Procure por register_argv_argc Off, e mude para On<br> - Procure por short_open_tag=Off, e mude para On <br>
- Saia e salve :wq!<br><br>Instalar e configurar o Snep:<br>cd /usr/src<br>wget <a href="http://sourceforge.net/projects/snep/files/snep/stable/snep-2.0.tar.bz2/download" target="_blank">http://sourceforge.net/projects/snep/files/snep/stable/snep-2.0.tar.bz2/download</a><br>
mv download snep-2.0.tar.bz2<br>tar xvf snep-2.0.tar.bz2<br>cp -a snep-2.0 /var/www/htdocs/snep<br>ln -s /var/www/htdocs/snep/ /var/www/snep<br>cd /var/www/snep/install/etc<br>cp -arf asterisk /etc<br>cd /etc<br>chown -R apache.apache asterisk/<br>
<br>Nesta parte na instalação padrao do snep iriamos passar as configurações de ODBC para o asterisk, porem nesta instalação eu não uso ODBC pois meu asterisk já conecta diretamente no MySQL <br>através do Asterisk-Addons.<br>
<br>cd /etc/asterisk<br>rm cdr_odbc.conf res_odbc.conf<br>vi cdr_mysql.conf<br> <br>[global]<br> hostname=localhost<br> dbname=snep25<br> table=cdr<br> password=sneppass<br> user=snep<br> port=3306<br> sock=/var/run/mysql/mysql.sock<br>
<br># vi res_mysql.conf<br> <br>[general]<br> dbhost = localhost<br> dbname = snep25<br> dbuser = snep<br> dbpass = sneppass<br> dbport = 3306<br> dbsock = /var/run/mysql/mysql.sock<br><br># cd /var/www/htdocs<br># chown -R apache.apache snep<br>
# chmod -R 775 snep <br># mkdir /var/log/snep <br># cd /var/log/snep <br># touch ui.log /var/log/snep/<br># touch agi.log /var/log/snep/ <br># chown -R apache.apache /var/log/snep/<br># cd /var/lib/asterisk/agi-bin/ <br>
<br>
Integração entre SNEP Livre e Asterisk<br><br># ln -sf /var/www/snep/install/etc/asterisk asterisk <br># mv /var/spool/asterisk/monitor /var/spool/asterisk/monitor.snep <br># ln -sf /var/www/snep/arquivos /var/spool/asterisk/monitor <br>
# ln -sf /var/www/snep/agi /var/lib/asterisk/agi-bin/snep <br><br>Ajuste dos diretórios para o modulo "res_musiconhold" (Músicas de espera):<br><br># mkdir /var/lib/asterisk/moh/tmp <br># mkdir /var/lib/asterisk/moh/backup <br>
# mkdir -p /var/lib/asterisk/moh/snep_1/tmp <br># mkdir -p /var/lib/asterisk/moh/snep_1/backup <br># mkdir -p /var/lib/asterisk/moh/snep_2/tmp <br># mkdir -p /var/lib/asterisk/moh/snep_2/backup <br># mkdir -p /var/lib/asterisk/moh/snep_3/tmp<br>
<br># cd /usr/src <br># wget <a href="http://svn.softwarepublico.gov.br/trac/snep/browser/trunk/asterisk-sounds.tgz" target="_blank">http://svn.softwarepublico.gov.br/trac/snep/browser/trunk/asterisk-sounds.tgz</a> <br># wget -c <a href="http://jaist.dl.sourceforge.net/project/disc-os/Disc-OS%20Sounds/1.0-RELEASE/Disc-OS-Sounds-1.0-pt_BR.tar.gz" target="_blank">http://jaist.dl.sourceforge.net/project/disc-os/Disc-OS%20Sounds/1.0-RELEASE/Disc-OS-Sounds-1.0-pt_BR.tar.gz</a><br>
# tar -xvf Disc-OS-Sounds-1.0-pt_BR.tar.gz # mv sounds/pt_BR/ /var/lib/asterisk/sounds/ <br># mkdir -p /var/lib/asterisk/sounds/pt_BR/tmp # mkdir -p /var/lib/asterisk/sounds/tmp <br># mkdir -p /var/lib/asterisk/sounds/pt_BR/backup # mkdir -p /var/lib/asterisk/sounds/backup <br>
# chown apache.apache /var/lib/asterisk/sounds -R # cd /var/www/snep/sounds/ <br># chmod 777 /var/www/snep/sounds/ -R # ln -sf /var/lib/asterisk/moh/ moh <br># ln -sf /var/lib/asterisk/sounds/pt_BR/ pt_BR <br><br><br>Criação de base de dados, usuário e importação de dados:<br>
<br># cd /var/www/snep/install/ <br># mysql -u root -p < database.sql <br># cd /var/www/snep/modules/default/installer <br># mysql -u root -p snep25 < schema.sql <br># mysql -u root -p snep25 < system_data.sql <br>
# mysql -u root -p snep25 < cnl_data.sql<br><br><br>Ajustes<br># cd /var/lib/asterisk/moh<br># chmod 777 /var/lib/asterisk/moh<br># mkdir /var/lib/asterisk/moh/snep_1<br># mkdir /var/lib/asterisk/moh/snep_2<br># mkdir /var/lib/asterisk/moh/snep_3<br>
# chmod 777 /var/lib/asterisk/moh/snep_1<br># chmod 777 /var/lib/asterisk/moh/snep_2<br># chmod 777 /var/lib/asterisk/moh/snep_3<br># cd /var/lib/asterisk/moh/snep_1<br># mkdir tmp backup<br># cd /var/lib/asterisk/moh/snep_2<br>
# mkdir tmp backup<br># cd /var/lib/asterisk/moh/snep_3<br># mkdir tmp backup<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">Em 31 de março de 2013 22:05, jardel oliveira de almeida <span dir="ltr"><<a href="mailto:jardelalmeida@ig.com.br" target="_blank">jardelalmeida@ig.com.br</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br>Galera, preciso instalar uma interface gráfica no asterisk, mas minhas tentativas com o asterisk gui não foram produtivas, alguém que já instalou pode passar um tuto ? <div>
<br></div><div>Outra dúvida é se tem interface gráfica para o asterisk 10, observei que o asterisk gui só vai até a versão 1.8.</div>
<div><br></div><div>Att</div><span><font color="#888888"><div><br></div><div>Jardel Almeida</div></font></span><div><br></div><div>Ps. As distros elastix e freepbx não resolvem o problema, preciso do elastix puro com a interface gráfica.</div>
<br></div></div>_______________________________________________<br>
KHOMP: completa linha de placas externas FXO, FXS, GSM e E1;<br>
Media Gateways de 1 a 64 E1s para SIP com R2, ISDN e SS7;<br>
Intercomunicadores para acesso remoto via rede IP. Conheça em <a href="http://www.Khomp.com" target="_blank">www.Khomp.com</a>.<br>
_______________________________________________<br>
DIGIVOICE Fabricante de Placas de Voz e Channel Bank<br>
20 anos de experiência com E1(R2/ISDN), FXS, FXO e GSM<br>
Centro Treinamento - Curso de PABX IP - Asterisk - Site <a href="http://www.digivoice.com.br" target="_blank">www.digivoice.com.br</a><br>
_______________________________________________<br>
ALIGERA – Fabricante nacional de Gateways SIP-E1 para R2, ISDN e SS7.<br>
Placas de 1E1, 2E1, 4E1 e 8E1 para PCI ou PCI Express.<br>
Channel Bank – Appliance Asterisk - Acesse <a href="http://www.aligera.com.br" target="_blank">www.aligera.com.br</a>.<br>
_______________________________________________<br>
Para remover seu email desta lista, basta enviar um email em branco para <a href="mailto:asteriskbrasil-unsubscribe@listas.asteriskbrasil.org" target="_blank">asteriskbrasil-unsubscribe@listas.asteriskbrasil.org</a><br></blockquote>
</div>
<br></div>
</blockquote></div><br></div>