创建呼叫应答规则Create a call answering rule

可使用命令行管理程序为某一个用户创建一个或多个呼叫应答规则。也可使用 Exchange 命令行管理程序脚本中的 New-UMCallAnsweringRule cmdlet 为多个用户创建呼叫应答规则。You can use the Shell to create one or more call answering rules for a user. You can also use the New-UMCallAnsweringRule cmdlet in an Exchange Management Shell script to create call answering rules for multiple users.

呼叫应答规则应用于传入呼叫的方式与收件箱规则应用于传入电子邮件的方式类似。默认情况下,用户启用统一消息 (UM) 时,未配置呼叫应答规则。即使如此,传入呼叫由邮件系统应答,并提示呼叫者留下语音邮件。Call answering rules are applied to incoming calls similar to the way Inbox rules are applied to incoming email messages. By default, when a user is enabled for Unified Messaging (UM), no call answering rules are configured. Even so, incoming calls are answered by the mail system and callers are prompted to leave a voice message.

备注

已启用 UM 的用户可登录 Outlook Web App 来创建、管理和删除呼叫应答规则。Users that are UM-enabled can sign in to Outlook Web App to create, manage, and remove call answering rules.

有关与呼叫应答规则相关的其他管理任务,请参阅转发调用过程For additional management tasks related to Call Answering Rules, see Forwarding calls procedures.

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

  • 估计完成时间:小于 1 分钟。Estimated time to complete: Less than 1 minute.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅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 call answering rules" entry in the Unified Messaging Permissions topic.

  • 在执行此过程之前,请先确认已创建 UM 拨号计划。有关详细步骤,请参阅创建 UM 拨号计划Before you perform this procedure, confirm that a UM dial plan has been created. For detailed steps, see Create a UM dial plan.

  • 在执行此过程之前,请先确认已创建 UM 邮箱策略。有关详细步骤,请参阅创建 UM 邮箱策略Before you perform this procedure, confirm that a UM mailbox policy has been created. For detailed steps, see Create a UM mailbox policy.

  • 在执行此过程之前,请先确认用户的邮箱已启用 UM。有关详细步骤,请参阅为用户启用语音邮件Before you perform this procedure, confirm that the user's mailbox has been UM-enabled. For detailed steps, see Enable a user for voice mail.

  • 只能使用命令行管理程序执行此过程。 若要了解如何在本地 Exchange 组织中打开 Exchange 命令行管理程序,请参阅 Open the Shell。 若要了解如何使用 Windows PowerShell 连接到 Exchange Online,请参阅连接到 Exchange Online PowerShellYou can only use the Shell to perform this procedure. To learn how to open the Exchange Management Shell in your on-premises Exchange organization, see Open the Shell. To learn how to use Windows PowerShell to connect to Exchange Online, see Connect to Exchange Online PowerShell.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For 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..

使用命令行管理程序创建呼叫应答规则。Use the Shell to create a call answering rule

该示例在 Tony Smith 邮箱中创建呼叫应答规则 MyCallAnsweringRule,优先级为 2。This example creates the call answering rule MyCallAnsweringRule in the mailbox for Tony Smith with the priority of 2.

New-UMCallAnsweringRule -Name MyCallAnsweringRule -Priority 2 -Mailbox tonysmith

该示例在 Tony Smith 邮箱中创建呼叫应答规则 MyCallAnsweringRule,并执行以下操作:This example creates the call answering rule MyCallAnsweringRule in the mailbox for Tony Smith and performs the following actions:

  • 将该呼叫应答规则设置为两个呼叫者 ID。Sets the call answering rule to two caller IDs.

  • 将呼叫应答规则的优先级设置为 2。Sets the priority of the call answering rule to 2.

  • 设置该呼叫应答规则为允许呼叫者中断问候语。Sets the call answering rule to allow callers to interrupt the greeting.

New-UMCallAnsweringRule -Name MyCallAnsweringRule -CallerIds "1,4255550100,,","1,4255550123,," -Priority 2 -CallersCanInterruptGreeting $true -Mailbox tonysmith

该示例在 Tony Smith 邮箱中创建呼叫应答规则 MyCallAnsweringRule,并执行以下操作:This example creates the call answering rule MyCallAnsweringRule in the mailbox for Tony Smith and performs the following actions:

将呼叫应答规则的优先级设置为 2。Sets the priority of the call answering rule to 2.

创建呼叫应答规则的键映射。Creates key mappings for the call answering rule.

如果呼叫者访问了用户的语音邮件,且用户的状态设置为"忙",那么呼叫者可以:If the caller reaches the voice mail for the user and the status of the user is set to Busy, the caller can:

- <span data-ttu-id="f8129-139">按 1 键,呼叫者会被转到分机号为 45678 的接待员。</span><span class="sxs-lookup"><span data-stu-id="f8129-139">Press the 1 key and be transferred to a receptionist at extension 45678.</span></span>

- <span data-ttu-id="f8129-140">按 2 键,会为紧急问题使用"联系我"功能,并首先呼叫分机 23456,然后呼叫分机 45671。</span><span class="sxs-lookup"><span data-stu-id="f8129-140">Press the 2 key so the Find Me feature will be used for urgent issues, ring extension 23456 first, and then ring extension 45671.</span></span>
New-UMCallAnsweringRule -Name MyCallAnsweringRule -Priority 2 -Mailbox tonysmith -ScheduleStatus 0x4 - -KeyMappings "1,1,Receptionist,,,,,45678,","5,2,Urgent Issues,23456,23,45671,50,,"