problema de acesso a interface do asterisk gui 2.0

1. problema de acesso a interface do asterisk gui 2.0

Rodrigo
rodrigo_old

(usa Outra)

Enviado em 28/03/2017 - 19:02h

Galera Boa Noite!
Instalei a versão 1.6 do asterisk para teste com dahdi e libpri, funcionou legal, porém estou com uma dificuldade que é a seguinte:
Estou tentando instalar a gui 2.0 que é como se fosse a interface do asterisk para manipular ura, canais sip, voicemail, enfim...
Porém segui todo o processo de instalação mas não consigo bater na interface.

cd /usr/src
pacote completo:
svn co http://svn.asterisk.org/svn/asterisk-gui/branches/2.0
Instalar Asterisk GUI
cd 2.0/
./configure
make
make install

Pelo jeito a instalação funcionou:

root@debian:/usr/src/2.0# make checkconfig
--- Checking Asterisk configuration to see if it will support the GUI ---
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
--- Everything looks good ---
* GUI should be available at http://debian:80/asterisk/static/config/index.html

* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.

Example: http://localhost:80/asterisk/static/config/index.html

* The login and password should be an entry from /etc/asterisk/manager.conf
which has 'config' permission in read and write. For example:

[admin]
secret = senha_De_acesso
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config

--- Good luck! ---
root@debian:/usr/src/2.0#

O que acontece que não está batendo na interface nos navegadores.
OBS: não existe firewall na rede então acredito não ser bloqueio, estou realizando o teste de outras máquinas dentro da rede, pois subi um VM com o Debian 8 sem interface.

O IP que estou jugando no navegador é o IP fixo da VM: http://192.168.100.215:80/asterisk/static/config/index.html , mas nada.
Já tentei mudar a porta no manenger.conf era 8088 e setar o IP na mão tanto no maneger.conf quanto http.conf mais nada, gostaria de uma sugestão da galera que entende pois não sei mais o que fazer.



  


2. Re: problema de acesso a interface do asterisk gui 2.0

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 31/03/2017 - 01:30h

rodrigo_old escreveu:

Galera Boa Noite!
Instalei a versão 1.6 do asterisk para teste com dahdi e libpri, funcionou legal, porém estou com uma dificuldade que é a seguinte:
Estou tentando instalar a gui 2.0 que é como se fosse a interface do asterisk para manipular ura, canais sip, voicemail, enfim...
Porém segui todo o processo de instalação mas não consigo bater na interface.

cd /usr/src
pacote completo:
svn co http://svn.asterisk.org/svn/asterisk-gui/branches/2.0
Instalar Asterisk GUI
cd 2.0/
./configure
make
make install

Pelo jeito a instalação funcionou:

root@debian:/usr/src/2.0# make checkconfig
--- Checking Asterisk configuration to see if it will support the GUI ---
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
--- Everything looks good ---
* GUI should be available at http://debian:80/asterisk/static/config/index.html

* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.

Example: http://localhost:80/asterisk/static/config/index.html

* The login and password should be an entry from /etc/asterisk/manager.conf
which has 'config' permission in read and write. For example:

[admin]
secret = senha_De_acesso
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config

--- Good luck! ---
root@debian:/usr/src/2.0#

O que acontece que não está batendo na interface nos navegadores.
OBS: não existe firewall na rede então acredito não ser bloqueio, estou realizando o teste de outras máquinas dentro da rede, pois subi um VM com o Debian 8 sem interface.

O IP que estou jugando no navegador é o IP fixo da VM: http://192.168.100.215:80/asterisk/static/config/index.html , mas nada.
Já tentei mudar a porta no manenger.conf era 8088 e setar o IP na mão tanto no maneger.conf quanto http.conf mais nada, gostaria de uma sugestão da galera que entende pois não sei mais o que fazer.


Tente assim:

http://localhost:80/asterisk/static/config/index.html

ou

http://localhost:8088/asterisk/static/config/index.html


Ou :Porta como tenha mudado.
Se não acessou, execute e poste a saída aqui:


sudo netstat -nltp

#-------------------------------------------------------------------------------------#

"Linux is cool"


3. teste

Rodrigo
rodrigo_old

(usa Outra)

Enviado em 04/04/2017 - 09:19h

Bom Dia Colegas!

Tentei dessa maneira e nada;

root@debian:/usr/src/2.0# make checkconfig
--- Checking Asterisk configuration to see if it will support the GUI ---
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
--- Everything looks good ---
* GUI should be available at http://debian:8088/asterisk/static/config/index.html

* Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf
you will only be able to visit it from the local machine.

Example: http://localhost:8088/asterisk/static/config/index.html

* The login and password should be an entry from /etc/asterisk/manager.conf
which has 'config' permission in read and write. For example:

[admin]
secret = mysecret1418
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config

--- Good luck! ---
root@debian:/usr/src/2.0#



Mostra como se estivesse ok.

Meus respectivos arquivos.conf estão da seguinte maneira:

manenger.conf

[general]
enabled = yes
webenabled = yes
port = 5038
httptimeout = 60
bindaddr = 0.0.0.0

[admin]
secret = secret
read = system,call,log,verbose,agent,user,config,dtmf,reporting,cdr,dialplan
write = system,call,agent,user,config,command,reporting,originate

=================================================================================================
http.conf:

[general]
enabled = yes
enablestatic = yes
bindaddr=0.0.0.0
bindport=8088

Dahdi linux, dahdi tools , libpri, todas as dependências estão instaladas há mais alguma coisa que possa impactar nisso?




4. Re: problema de acesso a interface do asterisk gui 2.0

Carlos A. P. Cunha
Carlos_Cunha

(usa Linux Mint)

Enviado em 04/04/2017 - 12:11h

Poste o que lhe pedi no outro post.
#-------------------------------------------------------------------------------------#

"Linux is cool"






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts