在 Exchange Online 中更改 SIP 地址Change a SIP address in Exchange Online

当您为用户启用 UM 并将其链接到 SIP URI 拨号计划时,将创建两个 EUM 代理地址。When you enable a user for UM and link them to a SIP URI dial plan, two EUM proxy addresses are created. 一个包含用户的分机号码,另一个包含用户的 SIP 地址。One contains the user's extension number and the other contains a SIP address for the user. 在用户呼叫 Outlook Voice Access 号码时,会使用分机号码。The extension number is used when the user calls in to an Outlook Voice Access number.

在集成 UM 和 Microsoft Office 通信服务器 2007 R2 或 Microsoft Lync Server 时,将使用 SIP URI 拨号计划和 SIP 地址。SIP URI dial plans and SIP addresses are used when you're integrating UM and Microsoft Office Communications Server 2007 R2 or Microsoft Lync Server. 通信服务器或 Lync Server 使用 SIP 地址路由传入呼叫并向用户发送语音邮件。The SIP address is used by Communications Server or Lync Server to route incoming calls and send voice mail to the user. 默认情况下,UM 使用的 SIP 地址将是通信服务器或 Lync Server 使用的 SIP 地址。By default, the SIP address that's used by UM will be the SIP address that's used by Communications Server or Lync Server.

您可以更改在为用户启用 UM 时添加的主 SIP 地址,也可以更改在稍后添加的辅助 SIP 地址,以及用户的 EUM 代理地址。You can change the primary SIP address that was added when the user was enabled for UM or a secondary SIP address that was added later, along with the EUM proxy addresses for the user. 为用户启用 UM 时添加的主 SIP 地址将作为主 EUM 代理地址列出。The primary SIP address you added when the user was enabled for UM will be listed as the primary EUM proxy address. 您添加的任何其他辅助 SIP 地址将作为辅助 EUM 代理地址列出。Any additional secondary SIP addresses you added will be listed as secondary EUM proxy addresses. 当辅助 SIP 地址发生更改时,呼叫者可以在用户登录的所有 SIP 终结点上为用户留下语音邮件,以使用新的 SIP 地址。When secondary SIP addresses are changed, callers can leave voice mail for the user at all SIP endpoints that the user is signed in to using the new SIP addresses. 所有语音邮件都将传递到同一个用户的邮箱。All the voice messages will be delivered to the same user's mailbox.

您可以使用 EAC 或 Exchange Online PowerShell 更改主要 SIP 地址或辅助 SIP 地址。You can use the EAC or Exchange Online PowerShell to change a primary or a secondary SIP address. 您可以使用 EAC 中用户邮箱上的 "电子邮件地址" 页面更改主 SIP 地址或辅助 SIP 地址。You can use the Email Address page on the user's mailbox in the EAC to change a primary or a secondary SIP address. 您不能使用 EAC 中的 " UM 邮箱" 页面更改主 SIP 地址或辅助 SIP 地址。You can't use the UM Mailbox page in the EAC to change a primary or secondary SIP address.

您可以使用 Exchange Online PowerShell 中的get-ummailbox cmdlet 或 "获取邮箱" cmdlet 查看用户的主 SIP 地址和辅助 SIP 地址。You can view the primary and secondary SIP addresses for a user by using the Get-UMMailbox cmdlet or the Get-Mailbox cmdlet in Exchange Online PowerShell.

有关与已启用语音邮件的用户相关的其他管理任务,请参阅声音已启用邮件的用户的过程For additional management tasks related to users who are enabled for voice mail, see Voice mail-enabled user 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 mailboxes" entry in the Unified Messaging Permissions topic.

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

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

  • 在执行这些步骤之前,请确认已为现有用户启用了 UM 并将其链接到 SIP URI 拨号计划。Before you perform these procedures, confirm that the existing user is enabled for UM and linked to a SIP URI dial plan. 有关详细步骤,请参阅为用户启用语音邮件For detailed steps, see Enable a user for voice mail.

  • 在执行这些步骤之前,请确认将分配给用户的 SIP 地址有效,且格式正确。Before you perform these procedures, confirm that the SIP address that will be assigned to the user is valid and formatted correctly.

  • 有关可能适用于本主题中的过程的键盘快捷方式的信息,请参阅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 更改主要或辅 SIP 地址Use the EAC to change the primary or a secondary SIP address

  1. In the EAC, navigate to Recipients > Mailboxes.In the EAC, navigate to Recipients > Mailboxes.

  2. 在列表视图中,选择要为其更改 SIP 地址的邮箱,然后单击 "编辑 编辑图标"。In the list view, select the mailbox for which you want to change a SIP address, and then click Edit Edit icon.

  3. 在 "用户邮箱" 页面上的 "电子邮件地址" 下,选择要更改的 SIP 地址, **** 然后单击 "编辑编辑图标"。On the User Mailbox page, under Email address, select the SIP address you want to change, and then click Edit Edit icon. 主要 SIP 地址以粗体字母和数字列出。The primary SIP address is listed in bold letters and numbers.

  4. 在 "电子邮件地址" 页面上的 "地址/分机号码" 框中,输入用户的新 SIP 地址,然后单击 "确定"On the Email address page, in the Address/Extension box, enter the new SIP address for the user, and then click OK. 如果需要选择新的 UM 拨号计划,可以单击“浏览”****。If you need to select a new UM dial plan, you can click Browse.

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

使用 Exchange Online PowerShell 更改主要 SIP 地址或辅助 SIP 地址Use Exchange Online PowerShell to change the primary or a secondary SIP address

本示例将更改 Tony Smith 的 SIP 地址。This example changes a SIP address for Tony Smith.

备注

在使用 Exchange Online PowerShell 更改 SIP 地址之前,需要确定要更改的 EUM 代理地址的位置。Before you change a SIP address using Exchange Online PowerShell, you need to determine the position of the EUM proxy address that you want to change. 若要确定位置,请使用 $mbx。EmailAddresses命令。To determine the position, use the $mbx.EmailAddresses command. 第一个 EUM 代理地址是默认(主) SIP 地址,在列表中将为0。The first EUM proxy address is the default (primary) SIP address and it will be 0 in the list.

$mbx=Get-Mailbox tony.smith
$mbx.EmailAddresses.Item(1)="eum:tsmith@contoso.com;phone-context=MySIPDialPlan.contoso.com"
Set-Mailbox tony.smith -EmailAddresses $mbx.EmailAddresses