New-CsOrganizationalAutoAttendantCallFlow

 

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

Use the New-CsOrganizationalAutoAttendantCallFlow cmdlet to create a new call flow.

New-CsOrganizationalAutoAttendantCallFlow -Menu <Menu> -Name <String> [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Greetings <List>] [-Tenant <Guid>]

This example creates a new call flow that renders the “Default Menu” menu.

$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 
$callFlow = New-CsOrganizationalAutoAttendantCallFlow -Name "Default Call Flow" -Menu $menu

This example creates a new call flow that plays a greeting before rendering the “Default Menu” menu.

$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 
$greeting = New-CsOrganizationalAutoAttendantPrompt -TextToSpeechPrompt "Welcome to Contoso!"
$callFlow = New-CsOrganizationalAutoAttendantCallFlow -Name "Default Call Flow" -Menu $menu -Greetings $greeting


The New-CsOrganizationalAutoAttendantCallFlow cmdlet creates a new call flow for use with the Organizational Auto Attendant (OAA) service. The OAA service uses the call flow to handle inbound calls by playing a greeting (if present), and provide callers with actions through a menu.

 

Parameter Required Type Description

Menu

Required

Microsoft.Rtc.Management.Hosted.OAA.Models.Menu

The Menu parameter identifies the menu to render when the call flow is executed.

You can create a new menu by using the New-CsOrganizationalAutoAttendantMenu cmdlet.

Name

Required

System.String

The Name parameter represents the friendly name for the call flow.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

PARAMVALUE: Fqdn

Force

Optional

System.Management.Automation.SwitchParameter

PARAMVALUE: SwitchParameter

Greetings

Optional

System.Collections.Generic.List

If present, the prompts specified by the Greetings parameter (either TTS or Audio) are played before the call flow’s menu is rendered.

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

Tenant

Optional

System.Guid

PARAMVALUE: Guid

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

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

 
顯示: