返回列表 發帖

QNAP TS-269 Pro 安装Asterisk GUI从source code开始

本帖最後由 角色 於 2012-9-3 00:17 編輯

应为用ipkg的Asterisk GUI不太好,现在用SVN的source code开始看看,效果是否好一些。

参考 Link

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

备用帖子。

TOP

本帖最後由 角色 於 2012-9-3 00:27 編輯

cd /opt/source
svn checkout http://svn.digium.com/svn/asterisk-gui/trunk asterisk-gui

svn checkout后,source code就在asterisk-gui folder。
  1. [/opt/source/asterisk-gui] # ls
  2. COPYING                config/                missing*
  3. CREDITS                config.guess*          other/
  4. LICENSE                config.sub*            providers.conf.sample
  5. Makefile               configure*             requests.txt
  6. README                 configure.ac           scripts/
  7. acinclude.m4           developer_info/        security.txt
  8. bootstrap.sh*          install-sh*
  9. build_tools/           makeopts.in
複製代碼

TOP

  1. [/opt/source/asterisk-gui] # ./configure --prefix=/opt
  2. checking build system type... x86_64-unknown-linux-gnu
  3. checking host system type... x86_64-unknown-linux-gnu
  4. checking for uname... /bin/uname
  5. checking for gcc... gcc
  6. checking for C compiler default output file name... a.out
  7. checking whether the C compiler works... yes
  8. checking whether we are cross compiling... no
  9. checking for suffix of executables...
  10. checking for suffix of object files... o
  11. checking whether we are using the GNU C compiler... yes
  12. checking whether gcc accepts -g... yes
  13. checking for gcc option to accept ISO C89... none needed
  14. checking how to run the C preprocessor... gcc -E
  15. checking for a BSD-compatible install... /usr/bin/install -c
  16. checking for GNU make... make
  17. checking for basename... /usr/bin/basename
  18. checking for ZT_TONE_DTMF_BASE in zaptel/zaptel.h... no
  19. checking for ZT_DIAL_OP_CANCEL in zaptel.h... no
  20. checking for mandatory modules: ... ok
  21. configure: creating ./config.status
  22. config.status: creating makeopts

  23.                .$$$$$$$$=..
  24.             .$7$7..          .7$7:.
  25.           .$:.                 ,$7.7
  26.         .$7.     7$$           .$77
  27.      ..$.       $$$            .$$7
  28.     ..7$   .?.   $$$   .?.       7$$.
  29.    $.$.   .$$7. $$7 .7$$.      .$$.
  30. .777.   .$$$77$$77$$$7.      $$,
  31. $$~      .7$$$$$$$7.       .$$.
  32. .$7          .7$$$$7:          ?$$.
  33. $$          ?7$$$$$I        .$$7
  34. $$       .7$$$$$$$$      :$$.
  35. $$       $$$7$$$$$$    .$$.
  36. $$        $$   7$$7  .$$    .$$.
  37. $$             $$7         .$$.
  38. 7$$7            7$$        7$$
  39. $$$                        $$
  40.   $$7.                       $  (TM)
  41.    $$$$.           .7$$$  $
  42.      $$$$$$7$$$$$.$$$
  43.        $$$$$$$$.

  44. configure: Package configured for:
  45. configure: OS type  : linux-gnu
  46. configure: Host CPU : x86_64
  47. [/opt/source/asterisk-gui] #
複製代碼

TOP

  1. [/opt/source/asterisk-gui] # make
  2. +------- Asterisk-GUI Build Complete -------+
  3. + Asterisk-GUI has successfully been built, +
  4. + and can be installed by running:          +
  5. +                                           +
  6. +               make install                +
  7. +-------------------------------------------+
  8. [/opt/source/asterisk-gui] #
複製代碼

TOP

本帖最後由 角色 於 2012-9-3 00:39 編輯
  1. [/opt/source/asterisk-gui] # make install
  2. mkdir -p /etc/asterisk
  3. Installing into /var/lib/asterisk/static-http
  4. mkdir -p /var/lib/asterisk/static-http/config
  5. mkdir -p /var/lib/asterisk/static-http/config/images
  6. mkdir -p /var/lib/asterisk/static-http/config/js
  7. mkdir -p /var/lib/asterisk/static-http/config/private/bkps
  8. mkdir -p /var/lib/asterisk/static-http/config/stylesheets
  9. mkdir -p /var/lib/asterisk/scripts



  10. mkdir -p /var/lib/asterisk/gui_backups
  11. config/images/1.gif  -->  /var/lib/asterisk/static-http/config/images/
  12. config/images/aa50.png  -->  /var/lib/asterisk/static-http/config/images/
  13. config/images/accordion-icon.gif  -->  /var/lib/asterisk/static-http/config/images/
  14. config/images/add.gif  -->  /var/lib/asterisk/static-http/config/images/
  15. config/images/ngt.jpg  -->  /var/lib/asterisk/static-http/config/images/
  16. config/timeintervals.html  -->  /var/lib/asterisk/static-http/config
  17. config/timezone.html  -->  /var/lib/asterisk/static-http/config
  18. config/trunks_analog.html  -->  /var/lib/asterisk/static-http/config
  19. config/trunks_digital.html  -->  /var/lib/asterisk/static-http/config
  20. config/trunks_providers.html  -->  /var/lib/asterisk/static-http/config
  21. config/trunks_sps.html  -->  /var/lib/asterisk/static-http/config
  22. config/trunks_voip.html  -->  /var/lib/asterisk/static-http/config
  23. config/update_phonefirmware.html  -->  /var/lib/asterisk/static-http/config
  24. config/upload2.html  -->  /var/lib/asterisk/static-http/config
  25. config/upload_abe_overlay.html  -->  /var/lib/asterisk/static-http/config
  26. config/upload_form.html  -->  /var/lib/asterisk/static-http/config
  27. config/users.html  -->  /var/lib/asterisk/static-http/config
  28. config/vmgroups.html  -->  /var/lib/asterisk/static-http/config
  29. config/voicemail.html  -->  /var/lib/asterisk/static-http/config
  30. config/welcome.html  -->  /var/lib/asterisk/static-http/config
  31. config/index_redirect.html  --> /var/lib/asterisk/static-http/index.html
  32. scripts/detectdahdi.sh  -->  /var/lib/asterisk/scripts/
  33. scripts/dldsoundpack  -->  /var/lib/asterisk/scripts/
  34. scripts/editmisdn.sh  -->  /var/lib/asterisk/scripts/
  35. scripts/editzap.sh  -->  /var/lib/asterisk/scripts/
  36. scripts/listfiles  -->  /var/lib/asterisk/scripts/
  37. scripts/mastercsvexists  -->  /var/lib/asterisk/scripts/
  38. scripts/rebootsystem.sh  -->  /var/lib/asterisk/scripts/
  39. scripts/registerg729.sh  -->  /var/lib/asterisk/scripts/
  40. scripts/restorebackup  -->  /var/lib/asterisk/scripts/
  41. scripts/takebackup  -->  /var/lib/asterisk/scripts/

  42. +---- Asterisk GUI Installation Complete ---+
  43. +                                           +
  44. +    YOU MUST READ THE SECURITY DOCUMENT    +
  45. +                                           +
  46. + Asterisk-GUI has successfully been        +
  47. + installed.                                +
  48. +                                           +
  49. +-------------------------------------------+
  50. +                                           +
  51. +          BEFORE THE GUI WILL WORK         +
  52. +                                           +
  53. + Before the GUI will run, you must perform +
  54. + some modifications to the Asterisk        +
  55. + configuration files in accordance with    +
  56. + the README file.  When done, you can      +
  57. + check your changes by doing:              +
  58. +                                           +
  59. +               make checkconfig            +
  60. +                                           +
  61. +-------------------------------------------+
  62. [/opt/source/asterisk-gui] #
複製代碼

TOP

返回列表