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 版

第 8 章 语音信箱 语音邮件

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

请留言,也许我会打电话。

乔-沃尔什

在电子邮件和即时信息变得无处不在之前,语音邮件是一种流行的电子信息传递方式。尽管现在大多数人更喜欢基于文本的消息系统,但语音邮件仍然是任何 PBX 的重要组成部分。

Asterisk 有一个相当灵活的语音邮件系统,名为ComedianMail 。1Asterisk 中的语音邮件 由app_voicemail.so 模块在拨号计划中提供。

Asterisk 语音邮件系统的部分功能包括

  • 无限量受密码保护的语音邮箱,每个邮箱都包含用于整理语音邮件的邮箱子文件夹

  • 繁忙和不可用状态下的不同问候语

  • 默认和自定义问候语

  • 可将电话与多个邮箱关联,将邮箱与多个电话关联

  • 语音邮件的电子邮件通知,语音邮件可选择附加音频文件

  • 语音邮件转发和广播

  • 许多类型电话上的信息等待指示灯(闪烁的灯光或杂乱的拨号音)。

  • 基于语音信箱的公司员工名录

现在,我们将带您参观语音邮件配置文件的基本部分,包括常规部分的设置、各种可能的区域设置、语音邮件与拨号计划的整合,以及 Asterisk 如何在 Linux 文件系统中存储语音邮件的简要内部介绍。

voicemail.conf 文件

由于 我们已经在 MySQL 数据库中安装了语音邮件所需的表,因此可以在那里创建邮箱,而无需任何其他配置。不过,也可以在/etc/asterisk/voicemail.conf文件中创建邮箱(该文件还允许更改其他各种默认设置)。 我们将继续使用数据库来创建和管理用户,因为它更适合这项任务,但我们也将探讨配置文件,以便让你了解 Asterisk 语音邮件的灵活性。

voicemail.conf文件包含多个可调整各种默认参数的部分。在大多数情况下,你不需要修改其中的任何内容;不过,你应该看看~/src/asterisk-1.15.<你的版本>/configs/samples/voicemail.conf.sample文件。该文件包含有关可调整的各种选项的有用信息。

接下来我们提供了一个简单的voicemail.conf文件。如果您想在此基础上调整基本配置,只需添加或编辑相关选项即可。

初始语音邮件配置文件

我们推荐将以下 示例作为起点。有关各种设置的详细信息,可参考~/asterisk-complete/asterisk/11/configs/voicemail.conf.sample ...

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