asterisk 使用教程

  • 1.asterisk 简介

What is Asterisk?
Asterisk is an open source work for building communications applications. Asterisk turns an ordinary computer into a communications server. Asterisk powers IP PBX systems, VoIP gateways, conference servers and other custom solutions. It is used by small businesses, large businesses, call centers, carriers and government agencies, worldwide. Asterisk is free and open source. Asterisk is sponsored by Digium.

Asterisk 是用于构建通信应用程序的开放源码框架。可以将普通计算机转换为通信服务器,实现IP PBX系统、VoIP网关、会议服务器和其他定制解决方案。它被全世界的小企业、大企业、呼叫中心、运营商和政府机构使用。Asterisk 是Digium公司赞助的免费和开源的软件。

  • 2.asterisk 安装

    • 2.1 apt-get install 方式

    apt-get install asterisk

  • 3.asterisk 简单使用

    • 3.1 配置sip 账号

    asterisk 的配置文件在/etc/asterisk/目录下,修改/etc/asterisk/sip.conf 内容如下可以创建sip账号

    [general]
    context=default
    [6001]
    type=friend
    username=6001
    context=from-internal
    host=dynamic
    secret=pbx6001
    disallow=all
    allow=ulaw
    [6002]
    type=friend
    username=6002
    context=from-internal
    host=dynamic
    secret=pbx6002
    disallow=all
    allow=ulaw

    上面我创建了两个sip用户,6001,6002 密码分别是pbx6001,pbx6002

    • 3.2 sip 客户端登录

    下载SIP客户端,如eyeBeam,zoiper

    \"sip账号设置\"\"eyeBeam\"
收藏 打印
您的足迹: