New-CsOrganizationalAutoAttendantMenu

 

上次修改主題的時間:2017-06-20

The New-CsOrganizationalAutoAttendantMenu cmdlet creates a new menu.

New-CsOrganizationalAutoAttendantMenu -Name <String> [-DomainController <Fqdn>] [-EnableDialByName <SwitchParameter>] [-Force <SwitchParameter>] [-MenuOptions <List>] [-Prompts <List>] [-Tenant <Guid>]

This example creates a new menu that allows the caller to reach a target by name.

$menuPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "To reach your party by name, enter it now, followed by the pound sign."
$menu = New-CsOrganizationalAutoAttendantMenu -Name "Default Menu" -Prompts @($menuPrompt) -EnableDialByName

This example creates a new menu that allows the caller to reach a target by name or the operator by pressing the 0 key.

$menuOptionZero = New-CsOrganizationalAutoAttendantMenuOption -Action TransferCallToOperator -DtmfResponse Tone0
$menuPrompt = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "To reach your party by name, enter it now, followed by the pound sign. For operator, press zero."
$menu = New-CsOrganizationalAutoAttendantMenu -Name "Default Menu" -Prompts @($menuPrompt) -MenuOptions @($menuOptionZero) -EnableDialByName

The New-CsOrganizationalAutoAttendantMenu cmdlet creates a new menu for the Organizational Auto Attendant (OAA) service. The OAA service uses menus to provide callers with choices, and then takes action based on the selection.

 

Parameter Required Type Description

Name

Required

System.String

The Name parameter represents a friendly name for the menu.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

PARAMVALUE: Fqdn

EnableDialByName

Optional

System.Management.Automation.SwitchParameter

The EnableDialByName parameter lets users do a directory search by recipient name and get transferred to the party.

Force

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

MenuOptions

Optional

System.Collections.Generic.List

The MenuOptions parameter is a list of menu options for this menu. These menu options specify what action to take when the user sends a particular input.

You can create menu options by using the New-CsOrganizationalAutoAttendantMenuOption cmdlet.

Prompts

Optional

System.Collections.Generic.List

The Prompts parameter reflects the prompts to play when the menu is activated.

You can create new prompts by using the New-CsOrganizationalAutoAttendantPrompt cmdlet.

Tenant

Optional

System.Guid

PARAMVALUE: Guid

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

The New-CsOrganizationalAutoAttendantMenu cmdlet creates new instances of the Microsoft.Rtc.Management.Hosted.OAA.Models.Menu object

 
顯示: