建立使用者的撥號規則Create dialing rules for users

撥號規則群組包含撥號規則項目。撥號規則可用來修改電話號碼,再將它傳送至內部電話系統 (PBX) 或 IP PBX 針對撥出電話。撥號規則做兩種用途:Dialing rule groups consist of dialing rule entries. Dialing rules are used to modify a phone number before sending it to an on-premises telephone system (PBX) or IP PBX for outgoing calls. Dialing rules serve two purposes:

  • 指定可針對撥出電話撥打的號碼。當您建立的撥號規則時,您會指定可以撥打的號碼格式。拒絕不符合其中一個格式所指定的任何數字。如果您未設定任何撥號規則,來電者可放置在組織內的通話,但無法撥打任何撥出電話。They specify the numbers that can be dialed for outgoing calls. When you create a dialing rule, you specify the number formats that can be dialed. Any number that doesn't match one of the formats you specified is rejected. If you don't set any dialing rules, callers can place calls within your organization but can't make any outgoing calls.

  • 這些轉換之前先傳送至內部部署電話系統撥打的號碼。撥號規則可以除去號碼從或新增至撥打的號碼的數字。例如,您可以使用撥號規則新增電話系統外線存取碼或以新增或移除長途或本機號碼的國家/地區碼。They transform the numbers dialed before sending them out to your on-premises telephone system. Dialing rules can strip numbers from or add numbers to the number dialed. For example, you can use dialing rules to add the outside line access code for your telephone system or to add or remove the in-country/region code for long-distance or local numbers.

若要指定您想要允許的 UM 撥號對應表的撥出電話的類型,您可以建立撥號規則群組具有撥號規則,然後利用這些授權 Outlook 語音存取使用者和撥入 UM 自動語音應答的來電者的撥出電話。您建立不同的撥號規則群組國家/地區及國際電話。To specify the types of outgoing calls you want to allow for a UM dial plan, you create a dialing rule group with dialing rules and then use them to authorize outgoing calls for Outlook Voice Access users and callers that dial into a UM auto attendant. You create separate dialing rule groups for in-country/region and for international calls.

注意

如果您要整合 UM 與 Microsoft Lync Server,建議您至少建立一個撥號規則群組,然後在 SIP URI 撥號對應表、UM 信箱原則與 UM 自動語音應答上授權該撥號規則群組,以允許將所有的撥出電話轉接至 Lync Server。If you are integrating UM with Microsoft Lync Server, we recommend that you create at least one dialing rule group and authorize that dialing rule group on the SIP URI dial plans, UM mailbox policies, and UM auto attendants to allow all outgoing calls to be forwarded to Lync Servers.

如需了解其他的撥出管理工作,請參閱讓使用者能夠進行的通話程序For other management tasks for outdialing, see Allowing users to make calls procedures.

常用撥號規則的範例Examples of commonly used dialing rules

號碼模式Number pattern
撥打的號碼Dialed number
何時需要使用這個撥號規則?When would you use this dialing rule?
*
*
允許所有撥出電話。Allow all outgoing calls.
1425xxxxxxx1425xxxxxxx
91425xxxxxxx91425xxxxxxx
防止在使用者忘記撥打外線存取碼時撥打到內部分機或發生錯誤。Prevent users from getting an internal extension or an error when they forget to dial the outside access line number.
1xxxxxxxxxx1xxxxxxxxxx
1xxxxxxxxxx1xxxxxxxxxx
允許所有號碼都以 1 當做開頭。Allow all numbers that start with 1.
xxxxxxxxxxxxxx
1425xxxxxxx1425xxxxxxx
在 7 位數號碼中增加 1 和當地區碼 425。Add 1 and the local area code 425 to 7-digit numbers.

開始之前有哪些須知?What do you need to know before you begin?

  • 預估完成時間: 少於 3 分鐘。Estimated time to complete: Less than 3 minutes.

  • 您必須獲得權限才能執行此程序或程序。若您需要哪些權限,請參閱Messaging Permissions主題中的 「 UM 撥號對應表 」 項目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "UM dial plans" entry in the Unified Messaging Permissions topic.

  • 在執行這些程序之前,請確認已建立 UM 撥號對應表。如需詳細步驟,請參閱建立 UM 撥號對應表Before you perform these procedures, confirm that a UM dial plan has been created. For detailed steps, see Create a UM dial plan.

  • 如果您將 UM 信箱原則將套用撥號規則群組,您必須請確認已建立 UM 信箱原則。如需詳細步驟,請參閱 <建立 UM 信箱原則If you will be applying dialing rule groups to UM mailbox policies, you will need to confirm that a UM mailbox policy is created. For detailed steps, see Create a UM mailbox policy.

  • 如果您將套用撥號規則群組到 UM 自動語音應答,您必須請確認已建立 UM 自動語音應答。如需詳細步驟,請參閱 <建立 UM 自動語音應答If you will be applying dialing rule groups to UM auto attendants, you will need to confirm that a UM auto attendant is created. For detailed steps, see Create a UM auto attendant.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 Keyboard shortcuts in Exchange 2013For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

有問題嗎?在 Exchange 論壇中尋求協助。 論壇的網址為:Exchange ServerExchange OnlineExchange Online Protection。.Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection..

使用 EAC 建立撥號規則Use the EAC to create a dialing rule

  1. 在 EAC 中,瀏覽至 [整合通訊 > UM 撥號對應表。在清單檢視中,選取您想要變更 UM 撥號對應表] 和 [編輯編輯圖示In the EAC, navigate to Unified Messaging > UM dial plans. In the list view, select the UM dial plan you want to change, and then click EditEdit icon.

  2. 按一下 [ UM 撥號對應表] 頁面的 [設定]。On the UM Dial Plan page, click Configure.

  3. 在 [ UM 撥號對應表] 頁面上>撥號規則,按一下 [新增新增圖示[國家/地區的撥號規則國際撥號規則On the UM Dial Plan page > Dialing rules, click AddAdd Icon under In-country/region dialing rules or International dialing rules.

  4. 在 [新的撥號規則] 頁面上輸入下列資訊:On the New Dialing Rule page, enter the following information:

    • 撥號規則名稱輸入名稱撥號規則群組您要此規則的一部分。若要將它與其他規則的合併,使用相同的群組名稱。若要建立新的撥號規則群組,請輸入新的唯一名稱。Dialing rule name Enter the name of the dialing rule group you want this rule to be a part of. To combine it with other rules, use the same group name. To create a new dialing rule group, enter a new unique name.

    • 轉換 (號碼遮罩) 的號碼模式輸入轉換之前撥號,例如 91425xxxxxxx 之號碼模式。如果來電者撥打比對的數字,UM 轉換將它對撥打的號碼之前先進行呼叫。輸入僅限數字和萬用字元 (x)。號碼模式也稱為號碼遮罩。Number pattern to transform (number mask) Enter the number pattern to transform before dialing, for example, 91425xxxxxxx. If a caller dials a number that matches, UM transforms it to the dialed number before placing the call. Enter only numbers and the wildcard (x). The number pattern is also called a number mask.

    • * * 撥號號碼 * * 輸入要撥打的號碼。只使用數字和萬用字元 (x) 數字模式 9xxxxxxx 相同。從原始使用者所撥的號碼的數字會替換萬用字元 (x)。確定撥號號碼中的萬用字元數目的號碼模式的萬用字元數相同。**Dialed number ** Enter the number to dial. Use only numbers and the wildcard (x), as in the number pattern 9xxxxxxx. Wildcards (x) are substituted with the digits from the original number dialed by the user. Make sure the number of wildcards in the dialed number is the same as the number of wildcards in the number pattern.

    • * * 註解 * * 輸入註解或此撥號規則的描述。您可以使用註解來說明規則的作用,例如"Add a 9 來撥出電話"。**Comment ** Enter a comment or description for this dialing rule. You can use the comment to describe what the rule does, for example, "Add a 9 to outgoing calls."

  5. 按一下 [確定] 儲存撥號規則]。您可以輸入規則],繼續使用同一個您想要一起授權規則的撥號規則群組名稱。Click OK to save the dialing rule. You can continue to enter rules, using the same dialing rule group name for rules that you want to authorize together.