Page 14 of 17 FirstFirst ... 41213141516 ... LastLast
Results 196 to 210 of 248

Thread: Установка и настройка asterisk на роутере

  1. #196
    Join Date
    Oct 2009
    Posts
    529
    Blog Entries
    1
    Quote Originally Posted by slka View Post
    1) Конечно смущает, но я не нашел другой инструкции как ставить asterisk
    ...
    3) кстати и ее обновил сегодня до 1.9.2.7-rtn-r4051
    На современно прошивке рекомендую воспользоваться новым репозиторием (инструкцию по ссылке применять при уже смонтированном накопителе в /opt)
    После подключения репозитория
    Code:
    $ opkg install asterisk18
    $ opkg install ...нужные...модули...астериска...

  2. #197
    Друзья, подскажите почему у меня не идет команда
    wget http://wl500g-repo.googlecode.com/sv...are_install.sh с первого поста темы?
    Code:
    #!/bin/sh
    
    echo Info: Checking for prerequisites and creating folders...
    for folder in bin etc include lib sbin share tmp usr var
    do
      if [ -d "/opt/$folder" ]
      then
        echo Warning: Folder /opt/$folder exists!
        echo Warning: If something goes wrong please clean /opt folder and try again.
      else
        mkdir /opt/$folder
      fi
    done
    [ -d "/opt/lib/opkg" ] || mkdir -p /opt/lib/opkg
    [ -d "/opt/var/lock" ] || mkdir -p /opt/var/lock
    [ -d "/opt/var/log" ] || mkdir -p /opt/var/log
    [ -d "/opt/var/run" ] || mkdir -p /opt/var/run
    
    echo Info: Opkg package manager deployment...
    cd /opt/bin
    wget http://wl500g-repo.googlecode.com/svn/ipkg/opkg
    chmod +x /opt/bin/opkg
    cd /opt/etc
    wget http://wl500g-repo.googlecode.com/files/opkg.conf
    
    echo Info: Basic packages installation...
    /opt/bin/opkg update
    /opt/bin/opkg install uclibc-opt
    
    echo Info: Cleanup...
    if [ -e "/opt/entware_install.sh" ]
    then
      rm -f /opt/entware_install.sh
    fi
    
    echo Info: Congratulations!
    echo Info: If there are no errors above then Entware successfully initialized.
    echo Info: Found a Bug? Please report at wl500g-repo.googlecode.com
    Или дайте пошаговую инструкцию (если есть такая) по установке asterisk на RT-N16
    Спасибо.
    Last edited by Omega; 27-08-2012 at 23:28. Reason: fixed

  3. #198
    Join Date
    Oct 2009
    Posts
    529
    Blog Entries
    1
    Quote Originally Posted by slka View Post
    Друзья, подскажите почему у меня не идет команда
    wget http://wl500g-repo.googlecode.com/sv...are_install.sh
    Если обнародуете как именно "не идет команда" (скопируете сюда вывод консоли при ошибке), то вероятность получить помощь станет отличной от нуля.

  4. #199
    Quote Originally Posted by MercuryV View Post
    Если обнародуете как именно "не идет команда" (скопируете сюда вывод консоли при ошибке), то вероятность получить помощь станет отличной от нуля.
    Вы хотите сказать, что у вас идет? По моему это команда скачать, но там ничего не качается.

  5. #200
    Join Date
    Oct 2009
    Posts
    529
    Blog Entries
    1
    Quote Originally Posted by slka View Post
    Вы хотите сказать, что у вас идет? По моему это команда скачать, но там ничего не качается.
    Code:
    $ wget http://wl500g-repo.googlecode.com/svn/ipkg/entware_install.sh
    --2012-05-12 20:55:28--  http://wl500g-repo.googlecode.com/svn/ipkg/entware_install.sh
    Resolving wl500g-repo.googlecode.com... 209.85.173.82
    Connecting to wl500g-repo.googlecode.com|209.85.173.82|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 387 [text/plain]
    Saving to: `entware_install.sh'
    
    100%[==============================================================================>] 387         --.-K/s   in 0s
    
    2012-05-12 20:55:29 (2.62 MB/s) - `entware_install.sh' saved [387/387]

  6. #201
    Quote Originally Posted by lokus View Post
    ryzhov_al
    Скомпилируйте пожалуйста asterisk-gui...
    Готово.
    Пожалуйста, отпишитесь по результатам использования.

    Для запуска asterisk-gui мне понадобилось:
    1. Установить пакеты:
    Code:
    $ opkg install asterisk18 asterisk-gui asterisk18-app-system asterisk18-chan-local
    2. Отредактировать два конфига в соответствии с README:
    Code:
    $ cat /opt/etc/asterisk/http.conf
    [general]
    enabled = yes
    enablestatic = yes
    
    $ cat /opt/etc/asterisk/manager.conf
    ...
    [general]
    enabled = yes
    webenabled = yes
    ...
    [admin]
    secret = P@ssw0rd
    read = system,call,log,verbose,command,agent,config,read,write,originate
    write = system,call,log,verbose,command,agent,config,read,write,originate
    3. Запустить asterisk и зайти по адресу:
    Code:
    http://myrouter:8088/static/config/index.html
    используя учётные данные admin/P@ssw0rd.
    Last edited by ryzhov_al; 27-08-2012 at 13:14. Reason: Для меня Asterisk - это чёрный ящик

  7. #202
    Join Date
    Oct 2009
    Posts
    529
    Blog Entries
    1
    На linksysinfo.org появилось подтверждение работоспособности asterisk-gui из Entware под томато.

  8. #203

    Entware's Asterisk18

    Может ли кто отписаться по работоспособности функций COUNT_GROUP/GROUP здесь? Для меня это тёмный лес.

  9. #204
    Quote Originally Posted by ryzhov_al View Post
    Готово.
    Пожалуйста, отпишитесь по результатам использования.

    Для запуска asterisk-gui мне понадобилось:
    1. Установить пакеты:
    Code:
    $ opkg install asterisk18 asterisk-gui asterisk18-app-system asterisk18-chan-local
    2. Отредактировать два конфига в соответствии с README:
    Code:
    $ cat /opt/etc/asterisk/http.conf
    [general]
    enabled = yes
    enablestatic = yes
    
    $ cat /opt/etc/asterisk/manager.conf
    ...
    [general]
    enabled = yes
    webenabled = yes
    ...
    [admin]
    secret = P@ssw0rd
    read = system,call,log,verbose,command,agent,config,read,write,originate
    write = system,call,log,verbose,command,agent,config,read,write,originate
    3. Запустить asterisk и зайти по адресу:
    Code:
    http://myrouter:8088/static/config/index.html
    используя учётные данные admin/P@ssw0rd.

    Привет всем. Так все же как поставить Asterisk GUI на роутер с прошивкой 1.9.2.7-rtn-r3702 ?
    Смог поставить Asterisk, но без веб интерфейса мне настроить крайне тяжело. Поделитесь, ходом установке

  10. #205
    Подскажите, плз, Asterisk после перезагрузки роутера должен автоматически стартовать?

    И, у кого-нибудь asterisk gui c asterisk работает?
    asterisk-gui - 2.1.0-rc1-1
    asterisk18 - 1.8.17.0-1
    У меня http://my-router:8088/asterisk/static/config/index.html показывает только футер и процесс загрузки страницы не заканчивается.
    Asus RT-N16 1.9.2.7-rtn-r4051 | Asus O!Play Air 1.09P | Synology DS210j - 2xWD20EADS

  11. #206
    Коллеги, минимальные телодвижения для работы asterisk-gui я приводил. Дальше всё зависит от вашей способоности всё правильно сконфигурировать.

  12. #207
    Спасибо за пост, но вчера все перечитал...в т.ч. и на хабре...настройки конфигов даже разные использовал....не получается зайти на вэб сервер. 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#
    Last edited by Omega; 17-11-2012 at 00:46. Reason: fixed

  13. #208
    Несколько offtop (но не знаю где еще посмотреть/спросить) - с помощью asteriks, установленном на rt-n16, удастся сделать переадресацию звонка на мобильный?
    Кстати, а на SIP телефоны смс-ки принимаются? Если да, то можно ли переадресовывать и их?

    Все-таки как сделать так, что Астерикс при ребуте роутера сам поднимался?
    echo "/opt/sbin/asterisk" >> /usr/local/sbin/post-mount
    flashfs save && flashfs commit && flashfs enable && reboot
    почему-то не работает... и, т.к. астериск на роутер поставлен, то никакие порты пробрасывать не надо?
    Перечитал всю тему.. вопрос автоматического старта не поднимался. Но должно же быть какое-то совсем простое решение?
    Last edited by Omega; 24-11-2012 at 18:08. Reason: fixed
    Asus RT-N16 1.9.2.7-rtn-r4051 | Asus O!Play Air 1.09P | Synology DS210j - 2xWD20EADS

  14. #209

    Asterisk gui на RT-N16

    Сделал рекомендуемые настройки, запускаю:
    #asterisk -c

    Пробую коннектиться через браузер:
    http://192.168.1.254:8088/static/config/index.html

    Asterisk тут же падает:

    Asterisk Ready.
    *CLI> Segmentation fault

  15. #210

    Периодически вылетает ASTERISK + chanDongle на WL500Pv2

    Добрый день
    Маршрутизатор ASUS WL-500GpV2
    Прошивка WL500gpv2-1.9.2.7-rtn-r4667.trx
    Активный USBHub Dlink DUB-H7, флешка на 8Гб, 4 модема Huawei 1550.
    Установленные пакеты
    Code:
    [admin@WL-BCAEC5C3D736 root]$ opkg list_installed
    asterisk-gui - 2.1.0-rc1-1
    asterisk18 - 1.8.10.1-4
    asterisk18-app-system - 1.8.10.1-4
    asterisk18-chan-dongle - r28-1
    asterisk18-chan-local - 1.8.10.1-4
    asterisk18-codec-alaw - 1.8.10.1-4
    asterisk18-res-agi - 1.8.10.1-4
    asterisk18-res-musiconhold - 1.8.10.1-4
    asterisk18-sounds - 1.8.10.1-4
    e2fsprogs - 1.42.4-1
    findutils - 4.5.10-1
    glib2 - 2.26.1-3
    ldconfig - 0.9.32-4
    libblkid - 2.21.2-1
    libc - 0.9.32-4
    libcom_err - 1.42.4-1
    libext2fs - 1.42.4-1
    libgcc - 4.6.3-4
    libiconv-full - 1.11.1-1
    libintl-full - 0.18.1.1-2
    libncurses - 5.7-6a
    libopenssl - 1.0.1c-1
    libpopt - 1.7-5
    libpthread - 0.9.32-4
    librt - 0.9.32-4
    libslang2 - 2.2.4-1
    libstdcpp - 4.6.3-4
    libuuid - 2.21.2-1
    mc - 4.8.6-1
    terminfo - 5.7-6a
    uclibc-opt - 0.9.32-3
    zlib - 1.2.7-1
    [admin@WL-BCAEC5C3D736 root]$
    Проблема 1) AsteriskGUI таки рушит астериск при обращении к вебинтерфейсу.
    Проблема 2)Периодически вылетает asterisk при звонках на GSM. Вылетает без каких-либо объяснений.
    Помогите если есть мысли.
    Как можно выяснить причину креша ?

Page 14 of 17 FirstFirst ... 41213141516 ... LastLast

Similar Threads

  1. Установка и настройка Quagga на роутере
    By mymp in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 149
    Last Post: 02-09-2016, 15:21
  2. Установка и настройка 3proxy/tinyproxy server на роутере
    By n0isy in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 144
    Last Post: 19-04-2015, 21:46
  3. [QoS] Установка и настройка nShaper
    By Iguana in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 829
    Last Post: 14-05-2014, 11:38
  4. [HOW-TO] Установка и настройка ownCloud на роутере
    By ryzhov_al in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 6
    Last Post: 11-08-2013, 19:53
  5. Установка и настройка ipkg на роутере
    By FilimoniC in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 250
    Last Post: 06-12-2008, 07:37

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •