Asterisk Downloads

本文介绍了由FreeSWITCH™社区成员贡献给Asterisk社区的应用模块,这些模块最初大多源自Asterisk社区。文章详细列举了多个应用模块,如app_confcall、chan_woomera、res_js等,并简要说明了它们的功能特点。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

http://www.freeswitch.org/node/50

These are the applications that have been contributed by members of the FreeSWITCH™ community have donated back to the Asterisk community, where many of them originated from. Most of these modules were written by the head FreeSWITCH™ developer, Anthony.
Asterisk 1.2 Applications
app_dynagoto Dynamic goto. This will load a config off disk if its changed. Useful for larger installations where you load smaller bits of config when needed.
app_confcall [config] Multi-Feature conference application (rewrite of app_meetme)
app_cepstral provides direct access to the cepstral 4.0 swift api allowing direct streaming of tts audio without needing to write out to a temporary file first.
chan_woomera The Woomera protocol, designed by Craig Southeren of OpenH323 fame, makes it possible to put your voice over ip system in one server/process and your pbx in another and connect them with a simple raw-linear-over-udp protocol. chan_woomera is an asterisk channel_driver designed to interface the Asterisk PBX with woomera. Currenty this code is working but considered beta. Woomera currently only supports H.323 but it should soon support the OPAL VOIP abstraction layer which will allow it to speak many other protocols. The number of protocols supported by the Woomera server is irrelivant to chan_woomera which will support anything Woomera supports because of it's thin-client-like design.
res_js enables you to embed Javascript™ into Asterisk®, which enables you to write applications and dialpalns in Javascript™. This has been quoted as being more resource friendly than either the native Asterisk® dialplan or AGIs. Need js examples that exist.
res_perl enables you to embed perl into Asterisk® giving you the power of perl for dialplans and applications without the overhead of AGIs.
res_sqlite3 gives you the ability to use sqlite anywhere Asterisk® uses databases, this can include the dbget/put commands as well as CDR records and other places
app_backticks lets you execute a shell command and capture it's output like backticks do in most languages. It is available as both a function and an app
app_changrab lets you take over a channel or originate a channel from the CLI
app_distributor allows you to distribute your load for applications across multiple Asterisk® boxes
app_intercept lets you grab a live channel before its answered by the intended target and redirect it to someone else
app_valetparking for Asterisk® 1.2 is a better call parking subsystem enabling you to have multiple 'parking lots' to place calls into, and better control on receiving calls from
cdr_shell reads /etc/asterisk/cdr.conf and looks for the [cdr_shell] category. Each instance of the following is parsed.
path => /path/to/script
These paths are registered and subsequently executed when a cdr is posted. This allows you to hook up a gateway script that will have the cdr data in its argv[] 0-18
play-fifo will create if necessary, open and listen on a fifo for slinear audio and delivers it to STDOUT. If STDOUT is blocking, it discards the data. The idea is that you would use it in a custom class in res_musiconhold
app_contest allows you to easily run a 'radio station contest line' where you can specify a certain caller number and they will be connected, but all other callers will be rejected with some message
app_event lets you fire a manager event from the dialplan
app_rss allows you to easily create an IVR system of RSS news feeds. There is a perl script rss2ivr.pl that enables you to quickly and easily get feeds, parse them and create sound files via a TTS engine
format_base64 lets you read or write to a MIME encoded email message as though its audio. Play a MIME encoded voicemail, write a MIME encoded email by recording live audio
res_config_curl enables you to provision your Asterisk® box from a web based CGI application, rather than using static configs or realtime. This allows for a load balanced webserver to allow for failover and higher call capacities across your Asterisk® boxes
Asterisk 1.4 Applications
app_valetparking for Asterisk® 1.4 is a better call parking subsystem enabling you to have multiple 'parking lots' to place calls into, and better control on receiving calls from
app_changrab lets you take over a channel or originate a channel from the CLI (ported to 1.4 by Clod Patry)

### 安装 Asterisk PBX 服务器 #### 准备工作 为了确保 Asterisk 的顺利安装,在 Ubuntu 上需先更新软件包列表并安装必要的依赖库。对于 Ubuntu 16.04,建议安装如下开发库: ```bash sudo apt update && sudo apt upgrade -y sudo apt install libncurses5-dev uuid-dev libjansson-dev libxml2-dev libsqlite3-dev -y [^1] ``` 这些库提供了编译和运行 Asterisk 所必需的支持。 #### 下载与编译 Asterisk 获取最新版本的 Asterisk 并完成本地构建过程: ```bash cd /usr/src/ sudo wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-18-current.tar.gz sudo tar zxvf asterisk-18-current.tar.gz cd asterisk-* ./configure make menuselect make sudo make install sudo make samples # 创建示例配置文件 sudo make config # 设置开机启动项 ``` 上述命令会下载、解压、配置以及编译最新的稳定版 Asterisk,并创建默认配置文件以便快速开始测试。 #### 配置 SIP 和拨号计划 主要通过编辑 `/etc/asterisk/sip.conf` 及 `/etc/asterisk/extensions.conf` 文件来定义 SIP 用户账户信息及呼叫路由逻辑: 进入配置目录: ```bash cd /etc/asterisk [^2] ``` 在此路径下可以找到 sip.conf 和 extensions.conf 这两个核心配置文件用于自定义设置。 #### 启动服务 最后一步是重启 Asterisk 或者重新加载模块使更改生效: ```bash sudo systemctl restart asterisk # 或者仅重载而不完全停止服务 sudo systemctl reload asterisk ``` 这将应用所有新的配置变更到正在运行的服务实例中。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值