• Asterisk安装


    一、获取asterisk安装包
    wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.0.tar.gz
    后面的版本号可以改变,可以安装的版本可以参考http://downloads.asterisk.org/pub/telephony/asterisk/releases/

    二、解压安装
    1.
     [root@~]# tar -zxvf asterisk-1.6.1.9.tar.gz                      // 解压asterisk安装包

    2.[root@~]# cd asterisk-1.6.1.9                                        // 进入asterisk安装包

    3.[root@asterisk asterisk-1.6.1.9]# ./configure                 // 环境检测和预配置

    4.[root@asterisk asterisk-1.6.1.9]# make clean                //清理旧的编译中间文件 

    5.[root@asterisk asterisk-1.6.1.9]# make all                     // 从新编译所有文件

    +--------- Asterisk Build Complete ---------+
    + Asterisk has successfully been built, and +
    + can be installed by running:              +
    +                                           +
    +                make install               +
    +-------------------------------------------+

    安装到这里软件会提示使用make install 来安装asterisk

    [root@asterisk asterisk-1.6.1.9]# make install                    // 安装asterisk

    +---- Asterisk Installation Complete -------+
    +                                           +
    +    YOU MUST READ THE SECURITY DOCUMENT    +
    +                                           +
    + Asterisk has successfully been installed. +
    + If you would like to install the sample   +
    + configuration files (overwriting any      +
    + existing config files), run:              +
    +                                           +
    +                make samples               +
    +                                           +
    +----------------- or ---------------------+
    +                                           +
    + You can go ahead and install the asterisk +
    + program documentation now or later run:   +
    +                                           +
    +               make progdocs               +
    +                                           +
    + **Note** This requires that you have      +
    + doxygen installed on your local system    +
    +-------------------------------------------+

    [root@asterisk asterisk-1.6.1.9]# make samples                  // 安装配置模板

    到这里askterisk安装完毕。

    三、启动asterisk

    1.输入asterisk,回车

    2.输入asterisk -r

    四、asterisk配置文件 

    asterisk.conf                       //asterisk的主配置文件 一般情况下不需要去改动

    sip.conf                               //sip协议主要配置文件

    extensions.conf                     //拨号规则配置文件

  • 相关阅读:
    命名函数
    匿名函数
    Elixir基础
    Elixir特性
    linux下安装erlang
    更具先序、中序遍历生成二叉树
    第一章 TCP/IP协议族
    React Native开发之expo中camera的基本使用
    Vue中异步组件(结合webpack,转载)
    vue中将html字符串转换成html后的一些问题
  • 原文地址:https://www.cnblogs.com/einyboy/p/2735569.html
Copyright © 2020-2023  润新知