在 Exchange Online 中创建 UM 拨号计划Create a UM dial plan in Exchange Online

统一消息(UM)拨号计划包含与电话网络相关的配置信息。A Unified Messaging (UM) dial plan contains configuration information related to your telephony network. UM 拨号计划建立从启用了语音邮件的用户的电话分机号码到其邮箱的链接。A UM dial plan establishes a link from the telephone extension number of a user enabled for voice mail to their mailbox. 创建 UM 拨号计划时,可以为拨号计划配置分机号码中的位数、统一资源标识符(URI)类型和 IP 语音(VoIP)安全设置。When you create a UM dial plan, you can configure the number of digits in the extension numbers, the Uniform Resource Identifier (URI) type, and the Voice over IP (VoIP) security setting for the dial plan.

每次创建 UM 拨号计划时,也会创建一个 UM 邮箱策略。Each time you create a UM dial plan, a UM mailbox policy is also created. UM 邮箱策略名为< DialPlanName > Default policy。The UM mailbox policy is named <DialPlanName> Default Policy.

有关与 UM 拨号计划相关的其他管理任务,请参阅UM Dial Plan ProceduresFor additional management tasks related to UM dial plans, see UM Dial Plan Procedures.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:3 分钟。Estimated time to complete: 3 minutes.

  • 您必须先获得权限,然后才能执行此过程或多个过程。You need to be assigned permissions before you can perform this procedure or procedures. 若要查看所需的权限,请参阅统一消息权限主题中的 "UM 拨号计划" 条目。To see what permissions you need, see the "UM dial plans" entry in the Unified Messaging Permissions topic.

  • 有关可能适用于本主题中的过程的键盘快捷方式的信息,请参阅Exchange 管理中心的键盘快捷方式For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts for the Exchange admin center.

提示

是否有任何疑问?Having problems? 在 Exchange 论坛中寻求帮助。Ask for help in the Exchange forums. Exchange onlineexchange online Protection中访问论坛。Visit the forums at Exchange Online or Exchange Online Protection.

使用 EAC 创建 UM 拨号计划Use the EAC to create a UM dial plan

  1. 在 EAC 中,导航到 "统一消息 > " " UM 拨号计划",然后单击](../../media/ITPro_EAC_AddIcon.gif)"新建 ![添加图标"。In the EAC, navigate to Unified Messaging > UM dial plans, and then click New Add Icon.

  2. 在“新建 UM 拨号计划”**** 页面中,填写下列框:On the New UM dial plan page, complete the following boxes:

    • 名称:键入拨号计划的名称。Name: Type the name of the dial plan. UM 拨号计划名称是必需的,并且必须是唯一的。A UM dial plan name is required and must be unique. 但是,它仅用于在 EAC 和 Exchange Online PowerShell 中显示。However, it's used only for display in the EAC and Exchange Online PowerShell. 如果在创建拨号计划后必须更改其显示名称,则必须先删除现有的 UM 拨号计划,然后再创建具有相应名称的其他拨号计划。If you have to change the display name of the dial plan after it's been created, you must first delete the existing UM dial plan and then create another dial plan that has the appropriate name. 如果您的组织使用多个 UM 拨号计划,我们建议您为您的 UM 拨号计划使用有意义的名称。If your organization uses multiple UM dial plans, we recommend that you use meaningful names for your UM dial plans. UM 拨号计划名称的最大长度为 64 个字符,可以包括空格。The maximum length of a UM dial plan name is 64 characters, and it can include spaces. 但是,它不能包含以下任何字符: " / \ [ ] : ; | = , + * ? < >However, it can't include any of the following characters: " / \ [ ] : ; | = , + * ? < >.

      虽然您可以在 UM 拨号计划名称中包含空格,但如果将统一消息与 Office 通信服务器 2007 R2 或 Microsoft Lync Server 集成,则拨号计划名称不能包含空格。Although you can include spaces in a UM dial plan name, if you integrate Unified Messaging with Office Communications Server 2007 R2 or Microsoft Lync Server, the dial plan name can't include spaces. 因此,如果您在显示名称中创建了带有空格的拨号计划,并且要与 Office 通信服务器 2007 R2 或 Lync Server 集成,则必须先删除该拨号计划,然后再创建一个不在显示名称中包含空格的其他拨号计划。.Therefore, if you created a dial plan with spaces in the display name, and you're integrating with Office Communications Server 2007 R2 or Lync Server, you must first delete that dial plan and then create another dial plan that doesn't include spaces in the display name.

      重要

      尽管拨号计划名称的框可以接受 64 个字符,但是拨号计划的名称不得超过 49 个字符。Although the box for the name of the dial plan can accept 64 characters, the name of the dial plan can't be longer than 49 characters. 如果尝试创建的拨号计划名称包含的字符数超过 49 个,将收到错误消息。If you try to create a dial plan name that contains more than 49 characters, you'll receive an error message. 该消息称不能生成 UM 邮箱策略,因为 UM 拨号计划的名称太长。The message will say that the UM mailbox policy couldn't be generated because the UM dial plan name is too long. 这是因为,如前面所述,在创建拨号计划时,也会创建名为_ <DialPlanName> _默认策略的默认 UM 邮箱策略。This happens because, as mentioned earlier, when you create a dial plan a default UM mailbox policy named <DialPlanName> Default Policy is also created. 将默认策略中的15个字符添加到拨号计划的名称时,总字符数超出限制。When the 15 characters in Default Policy are added to the name of the dial plan, the total characters exceed the limit. UM 拨号计划和 UM 邮箱策略的_name_参数都可以是64个字符。The name parameter for both the UM dial plan and UM mailbox policy can be 64 characters. 但是,如果拨号计划的名称超过 49 个字符,默认 UM 邮箱策略的名称将超过 64 个字符,这是系统所不允许的。However, if the name of the dial plan is longer than 49 characters, the name of the default UM mailbox policy will be longer than 64 characters, and this isn't allowed by the system.

    • 分机长度(数字):输入拨号计划的数字位数。Extension length (digits): Enter the number of digits for the dial plan. 分机号码的位数取决于在专用交换机(PBX)或 IP PBX 上创建的电话拨号计划。The number of digits for extension numbers is based on the telephony dial plan created on a Private Branch eXchange (PBX) or IP PBX. 例如,如果与电话拨号计划关联的用户拨打 4 位的分机号码来呼叫同一电话拨号计划中的另一个用户,则应选择 4 作为分机号码中的位数。For example, if a user associated with a telephony dial plan dials a four-digit extension to call another user in the same telephony dial plan, you select 4 as the number of digits in the extension.

      这是一个必填框,该字段的值范围为 1 到 20。典型的分机号码长度为 3 位到 7 位。如果现有的电话环境包括分机号码,则必须指定与这些分机中的号码位数相匹配的位数。This is a required box that has a value range from 1 through 20. The typical extension length is from 3 through 7. If your existing telephony environment includes extension numbers, you must specify a number of digits that matches the number of digits in those extensions.

      当创建会话初始协议 (SIP) 或 E.164 拨号计划并将启用 UM 的用户与该拨号计划关联时,仍然必须输入该用户将使用的分机号码。When you create a Session Initiation Protocol (SIP) or an E.164 dial plan and associate a UM-enabled user with the dial plan, you must still input an extension number to be used by the user. 当 Outlook Voice Access 用户访问其邮箱时,将使用此号码。This number is used by Outlook Voice Access users when they access their mailbox.

    • 此设置的范围是 0 到 200。默认设置是 100。可以使用性能计数器来监视连接到 UM 服务器的当前语音呼叫数。Dial plan type: A Uniform Resource Identifier (URI) is a string of characters that identifies or names a resource. The main purpose of this identification is to enable VoIP devices to communicate with other devices over a network using specific protocols. URIs are defined in schemes that define a specific syntax and format and the protocols for the call. In simple terms, this format is passed from the IP PBX or PBX. After you create a UM dial plan, you won't be able to change the URI type without deleting the dial plan, and then re-creating the dial plan to include the correct URI type. You can select one of the following URI types for the dial plan:

    • 电话分机:这是最常见的 URI 类型。Telephone extension: This is the most common URI type. 来自 VoIP 网关或 IP 专用交换机(PBX)的呼叫和被叫方信息以下列格式之一列出:电话:512345或 512345 @<IP 地址>。The calling and called party information from the VoIP gateway or IP Private Branch eXchange (PBX) is listed in one of the following formats: Tel:512345 or 512345@<IP address>. 这是拨号计划的默认 URI 类型。This is the default URI type for dial plans.

    • SIP uri:如果您必须具有会话初始协议(SIP) URI 拨号计划(如支持 SIP 路由的 IP PBX)或集成 Microsoft Office 通信服务器 2007 R2 或 Microsoft Lync Server 和统一消息,请使用此 uri 类型。SIP URI: Use this URI type if you must have a Session Initiation Protocol (SIP) URI dial plan such as an IP PBX that supports SIP routing or if you're integrating Microsoft Office Communications Server 2007 R2 or Microsoft Lync Server and Unified Messaging. 来自 VoIP 网关的呼叫和被叫方信息。The calling and called party information from the VoIP gateway. IP PBX 或通信服务器 2007 R2 或 Lync server 以以下格式列出为 sip 地址: SIP:<username>@<domain or _IP address _>:P ort。IP PBX, or Communications Server 2007 R2 or Lync Server is listed as a SIP address in the following format: sip:<username>@<domain or _IP address _>:Port.

    • E.164 :. 164 为公用电话系统的国际编号计划,其中每个分配的号码都包含国家/地区代码、国家/地区的目的地代码和订户号码。E.164: E.164 is an international numbering plan for public telephone systems in which each assigned number contains a country code, a national destination code, and a subscriber number. 从 VoIP 网关或 IP PBX 发送的呼叫和被叫方信息按以下格式列出:电话: + 14255550123。The calling and called party information sent from the VoIP gateway or IP PBX is listed in the following format: Tel:+14255550123.

      注意

      E.164:E.164 是用于公共电话系统的国际编号计划,其中每个指定的号码都包含国家/地区代码、国内目的地代码和订阅者号码。将采用以下格式列出通过 VoIP 网关或 IP PBX 发送的呼叫方和被叫方信息:电话:+14255550123。After you create a dial plan, you will be unable to change the URI type without deleting the dial plan, and then re-creating the dial plan to include the correct URI type.

    • VoIP 安全模式:使用此下拉列表选择 UM 拨号计划的 VoIP 安全设置。VoIP security mode: Use this drop-down list to select the VoIP security setting for the UM dial plan. 可以为拨号计划选择以下安全设置之一:You can select one of the following security settings for the dial plan:

    • 安全:默认情况下,创建 UM 拨号计划时,会将其设置为不对 SIP 信号或 RTP 流量进行加密。Unsecured: By default, when you create a UM dial plan, it is set to not encrypt the SIP signaling or RTP traffic. 在不安全模式下,与 UM 拨号计划关联的客户端访问和邮箱服务器使用未加密的 VoIP 网关、IP Pbx、SBCs 和其他客户端访问服务器和邮箱服务器发送和接收数据。In unsecured mode, the Client Access and Mailbox servers associated the UM dial plan send and receive data from VoIP gateways, IP PBXs, SBCs and other Client Access and Mailbox servers using no encryption. 在不安全模式下,实时传输协议(RTP)媒体通道和 SIP 信号信息都不加密。In unsecured mode, neither the Realtime Transport Protocol (RTP) media channel nor the SIP signaling information is encrypted.

    • Sip 安全:选择 " sip 安全" 时,仅对 sip 信号流量进行加密,而 RTP 媒体通道仍使用 TCP,而不加密。SIP secured: When you select SIP secured, only the SIP signaling traffic is encrypted, and the RTP media channels still use TCP, which isn't encrypted. 使用 SIP 保护的相互传输层安全性(TLS)可对 SIP 信号流量和 VoIP 数据进行加密。With SIP secured, Mutual Transport Layer Security (TLS) is used to encrypt the SIP signaling traffic and VoIP data.

    • SIP 安全:选择“SIP 安全”**** 时,只对 SIP 信号通信进行加密,RTP 媒体通道将仍然使用不进行加密的 TCP。通过 SIP 安全,使用相互传输层安全性 (TLS) 对 SIP 信号通信和 VoIP 数据进行加密。Secured: When you select Secured, both the SIP signaling traffic and the RTP media channels are encrypted. Both the secure signaling media channel that uses Secure Realtime Transport Protocol (SRTP) and the SIP signaling traffic use mutual TLS to encrypt the VoIP data.

    • 音频语言:使用此列表可指定 Outlook Voice Access 用户要使用的默认语言。Audio language: Use this list to specify the default language to be used by Outlook Voice Access users. 此设置不适用于 UM 自动助理上的语言设置。This setting doesn't apply to the language setting on a UM auto attendant. 您可以将 Outlook Voice Access 的语言设置为与 UM 自动助理上使用的语言相同或不同。You can set the language for Outlook Voice Access to be the same as or different from the language that's used on a UM auto attendant. 当用户向与拨号计划链接的用户发出呼叫时,音频语言是语音录制的运算符使用的默认语言。When a user places a call to a user who is linked with a dial plan, the audio language is the default language that the voice-recorded operator uses. 系统将提示呼叫者听到相同的语言播放。The system prompts that callers hear are played in the same language. 在 UM 拨号计划中选择的语言用于读取电子邮件、语音邮件和日历项目;如果尚未录制个人问候语,则说出用户的名称;使用 "语音邮件预览" 功能 transcribe 语音邮件;并启用自动语音识别(ASR)以正常工作。The language that is chosen on the UM dial plan is used to read email, voice mail, and calendar items; to say the user's name if a personal greeting hasn't been recorded; to transcribe a voice message using the Voice Mail Preview feature; and to enable Automatic Speech Recognition (ASR) to work correctly.

    • 国家/地区代码:使用此框可以键入要用于传出呼叫的国家/地区代码编号。Country/Region code: Use this box to type the country/region code number to be used for outgoing calls. 此号码将在拨打的电话号码之前。This number will precede the telephone number that's dialed. 此框接受1到4位数字。This box accepts from 1 through 4 digits. 例如,在美国,国家/地区代码为1。For example, in the United States, the country/region code is 1. 在英国,它是44。In the United Kingdom, it's 44.

  3. 单击“保存”****。Click Save.

使用 Exchange Online PowerShell 创建 UM 拨号计划Use Exchange Online PowerShell to create a UM dial plan

本示例将创建一个名为MyUMDialPlan的新 UM 拨号计划,该计划使用四位数的分机号码。This example creates a new UM dial plan named MyUMDialPlan that uses four-digit extension numbers.

New-UMDialplan -Name MyUMDialPlan -NumberofDigits 4

本示例将创建一个名为MyUMDialPlan的新 UM 拨号计划,该计划使用五位数的分机号码,并支持 SIP uri。This example creates a new UM dial plan named MyUMDialPlan that uses five-digit extension numbers and supports SIP URIs.

New-UMDialplan -Name MyUMDialPlan -UriType SIPName -NumberofDigits 5