Skip to Content
《Asterisk:权威指南》第 5 版
book

《Asterisk:权威指南》第 5 版

by Jim Van Meggelen, Russell Bryant, Leif Madsen
May 2025
Intermediate to advanced
414 pages
5h 2m
Chinese
O'Reilly Media, Inc.
Content preview from 《Asterisk:权威指南》第 5 版

第 11 章 PBX 功能,包括停机、寻呼和会议

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

我不相信有天使,没有。但我有个停车小天使它在我的仪表盘上,你给它上发条。翅膀扇动,它就会给你一个停车位。到目前为止,它还挺管用的

比利-康诺利

本章将讨论商务电话环境中常见的几种外围功能。我们将简要介绍features.conf文件,然后花几节讨论寻呼和停车,最后使用 Asterisk 的会议引擎confbridge 做一些工作。

首先,让我们从安装目录中复制 features.conf文件并查看一下:

$ sudo cp ~/src/asterisk-16.<TAB>/configs/samples/features.conf.sample \
/etc/asterisk/features.conf 

$ sudo chown asterisk:asterisk /etc/asterisk/features.conf

features.conf

Asterisk 提供了与大多数 PBX 通用的若干功能,其中许多功能都有可选参数。您可以在features.conf文件中调整或定义 Asterisk 的各种功能参数。

一般]科

features.conf[general] 部分 中,可以定义选项来微调 Asterisk 转接功能的行为。这些选项与 SIP 电话处理呼叫转移的方式无关。你可以在通话时使用 DTMF 数字来访问这些功能(通话必须是桥接的,因此正在振铃或进行中的通话将无法访问这些功能)。

~/asterisk/文件夹中的features.conf.sample文件包含各种选项的详细信息,以及如何设置这些选项的示例。

这些功能已不像过去那样常用,主要是因为许多这些功能都可以用比从电话机发射 DTMF 更先进的方法来处理(例如,通过某种外部集成,或使用电话本身的内部转接功能)。

特征图]部分

[featuremap] 部分(如表 11-1 所示)允许您定义特定的 DTMF 序列,这些序列将触发通过 或 应用程序中的选项桥接的信道上的功能。您最有可能使用的两个选项是 和 。Dial() Queue() parkcall automixmon

表 11-1. features.conf [featuremap] 部分
选项价值/示例说明Dial()/Queue() 标志
blindxfer#1调用盲目(无监督)转移T, t
disconnect*0挂断电话H, h
automon*1使用Monitor() 应用程序开始当前通话录音(再次按下此键可停止录音W, w
atxfer*2执行自动传输T, t
parkcall#72园区呼叫K, k
automixmon*3使用MixMonitor() 应用程序开始当前通话录音(再次按下此键序列可停止录音X, x

应用程序地图]部分

features.conf[applicationmap] 部分

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

What Successful Brick-and-Mortar Retailers Get Right

What Successful Brick-and-Mortar Retailers Get Right

Rob Angell
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
Three Essentials for Agentic AI Security

Three Essentials for Agentic AI Security

Paolo Dal Cin, Daniel Kendzior, Yusof Seedat, Renato Marinho

Publisher Resources

ISBN: 9798341659568