Спасибо за пост, но вчера все перечитал...в т.ч. и на хабре...настройки конфигов даже разные использовал....не получается зайти на вэб сервер. http://192.168.2.1:8088/static/config/index.html не открывается. логи прилагаю:
Code:
Using username "root".
root@192.168.2.1's password:
Send automatic password
Tomato v1.28.0000 MIPSR2-102 K26 USB AIO
root@Router:/tmp/home/root# asterisk -r
Asterisk 1.8.10.1, Copyright (C) 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer <markster@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.
=========================================================================
Connected to Asterisk 1.8.10.1 currently running on Router (pid = 1501)
Router*CLI> http show status
HTTP Server Status:
Prefix:
Server Enabled and Bound to 127.0.0.1:8088
Enabled URI's:
/httpstatus => Asterisk HTTP General Status
/amanager => HTML Manager Event Interface w/Digest authentication
/arawman => Raw HTTP Manager Event Interface w/Digest authentication
/manager => HTML Manager Event Interface
/rawman => Raw HTTP Manager Event Interface
/static/... => Asterisk HTTP Static Delivery
/amxml => XML Manager Event Interface w/Digest authentication
/mxml => XML Manager Event Interface
Enabled Redirects:
None.
Router*CLI>
настройки sda2\optware\etc\asterisk\manager.conf
Code:
[general]
enabled = yes
webenabled = yes
[admin]
secret = 123456
read = system,call,log,verbose,command,agent,config,read,write,originate
write = system,call,log,verbose,command,agent,config,read,write,originate
настройки sda2\optware\etc\asterisk\http.conf
Code:
[general]
enabled=yes
enablestatic=yes
#bindaddr=0.0.0.0 # allow GUI to be accessible from all IP addresses.
bindaddr=127.0.0.1 # require access from the machine Asterisk is running on
bindport=8088
установлено:
Code:
Using username "root".
root@192.168.2.1's password:
Send automatic password
Tomato v1.28.0000 MIPSR2-102 K26 USB AIO
root@Router:/tmp/home/root# opkg list_installed
alsa-lib - 1.0.24.1-1
asterisk-gui - 2.1.0-rc1-1
asterisk18 - 1.8.10.1-4
asterisk18-app-system - 1.8.10.1-4
asterisk18-chan-local - 1.8.10.1-4
asterisk18-chan-mobile - 1.8.10.1-4
bluez-libs - 3.36-3
cal - 2.21.2-1
findutils - 4.5.10-1
glib2 - 2.26.1-3
ldconfig - 0.9.32-4
libapr - 1.4.5-2
libaprutil - 1.3.12-2
libaudiofile - 0.2.7-1
libbz2 - 1.0.6-1
libc - 0.9.32-4
libcurl - 7.23.1-1
libexpat - 2.0.1-1
libfaad2 - 2.7-1
libffmpeg-full - 0.8.7-2
libflac - 1.2.1-1
libgcc - 4.6.3-4
libiconv-full - 1.11.1-1
libid3tag - 0.15.1b-3
libintl-full - 0.18.1.1-2
liblua - 5.1.5-1
libmad - 0.15.1b-3
libmms - 0.6-1
libmpdclient - 2.4-1
libmysqlclient - 5.1.53-7
libncurses - 5.7-6a
libncursesw - 5.7-6a
libogg - 1.1.4-2
libopenssl - 1.0.1c-1
libpcre - 8.11-2
libpopt - 1.7-5
libpthread - 0.9.32-4
libreadline - 6.2-1
librpc - 0.9.32-rc2-0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7
librt - 0.9.32-4
libshout - 2.2.2-2
libslang2 - 2.2.4-1
libsndfile - 1.0.25-2
libspeex - 1.2rc1-1
libsqlite3 - 3071201-1
libstdcpp - 4.6.3-4
libtheora - 1.0-3
libuuid - 2.21.2-1
libvorbis - 1.2.3-1
libvorbisidec - 1.0.2+svn14261-1
libxml2 - 2.7.8-2
lighttpd - 1.4.30-3
lighttpd-mod-access - 1.4.30-3
lighttpd-mod-evhost - 1.4.30-3
lighttpd-mod-proxy - 1.4.30-3
lighttpd-mod-status - 1.4.30-3
lighttpd-mod-webdav - 1.4.30-3
lynx - 2.8.7rel.2-1
mc - 4.8.3-1
mini-httpd-htpasswd - 1.19-1
mpc - 0.20-1
mysql-server - 5.1.53-7
perl - 5.10.0-7
php5 - 5.4.5-3
php5-cgi - 5.4.5-3
php5-fastcgi - 5.4.5-3
php5-mod-mysqli - 5.4.5-3
terminfo - 5.7-6a
uclibc-opt - 0.9.32-3
uclibcxx - 0.2.4-1
vim-full - 7.3-1
vsftpd-ext - 3.0.2-1
wget - 1.14-1
xupnpd - 327-1
zlib - 1.2.7-1
root@Router:/tmp/home/root#