Share via


routing/preamble/flags

Contains the names of specific routing rules for call forwarding.

<ro:flags xmlns:ro="https://schemas.microsoft.com/2006/09/sip/routing"
    name="string" value="flag-values-list" />

ro:flags-type

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

name

Required attribute to specify the name of the specified routing rules. This attribute has a fixed value of "clientflags".

value

Required attribute to hold a space-separated list of routing rule names. The valid values are listed as follows:

block

Block calls from the container members.

delegate_ring

Ring specified delegates.

enablecf

Enable call forwarding

forward_audio_app_invites

Forward audio calls

forward_immediate

Forward any calls immediately

skip_primary

Do not ring the primary number.

team_ring

Simultaneous ring all the team members

work_hours

Forward calls during the specified working-hours period.

""

Unspecified

Child Elements

None

Parent Elements

Element

Description

routing/preamble

The preamble property of the routing category instance.

Text Value

None

Example

The following XML code snippet shows a routing rule that simultaneously ring another number when an incoming call is received.

<routing xmlns="https://schemas.microsoft.com/02/2006/sip/routing" 
         name="rtcdefault" version="2" minSupportedClientVersion="2.0.0.0">
    <preamble>
       <flags name="clientflags" value="simultaneous_ring work_hours"/>
       <wait name="total" seconds="30"></wait>
       <list name="simultaneous_ring">
          <target uri="sip:+12223334444@contoso.com;user=phone"></target>
       </list>
    </preamble>
</routing>

The <flags> element specifies the action (simultaneous_ring) to be taken during the calleeā€™s working-hours period (work_hours). The target of the forwarded call is listed under the <list> element. The <wait> element specifies the time duration the ringing will last before the call is forwarded to the voicemail.

Element Information

Namespace

https://schemas.microsoft.com/2006/09/sip/routing

Schema Name

routing

Validation File

routing.xsd

Can be Empty

True

See Also

Concepts

Default Container