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 版

第 9 章 国际化 国际化

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

英语?谁需要花时间学英语?我永远不会去英国!

丹-卡斯特拉内塔

电话 在生活中,无论是在家里还是在工作中,人们都不喜欢惊喜。作为一个可能从事电话系统供应业务的人,你应该知道,如果期望落空,就会导致额外的工作、金钱损失和其他与客户不满有关的问题,从而带来难以言表的痛苦。

除了确保用户体验符合用户的预期外,还需要让你的 Asterisk 感觉 "宾至如归"。例如,如果外呼是通过模拟 线路(FXO)进行的,Asterisk 就需要解释它在线路上 "听到 "的音调(忙音、振铃等)。

默认情况下(也许正如人们所料,因为它 "诞生于美国"),Asterisk被配置为在北美地区工作。然而,由于 Asterisk 被部署在许多地方,而且(值得庆幸的是)世界各地的人们都为它做出了贡献,因此,完全有可能将 Asterisk 调整到你选择部署的任何地方都能正确运行。

如果你从头开始逐章阅读本书,那么你在安装过程中和初始配置时就已经做出了一些选择,这些选择将使你的 Asterisk 能够在本地工作(不辜负客户的期望)。

本书的许多章节都包含了一些信息,可以帮助您将 Asterisk 实现国际化1或(也许更恰当)本地化 Asterisk 实现的信息。本章的目的是提供一个单一的地方,在这里可以参考、讨论和解释在这种情况下需要对基于 Asterisk 的电话系统进行的各方面更改。之所以使用 "基于 Asterisk 的电话系统 "而不只是 "Asterisk",是因为有些更改需要在系统的其他部分(IP 电话、ATA 等)中进行,而其他更改将在 Asterisk 和 DAHDI 配置文件中实现。

首先,让我们列出一份清单(排名不分先后),列出在北美以外的特定地点优化基于 Asterisk 的电话系统可能需要更改的事项。如果你愿意,可以大声说出来......

  • 提示语言/口音

  • PSTN 接口的物理连接(FXO、BRI、PRI

  • IP 电话和/或 ATA 用户听到的铃声

  • 模拟接口发送和/或接收的来电显示格式

  • 由 Asterisk 提供或检测的模拟接口音调

  • 语音邮件的时间/日期戳格式

  • Asterisk 宣布上述时间/日期戳的方式

  • 拨号计划内的模式(IP 电话、ATA 和 Asterisk 本身(如果使用示例拨号计划)的模式

  • 向模拟设备指示语音邮件正在等待(MWI)的方式

  • Asterisk 为呼叫者提供的音调(这些音调在用户 "进入 "系统后发挥作用;例如,呼叫转移时听到的音调

我们将采用从系统外围到核心(Asterisk 本身)的策略,涵盖此列表中的所有内容。最后,我们将提供一份方便的清单,列出可能需要更改的内容以及更改的位置。

尽管本章讨论的原则可以让你根据自己所在地区(或客户所在地区)的具体情况调整 Asterisk 安装,但为了保持一致性,我们所有的示例都将侧重于如何针对一个地区调整 Asterisk:英国。

Asterisk 服务器外部设备

老式的模拟 电话与现有的大量 IP 电话之间存在着巨大的 差异,我们需要了解其中一个真正的根本区别,以便为下一步解释做铺垫,下一步解释涵盖了我们可能需要在 Asterisk 外部设备(如 IP 电话)上更改的设置。

你是否考虑过这样一个事实:模拟电话是一种完全哑巴的设备(我们知道,基本型号的模拟电话非常非常便宜),它需要连接到智能网络(PSTN),而 IP 电话(如 SIP 或 IAX2)是一种非常智能的设备,它连接到哑巴网络(互联网或任何普通 ...

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