拨号代码、号码前缀和号码格式Dial codes, number prefixes, and number formats

您可以为启用 UM 的用户将统一消息 (UM) 所使用的多个拨号代码配置为进行内部呼叫和外部呼叫。您经常希望与访问或接入编码、国家/地区号码前缀或者国家/地区内号码格式或国际号码格式一起配置拨号计划,以便控制组织内用户的外拨。本主题介绍拨号代码、号码前缀和号码格式以及如何使用它们控制组织的外拨。You can configure several dialing codes that Unified Messaging (UM) uses to dial internal and external calls for UM-enabled users. Frequently, you want to configure a dial plan together with the dialing or access codes, a national number prefix, or in-country/region or international number formats so that you can control outdialing for users in your organization. This topic discusses dial codes, number prefixes, and number formats and how you can use them to control outdialing for your organization.

概述Overview

外拨是用户呼叫 UM 拨号计划或 UM 自动助理并向内部或外部电话号码发出呼叫的过程。当用户呼叫 UM 拨号计划或 UM 自动助理并发出呼叫时,统一消息将使用拨号计划、自动助理和 UM 邮箱策略中配置的设置发出呼叫。UM 将在下列情况下发出传出呼叫:Outdialing is the process in which users call in to a UM dial plan or UM auto attendant and then place a call to an internal or external telephone number. When a user calls in to a UM dial plan or a UM auto attendant and then places a call, Unified Messaging uses the settings configured on the dial plan, auto attendant, and UM mailbox policies to place the call. UM places an outgoing call in the following situations:

  • 在它向呼叫者的外部电话号码发出呼叫时When it places a call to an external telephone number for a caller

  • 在它将呼叫转移到自动助理时When it transfers a call to an auto attendant

  • 在它将呼叫转移到组织中的用户(启用 UM 或未启用 UM 的用户)时When it transfers a call to a user (either UM-enabled or not) in your organization

  • 启用 UM 的用户使用"在电话上播放"功能When a UM-enabled user uses the Play on Phone feature

两类用户使用外拨:通过身份验证的用户和未通过身份验证的用户。未通过身份验证的用户可呼叫在 UM 拨号计划上配置的 Outlook Voice Access 号码,但不登录其邮箱。未通过身份验证的用户也可以呼叫在 UM 自动助理上配置的号码。通过身份验证的用户可呼叫 Outlook Voice Access 号码,并成功登录到其邮箱。当用户呼叫 Outlook Voice Access 号码时,他们最初被视为未通过身份验证,因为他们没有提供分机号码和 PIN,也未登录到邮箱。用户提供了分机号码和 PIN 并成功登录到其邮箱后,即会通过身份验证。Two types of users use outdialing: authenticated users and unauthenticated users. Unauthenticated users call in to an Outlook Voice Access number configured on a UM dial plan but don't sign in to their mailbox. Unauthenticated users also call in to a number configured on a UM auto attendant. Authenticated users call in to an Outlook Voice Access number and successfully sign in to their mailbox. When users call in to an Outlook Voice Access number, they are initially considered unauthenticated because they haven't provided their extension number and PIN and signed in to their mailbox. They are authenticated after they provide their extension number and PIN and successfully sign in to their mailbox.

当未通过身份验证的用户呼叫 UM 自动助理并使用外拨发出呼叫时,将使用在 UM 拨号计划和自动助理上配置的外拨设置。当未通过身份验证的用户呼叫在拨号计划上配置的 Outlook Voice Access 号码时,仅使用在拨号计划上配置的设置。当用户成功登录到其邮箱后,将对通过身份验证的用户应用与通过身份验证的用户关联的拨号计划及 UM 邮箱策略中的配置设置。When an unauthenticated user calls in to a UM auto attendant and places a call using outdialing, the outdialing settings configured on the UM dial plan and the auto attendant are used. When an unauthenticated user calls in to an Outlook Voice Access number configured on a dial plan, only the settings configured on the dial plan are used. When a user has successfully signed in to their mailbox, configuration settings from the dial plan and the UM mailbox policy associated with the authenticated user are applied to the authenticated user.

为了控制组织的外拨,您需要配置多种设置。要控制外拨,您需要配置统一消息中的 UM 拨号计划、自动助理和 UM 邮箱策略。可以在拨号计划、自动助理和 UM 邮箱策略中配置下列设置以控制外拨:You need to configure several settings to control outdialing for your organization. To control outdialing, you need to configure the UM dial plans, auto attendants, and UM mailbox policies in Unified Messaging. The following settings can be configured on UM dial plans, auto attendants, and UM mailbox policies to control outdialing:

  • 外线、国家/地区内和国际接入编码Outside line, in-country/region, and international access codes

  • 国家/地区号码前缀National number prefixes

  • 国家/地区内号码格式和国际号码格式In-country/region and international number formats

  • 国家/地区内拨号规则组和国际拨号规则组In-country/region and international dialing rule groups

  • 允许国家/地区内拨号规则组和国际拨号规则组Allowed in-country/region and international dialing rule groups

  • 拨号规则条目Dialing rule entries

在 UM 拨号计划的拨号代码页上,在 Exchange 管理员中心 (EAC) 中配置访问代码、 号码前缀和号码格式。您还可以配置在 Exchange 命令行管理程序中使用Set-umdialplan cmdlet 设置。您可以选择配置所有设置,任何设置,或只将某些设置。每个设置控制 outdialing 过程的特定部分。You configure access codes, number prefixes, and number formats on a UM dial plan on the Dial Codes page in the Exchange admin center (EAC). You can also configure the settings using the Set-UMDialPlan cmdlet in the Exchange Management Shell. You can choose to configure all the settings, none of the settings, or only some of the settings. Each setting controls a specific part of the outdialing process.

UM 使用接入编码、号码前缀和号码格式来确定要拨出的正确号码。对于拨打与 UM 拨号计划相关联的 UM 自动助理的用户或拨打在拨号计划上配置的 Outlook Voice Access 号码的用户,可以将接入编码、号码前缀和号码格式配置为限制拨出电话。UM uses access codes, number prefixes, and number formats to determine the correct number to dial. They can be configured to restrict outgoing calls for users who dial in to a UM auto attendant associated with a UM dial plan or who dial in to the Outlook Voice Access number configured on the dial plan.

有关统一消息中的外拨的详细信息,请参阅拨号代码、 号码前缀和号码格式For more information about outdialing in Unified Messaging, see Dial codes, number prefixes, and number formats.

外线接入编码Outside line access code

可以在创建的每个拨号计划上配置外线接入编码(也称为电话交换机接入代码)。这是用于接入外线电话的号码。组织中的专用交换机 (PBX) 或 IP PBX 上也配置了此号码。在多数电话网络中,用户拨打数字 9 可以接入外线并向外部电话号码发出呼叫。You can configure an outside line access code, also known as a trunk access code, on each dial plan that you create. This is the number used to gain access to an outside telephone line. This number is also configured on the Private Branch eXchanges (PBXs) or IP PBXs in your organization. In most telephony networks, users dial the number 9 to gain access to an outside line and place a call to an external telephone number.

您应在创建的每个拨号计划上都配置外线接入编码。此拨号代码将适用于所有与 UM 邮箱策略(与 UM 拨号计划相联系)相联系的用户。与拨号计划相联系的呼叫者发出呼叫且拨号计划发出传出呼叫时,UM 将在拨打的号码字符串前面添加外线接入编码(通常为 9),以便使 PBX 或 IP PBX 能够正确拨打该号码。如果您未配置外线接入编码,则 PBX 或 IP PBX 可能无法识别所发送的号码。例如,如先前所述,在许多组织中,用户可拨打接入编码 9 接入外线,并且 PBX 或 IP PBX 上配置了此编码。要正确拨打传出号码,统一消息必须将外线接入编码 (9) 添加到 PBX 或 IP PBX 的电话号码字符串开头。如果配置拨号代码以使统一消息添加外线接入编码,统一消息将能使用外线接入编码在拨打外部电话号码字符串之前接入外线。您所配置的拨号代码将适用于所有与 UM 邮箱策略(与 UM 拨号计划相联系)相联系的用户。You should configure an outside line access code on each dial plan that you create. This dialing code will apply to all users who are linked with a UM mailbox policy that's linked with the UM dial plan. When a caller who's linked with the dial plan places a call and the dial plan dials the outgoing call, UM adds the outside line access code (usually 9) in front of the dialed number string so that the PBX or IP PBX can dial the number correctly. If you don't configure the outside line access code, the PBX or IP PBX may not recognize the number that's sent.. For example, as stated earlier, in many organizations, the access code that users dial to gain access to an outside line is 9, and this is configured on a PBX or IP PBX. Unified Messaging must add the outside line access code (9) before the telephone number string for the PBX or IP PBX to correctly dial the outgoing number. If you configure the dialing code so that Unified Messaging will add the outside line access code, Unified Messaging will be able to use the outside line access code to access an outside line before it dials the external telephone number string. The dialing code that you configure will apply to all users who are linked with a UM mailbox policy linked with the UM dial plan.

国家/地区号码前缀National number prefix

也可以在 UM 拨号计划中配置国家/地区号码前缀和国家/地区代码。当用户向同一国家/地区内的目标接收方拨打传出呼叫时,或当用户拨打国际呼叫时,统一消息将使用您输入的号码,以拨打正确的国家/地区号码前缀或国家/地区代码。例如,当来自北美的用户拨打目的地为欧洲的传出国际呼叫时,UM 会将国家/地区号码前缀添加到向 PBX 或 IP PBX 发送的号码字符串之前,以发出传出呼叫。数字 1 用作北美的国家/地区号码前缀。The national number prefix and the country/region code can also be configured on a UM dial plan. Unified Messaging uses the number you enter to dial the correct national number prefix or country/region code when a user dials an outgoing call destined within the same country/region or an international call. For example, when a user from North America places an outgoing international call to Europe, UM will add the national number prefix before the number string that it sends to the PBX or IP PBX to place the outgoing call. The number 1 is used as the national number prefix for North America.

国家/地区内访问权限代码In-Country/region access code

可以在 UM 拨号计划中配置国家/地区代码。国家/地区接入编码由与特定国家或地区相关联的数字组成。当呼叫位于同一国家或地区内部的电话号码时,统一消息将会使用国家/地区接入编码,以拨打正确的电话号码。当统一消息发出传出呼叫时,会将此编码添加到向 PBX 或 IP PBX 发送的号码字符串之前。例如,UM 会将数字 1 添加到发出方和接收方均位于美国的呼叫。英国的国家/地区代码为 44。A country/region code can be configured on a UM dial plan. The country/region access code consists of the digits associated with a specific country or region. Unified Messaging uses the country/region access code to dial the correct telephone number when a call is placed to a telephone number from inside the same country or region. UM will add this number before the number string that it sends to the PBX or IP PBX when it places the outgoing call. For example, UM will add the number 1 to a call placed from the United States and destined for the United States. For the United Kingdom, the country/region code is 44.

国际接入编码International access code

可以给 UM 拨号计划配置国际接入编码。国际接入编码由用于访问国际电话号码的数字组成。当呼叫从某国家/地区中的电话号码发出,但所拨打的号码属于另一国家/地区时,统一消息将使用国际接入编码,以拨打正确的国际接入编码。当统一消息发出传出呼叫时,会将此编码添加到向 PBX 或 IP PBX 发送的号码字符串之前。例如,UM 将 011 用作美国的国际接入编码。欧洲的国际接入编码为 00。An international access code can be configured on a UM dial plan. The international access code consists of the digits used to access international telephone numbers. Unified Messaging uses the international access code to dial the correct international access code when a call is placed from a telephone number within a country/region and the number being dialed is located in another country/region. UM will add this number before the number string that it sends to the PBX or IP PBX when it places the outgoing call. For example, UM will use 011 as the international access code for the United States. For Europe, the international access code is 00.

国家/地区内号码格式和国际号码格式In-Country/region and international number formats

可以在 UM 拨号计划中配置国家/地区号码格式和国际号码格式的传入呼叫配置。配置这些设置后,UM 将能识别同一组织内来自国家/地区内的传入呼叫和其他 UM 拨号计划间的国际传入呼叫。您也可以为单个拨号计划内发出的传入呼叫添加号码格式。配置这些选项使您的组织能够通过防止组织内部的用户拨打不应拨打的传出呼叫来节约费用,而且有助于防止话费诈欺。UM 将使用您配置的信息检查传入呼叫的号码格式,在验证号码模式匹配后才接受此呼叫。例如,您可能在一个组织中拥有多个拨号计划。如果您有一个用于美国的拨号计划和一个用于英国的拨号计划,您可能希望允许属于美国拨号计划的用户向属于英国拨号计划的用户发出 UM 拨出呼叫,但不希望允许属于美国拨号计划的用户直接呼叫其他国家/地区或进行国际呼叫。You can configure the incoming call configuration for country/region and international number formats on a UM dial plan. After you configure these settings, Unified Messaging will be able to recognize incoming calls from inside a country/region and internationally between UM dial plans within the same organization. You can also add number formats for incoming calls that are placed within a single dial plan. Configuring these options enables your organization to save money by preventing outgoing calls that shouldn't be made by users from inside your organization, and helps to prevent toll fraud. UM will use the information that you configure to examine the number format of the incoming call and verify that the number pattern matches before it accepts the call. For example, you may have multiple dial plans inside an organization. If you have one dial plan for the United States and another for the United Kingdom, you may want to let users in the United States dial plan have UM place calls to users who are located in the United Kingdom dial plan, but not let the users in the United States dial plan place calls directly to other countries/regions or internationally.