Asterisk 13.2.0 current.tar.gz安装步骤详解

来源:互联网 发布:淘宝怎样发布二手宝贝? 编辑:程序博客网 时间:2024/06/03 05:07

关于asterisk 13.2.0 的安装步骤:


1) ./configure

Execute the configure script to guess values for system-dependent
variables used during compilation.

执行./configure命令后,方可知您的系统还需要安装哪些依赖包。

2) make menuselect [optional]

This is needed if you want to select the modules that will be compiled and to
check dependencies for various optional modules.

如果需要选择相应的模块,则执行该命令,当模块选择完成后,重新配置,执行第一步。


3) make

Assuming the build completes successfully.

确保能够编译通过。


4) make install

  If this is your first time working with Asterisk, you may wish to install

the sample PBX, with demonstration extensions, etc.  If so, run:

如果时第一次使用Asterisk开展您的工作,您肯定希望安装一些PBX示例,或者demo与扩展模块,所以,您最好运行该命令即第5步骤。


5) make samples

  Doing so will overwrite any existing configuration files you have installed.

  Finally, you can launch Asterisk in the foreground mode (not a daemon) with:

执行后会覆盖一些在安装Asterisk时已经存在的配置文件。现在,您可以通过输入"asterisk -vvvc"命令让Asterisk运行在前台即控制台模式了(非daemon)。


# asterisk -vvvc

  You'll see a bunch of verbose messages fly by your screen as Asterisk
initializes (that's the "very very verbose" mode).  When it's ready, if
you specified the "c" then you'll get a command line console, that looks
like this:
 看到如下提示即可,“c”参数表示控制台(console),如下所示:
*CLI>

  You can type "core show help" at any time to get help with the system.  For help
with a specific command, type "core show help <command>".  To start the PBX using
your sound card, you can type "console dial" to dial the PBX.  Then you can use
"console answer", "console hangup", and "console dial" to simulate the actions
of a telephone.  Remember that if you don't have a full duplex sound card
(and Asterisk will tell you somewhere in its verbose messages if you do/don't)
then it won't work right (not yet).

  "man asterisk" at the Unix/Linux command prompt will give you detailed
information on how to start and stop Asterisk, as well as all the command
line options for starting Asterisk.

  Feel free to look over the configuration files in /etc/asterisk, where you

will find a lot of information about what you can do with Asterisk.

这些说明详见Asterisk相关操作说明。

1 0