[AsteriskBrasil] Duvidas na Instalação do Asterisk-GUI
Flavio A. Reis
reis.falexandre em gmail.com
Terça Março 3 13:34:16 BRT 2015
Prezados,
boa tarde.
Vejam se podem me ajudar.
Hoje uso a versão 1,6 do Asterisk:
*# asterisk -v*
Asterisk 1.6.2.9-2+squeeze12, Copyright (C) 1999 - 2010 Digium, Inc. and
others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it
under
certain conditions. Type 'core show license' for details.
=========================================================================
Privilege escalation protection disabled!
See https://wiki.asterisk.org/wiki/x/1gKfAQ for more details.
Asterisk already running on /var/run/asterisk/asterisk.ctl. Use 'asterisk
-r' to connect.
root at fokker:/usr/src/2.0/config#
Estou agora tentando instalar o Asterisk-GUI Fiz os seguintes procedimentos:
Baixei o pacote
*~/2.0# ./configure *
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for uname... /bin/uname
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for GNU make... make
checking for basename... /usr/bin/basename
checking for ZT_TONE_DTMF_BASE in zaptel/zaptel.h... no
checking for ZT_DIAL_OP_CANCEL in zaptel.h... no
checking for mandatory modules: ... ok
configure: creating ./config.status
config.status: creating makeopts
.$$$$$$$$$$$$$$$=..
.$7$7.. .7$$7:.
.$$:. ,$7.7
.$7. 7$$$$ .$$77
..$$. $$$$$ .$$$7
..7$ .?. $$$$$ .?. 7$$$.
$.$. .$$$7. $$$$7 .7$$$. .$$$.
.777. .$$$$$$77$$$77$$$$$7. $$$,
$$$~ .7$$$$$$$$$$$$$7. .$$$.
.$$7 .7$$$$$$$7: ?$$$.
$$$ ?7$$$$$$$$$$I .$$$7
$$$ .7$$$$$$$$$$$$$$$$ :$$$.
$$$ $$$$$$7$$$$$$$$$$$$ .$$$.
$$$ $$$ 7$$$7 .$$$ .$$$.
$$$$ $$$$7 .$$$.
7$$$7 7$$$$ 7$$$
$$$$$ $$$
$$$$7. $$ (TM)
$$$$$$$. .7$$$$$$ $$
$$$$$$$$$$$$7$$$$$$$$$.$$$$$$
$$$$$$$$$$$$$$$$.
configure: Package configured for:
configure: OS type : linux-gnu
configure: Host CPU : i686
*~/2.0# make*
+------- Asterisk-GUI Build Complete -------+
+ Asterisk-GUI has successfully been built, +
+ and can be installed by running: +
+ +
+ make install +
+-------------------------------------------+
*~/2.0# make install*
mkdir -p /etc/asterisk
Installing into /var/lib/asterisk/static-http
mkdir -p /var/lib/asterisk/static-http/config
mkdir -p /var/lib/asterisk/static-http/config/images
mkdir -p /var/lib/asterisk/static-http/config/js
mkdir -p /var/lib/asterisk/static-http/config/private/bkps
mkdir -p /var/lib/asterisk/static-http/config/stylesheets
mkdir -p /var/lib/asterisk/scripts
mkdir -p /var/lib/asterisk/gui_backups
config/images/1.gif --> /var/lib/asterisk/static-http/config/images/
config/images/aa50.png --> /var/lib/asterisk/static-http/config/images/
config/images/accordion-icon.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/add.gif --> /var/lib/asterisk/static-http/config/images/
config/images/adv-v.gif --> /var/lib/asterisk/static-http/config/images/
config/images/agent_busy.png -->
/var/lib/asterisk/static-http/config/images/
config/images/agent_loggedin.png -->
/var/lib/asterisk/static-http/config/images/
config/images/agent_loggedout.png -->
/var/lib/asterisk/static-http/config/images/
config/images/agent_ringing.png -->
/var/lib/asterisk/static-http/config/images/
config/images/ar_down.png --> /var/lib/asterisk/static-http/config/images/
config/images/ar_right.png -->
/var/lib/asterisk/static-http/config/images/
config/images/arrow_blank.png -->
/var/lib/asterisk/static-http/config/images/
config/images/arrow_down.png -->
/var/lib/asterisk/static-http/config/images/
config/images/arrow_up.png -->
/var/lib/asterisk/static-http/config/images/
config/images/asterisk-arrow-down.png -->
/var/lib/asterisk/static-http/config/images/
config/images/asterisk-arrow-up.png -->
/var/lib/asterisk/static-http/config/images/
config/images/asterisk_green.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/asterisk_red.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/bandwidth.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/cancel.gif --> /var/lib/asterisk/static-http/config/images/
config/images/checkbox_blank.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/delete.gif --> /var/lib/asterisk/static-http/config/images/
config/images/delete_circle.png -->
/var/lib/asterisk/static-http/config/images/
config/images/digiumlogo.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/dots.gif --> /var/lib/asterisk/static-http/config/images/
config/images/down_arr.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/edit.gif --> /var/lib/asterisk/static-http/config/images/
config/images/favicon.ico --> /var/lib/asterisk/static-http/config/images/
config/images/home.png --> /var/lib/asterisk/static-http/config/images/
config/images/iaxtel.jpg --> /var/lib/asterisk/static-http/config/images/
config/images/loading.gif --> /var/lib/asterisk/static-http/config/images/
config/images/ngt.jpg --> /var/lib/asterisk/static-http/config/images/
config/images/panel.png --> /var/lib/asterisk/static-http/config/images/
config/images/refresh.png --> /var/lib/asterisk/static-http/config/images/
config/images/simplesignal.jpg -->
/var/lib/asterisk/static-http/config/images/
config/images/slice-v.gif --> /var/lib/asterisk/static-http/config/images/
config/images/split-v.gif --> /var/lib/asterisk/static-http/config/images/
config/images/status_blue.png -->
/var/lib/asterisk/static-http/config/images/
config/images/status_gray.png -->
/var/lib/asterisk/static-http/config/images/
config/images/status_green.png -->
/var/lib/asterisk/static-http/config/images/
config/images/status_orange.png -->
/var/lib/asterisk/static-http/config/images/
config/images/status_red.png -->
/var/lib/asterisk/static-http/config/images/
config/images/tick.gif --> /var/lib/asterisk/static-http/config/images/
config/images/title_gradient.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/tooltip_info.gif -->
/var/lib/asterisk/static-http/config/images/
config/images/voicepulse.gif -->
/var/lib/asterisk/static-http/config/images/
config/js/astgui.js --> /var/lib/asterisk/static-http/config/js/
config/js/astman.js --> /var/lib/asterisk/static-http/config/js/
config/js/astman2.js --> /var/lib/asterisk/static-http/config/js/
config/js/backup.js --> /var/lib/asterisk/static-http/config/js/
config/js/bulkadd.js --> /var/lib/asterisk/static-http/config/js/
config/js/callingrules.js --> /var/lib/asterisk/static-http/config/js/
config/js/cdr.js --> /var/lib/asterisk/static-http/config/js/
config/js/dialplans.js --> /var/lib/asterisk/static-http/config/js/
config/js/effects.core.js --> /var/lib/asterisk/static-http/config/js/
config/js/effects.highlight.js -->
/var/lib/asterisk/static-http/config/js/
config/js/features.js --> /var/lib/asterisk/static-http/config/js/
config/js/feditor.js --> /var/lib/asterisk/static-http/config/js/
config/js/flashupdate.js --> /var/lib/asterisk/static-http/config/js/
config/js/followme.js --> /var/lib/asterisk/static-http/config/js/
config/js/gtalk.js --> /var/lib/asterisk/static-http/config/js/
config/js/hardware.js --> /var/lib/asterisk/static-http/config/js/
config/js/hardware_aa50.js --> /var/lib/asterisk/static-http/config/js/
config/js/hardware_dahdi.js --> /var/lib/asterisk/static-http/config/js/
config/js/iax.js --> /var/lib/asterisk/static-http/config/js/
config/js/incoming.js --> /var/lib/asterisk/static-http/config/js/
config/js/index.js --> /var/lib/asterisk/static-http/config/js/
config/js/jquery.autocomplete.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.date_input.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.delegate-1.1.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.fixedheader.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.js --> /var/lib/asterisk/static-http/config/js/
config/js/jquery.tablesorter.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.tablesorter.pager.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.tooltip.js --> /var/lib/asterisk/static-http/config/js/
config/js/jquery.ui.core.js --> /var/lib/asterisk/static-http/config/js/
config/js/jquery.ui.draggable.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.ui.sortable.js -->
/var/lib/asterisk/static-http/config/js/
config/js/jquery.ui.tabs.js --> /var/lib/asterisk/static-http/config/js/
config/js/log.js --> /var/lib/asterisk/static-http/config/js/
config/js/meetme.js --> /var/lib/asterisk/static-http/config/js/
config/js/menuprompts_record.js -->
/var/lib/asterisk/static-http/config/js/
config/js/menuprompts_upload.js -->
/var/lib/asterisk/static-http/config/js/
config/js/menus.js --> /var/lib/asterisk/static-http/config/js/
config/js/misdn.js --> /var/lib/asterisk/static-http/config/js/
config/js/mohfiles.js --> /var/lib/asterisk/static-http/config/js/
config/js/networking.js --> /var/lib/asterisk/static-http/config/js/
config/js/object.customs.js --> /var/lib/asterisk/static-http/config/js/
config/js/paging.js --> /var/lib/asterisk/static-http/config/js/
config/js/pbx.js --> /var/lib/asterisk/static-http/config/js/
config/js/pbx2.js --> /var/lib/asterisk/static-http/config/js/
config/js/preferences.js --> /var/lib/asterisk/static-http/config/js/
config/js/queues.js --> /var/lib/asterisk/static-http/config/js/
config/js/registerg729.js --> /var/lib/asterisk/static-http/config/js/
config/js/ringgroups.js --> /var/lib/asterisk/static-http/config/js/
config/js/session.js --> /var/lib/asterisk/static-http/config/js/
config/js/sip.js --> /var/lib/asterisk/static-http/config/js/
config/js/status.js --> /var/lib/asterisk/static-http/config/js/
config/js/sysinfo.js --> /var/lib/asterisk/static-http/config/js/
config/js/timeintervals.js --> /var/lib/asterisk/static-http/config/js/
config/js/timezone.js --> /var/lib/asterisk/static-http/config/js/
config/js/tooltip.js --> /var/lib/asterisk/static-http/config/js/
config/js/trunks_analog.js --> /var/lib/asterisk/static-http/config/js/
config/js/trunks_digital.js --> /var/lib/asterisk/static-http/config/js/
config/js/trunks_providers.js --> /var/lib/asterisk/static-http/config/js/
config/js/trunks_sps.js --> /var/lib/asterisk/static-http/config/js/
config/js/trunks_voip.js --> /var/lib/asterisk/static-http/config/js/
config/js/users.js --> /var/lib/asterisk/static-http/config/js/
config/js/vmgroups.js --> /var/lib/asterisk/static-http/config/js/
config/js/voicemail.js --> /var/lib/asterisk/static-http/config/js/
config/js/welcome.js --> /var/lib/asterisk/static-http/config/js/
config/stylesheets/cfgbasic.css -->
/var/lib/asterisk/static-http/config/stylesheets/
config/stylesheets/schwing.css -->
/var/lib/asterisk/static-http/config/stylesheets/
config/stylesheets/tables.css -->
/var/lib/asterisk/static-http/config/stylesheets/
config/stylesheets/ui-tabs.css -->
/var/lib/asterisk/static-http/config/stylesheets/
config/asterisklogs.html --> /var/lib/asterisk/static-http/config
config/backup.html --> /var/lib/asterisk/static-http/config
config/blank.html --> /var/lib/asterisk/static-http/config
config/bulkadd.html --> /var/lib/asterisk/static-http/config
config/callingrules.html --> /var/lib/asterisk/static-http/config
config/cdr.html --> /var/lib/asterisk/static-http/config
config/cfgbasic.html --> /var/lib/asterisk/static-http/config
config/cli.html --> /var/lib/asterisk/static-http/config
config/date.html --> /var/lib/asterisk/static-http/config
config/dialplans.html --> /var/lib/asterisk/static-http/config
config/digital.html --> /var/lib/asterisk/static-http/config
config/directory.html --> /var/lib/asterisk/static-http/config
config/emailsettings.html --> /var/lib/asterisk/static-http/config
config/features.html --> /var/lib/asterisk/static-http/config
config/feditor.html --> /var/lib/asterisk/static-http/config
config/flashupdate.html --> /var/lib/asterisk/static-http/config
config/flipadvanced.html --> /var/lib/asterisk/static-http/config
config/followme.html --> /var/lib/asterisk/static-http/config
config/gtalk.html --> /var/lib/asterisk/static-http/config
config/guialert.html --> /var/lib/asterisk/static-http/config
config/hardware.html --> /var/lib/asterisk/static-http/config
config/hardware_aa50.html --> /var/lib/asterisk/static-http/config
config/hardware_dahdi.html --> /var/lib/asterisk/static-http/config
config/home.html --> /var/lib/asterisk/static-http/config
config/iax.html --> /var/lib/asterisk/static-http/config
config/incoming.html --> /var/lib/asterisk/static-http/config
config/index.html --> /var/lib/asterisk/static-http/config
config/language.html --> /var/lib/asterisk/static-http/config
config/meetme.html --> /var/lib/asterisk/static-http/config
config/menuprompts_record.html --> /var/lib/asterisk/static-http/config
config/menuprompts_upload.html --> /var/lib/asterisk/static-http/config
config/menus.html --> /var/lib/asterisk/static-http/config
config/misdn.html --> /var/lib/asterisk/static-http/config
config/mohfiles.html --> /var/lib/asterisk/static-http/config
config/networking.html --> /var/lib/asterisk/static-http/config
config/paging.html --> /var/lib/asterisk/static-http/config
config/password.html --> /var/lib/asterisk/static-http/config
config/preferences.html --> /var/lib/asterisk/static-http/config
config/queues.html --> /var/lib/asterisk/static-http/config
config/reboot.html --> /var/lib/asterisk/static-http/config
config/registerg729.html --> /var/lib/asterisk/static-http/config
config/reset_defaults.html --> /var/lib/asterisk/static-http/config
config/ringgroups.html --> /var/lib/asterisk/static-http/config
config/sip.html --> /var/lib/asterisk/static-http/config
config/skype.html --> /var/lib/asterisk/static-http/config
config/smtp_settings.html --> /var/lib/asterisk/static-http/config
config/status.html --> /var/lib/asterisk/static-http/config
config/sysinfo.html --> /var/lib/asterisk/static-http/config
config/timeintervals.html --> /var/lib/asterisk/static-http/config
config/timezone.html --> /var/lib/asterisk/static-http/config
config/trunks_analog.html --> /var/lib/asterisk/static-http/config
config/trunks_digital.html --> /var/lib/asterisk/static-http/config
config/trunks_providers.html --> /var/lib/asterisk/static-http/config
config/trunks_sps.html --> /var/lib/asterisk/static-http/config
config/trunks_voip.html --> /var/lib/asterisk/static-http/config
config/update_phonefirmware.html --> /var/lib/asterisk/static-http/config
config/upload2.html --> /var/lib/asterisk/static-http/config
config/upload_abe_overlay.html --> /var/lib/asterisk/static-http/config
config/upload_form.html --> /var/lib/asterisk/static-http/config
config/users.html --> /var/lib/asterisk/static-http/config
config/vmgroups.html --> /var/lib/asterisk/static-http/config
config/voicemail.html --> /var/lib/asterisk/static-http/config
config/welcome.html --> /var/lib/asterisk/static-http/config
config/index_redirect.html --> /var/lib/asterisk/static-http/index.html
scripts/detectdahdi.sh --> /var/lib/asterisk/scripts/
scripts/dldsoundpack --> /var/lib/asterisk/scripts/
scripts/editmisdn.sh --> /var/lib/asterisk/scripts/
scripts/editzap.sh --> /var/lib/asterisk/scripts/
scripts/listfiles --> /var/lib/asterisk/scripts/
scripts/mastercsvexists --> /var/lib/asterisk/scripts/
scripts/rebootsystem.sh --> /var/lib/asterisk/scripts/
scripts/registerg729.sh --> /var/lib/asterisk/scripts/
scripts/restorebackup --> /var/lib/asterisk/scripts/
scripts/takebackup --> /var/lib/asterisk/scripts/
+---- Asterisk GUI Installation Complete ---+
+ +
+ YOU MUST READ THE SECURITY DOCUMENT +
+ +
+ Asterisk-GUI has successfully been +
+ installed. +
+ +
+-------------------------------------------+
+ +
+ BEFORE THE GUI WILL WORK +
+ +
+ Before the GUI will run, you must perform +
+ some modifications to the Asterisk +
+ configuration files in accordance with +
+ the README file. When done, you can +
+ check your changes by doing: +
+ +
+ make checkconfig +
+ +
+-------------------------------------------+
*~/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://meu-ip: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 = mysecret7531
read = system,call,log,verbose,command,agent,config
write = system,call,log,verbose,command,agent,config
--- Good luck! ---
Ao terminar fiz um checklist com o netstat e achei a porta 8088
*# netstat -putan | grep 8088*
tcp 0 0 192.168.0.99:8088 0.0.0.0:*
LISTEN 1599/asterisk
Porem ao Acessar o navegador, diz que nao existe.
Procurei e achei em /var/lib/asterisk/static-http
Fiz um apontamento dentro do apache ( virtualhost )
Achei que tinha dado certo, pois abre a tela de login,
mas não da nada...
Ha, fiz as alterações no manager.conf e no http.conf
Desde já agradeço a todos
*Att,*
*--------------------------------------------------------------------------------------------------------------*
*Flávio Alexandre dos Reis*
*lattes: ** http://lattes.cnpq.br/8127371814764184
<http://lattes.cnpq.br/8127371814764184>*
*Linux user #**572715*
*"Como não sabia que era impossível, foi lá e fez !!!"*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20150303/28ee14e7/attachment-0001.html>
Mais detalhes sobre a lista de discussão AsteriskBrasil