• Asterisk Ubuntu 安装


    更新环境

    sudo apt update

    sudo apt install wget build-essential git autoconf subversion pkg-config libtool

    sudo contrib/scripts/get_mp3_source.sh

    A    addons/mp3
    A    addons/mp3/common.c
    A    addons/mp3/huffman.h
    A    addons/mp3/tabinit.c
    A    addons/mp3/Makefile
    A    addons/mp3/README
    A    addons/mp3/decode_i386.c
    A    addons/mp3/dct64_i386.c
    A    addons/mp3/MPGLIB_TODO
    A    addons/mp3/mpg123.h
    A    addons/mp3/layer3.c
    A    addons/mp3/mpglib.h
    A    addons/mp3/decode_ntom.c
    A    addons/mp3/interface.c
    A    addons/mp3/MPGLIB_README
    已导出版本 204。

    安装预先需要

    sudo contrib/scripts/install_prereq install

    编译

    ./configure

    问题:github网络不通,下载失败。

    pjproject-2.13.1.tar.bz2 自己下载,下载后放tmp

    1. configure: Menuselect build configuration successfully completed
    2. .$$$$$$$$$$$$$$$=..
    3. .$7$7.. .7$$7:.
    4. .$$:. ,$7.7
    5. .$7. 7$$$$ .$$77
    6. ..$$. $$$$$ .$$$7
    7. ..7$ .?. $$$$$ .?. 7$$$.
    8. $.$. .$$$7. $$$$7 .7$$$. .$$$.
    9. .777. .$$$$$$77$$$77$$$$$7. $$$,
    10. $$$~ .7$$$$$$$$$$$$$7. .$$$.
    11. .$$7 .7$$$$$$$7: ?$$$.
    12. $$$ ?7$$$$$$$$$$I .$$$7
    13. $$$ .7$$$$$$$$$$$$$$$$ :$$$.
    14. $$$ $$$$$$7$$$$$$$$$$$$ .$$$.
    15. $$$ $$$ 7$$$7 .$$$ .$$$.
    16. $$$$ $$$$7 .$$$.
    17. 7$$$7 7$$$$ 7$$$
    18. $$$$$ $$$
    19. $$$$7. $$ (TM)
    20. $$$$$$$. .7$$$$$$ $$
    21. $$$$$$$$$$$$7$$$$$$$$$.$$$$$$
    22. $$$$$$$$$$$$$$$$.

    进行功能选择

    make menuselect

    install asterisk ubuntu 18.04 01 min

    Enable Core sound modules you want to use.

    install asterisk ubuntu 18.04 02 min

    You can also add additional MOH packages you want to use.

    install asterisk ubuntu 18.04 03 min

    Do the same for Extra Sound Packages.

    install asterisk ubuntu 18.04 04 min

    编译

    make

    make install

    1. +---- Asterisk Installation Complete -------+
    2. + +
    3. + YOU MUST READ THE SECURITY DOCUMENT +
    4. + +
    5. + Asterisk has successfully been installed. +
    6. + If you would like to install the sample +
    7. + configuration files (overwriting any +
    8. + existing config files), run: +
    9. + +
    10. + For generic reference documentation: +
    11. + make samples +
    12. + +
    13. + For a sample basic PBX: +
    14. + make basic-pbx +
    15. + +
    16. + +
    17. +----------------- or ---------------------+
    18. + +
    19. + You can go ahead and install the asterisk +
    20. + program documentation now or later run: +
    21. + +
    22. + make progdocs +
    23. + +
    24. + **Note** This requires that you have +
    25. + doxygen installed on your local system +
    26. +-------------------------------------------+

    安装示例配置文件: sudo make samples

    配置Asterisk在启动时自动启动: sudo make config

    C-API文档:sudo make prodocs

    启动

    sudo service asterisk start

  • 相关阅读:
    FTP服务器配置(虚拟用户)
    数据结构之查找(分块查找)
    RocketMQ事务消息原理
    15. 从零开始编写一个类nginx工具, 如果将nginx.conf转成yaml,toml,json会怎么样
    sql集锦
    redis源码阅读-zset
    redis缓存雪崩、穿透、击穿
    根据关键词搜索阿里巴巴商品数据列表接口|阿里巴巴商品列表数据接口|阿里巴巴商品API接口|阿里巴巴API接口
    20个Python面试题来挑战你的知识
    uni-app 5小时快速入门 6 项目配置
  • 原文地址:https://blog.csdn.net/m0_37962554/article/details/134181767