Sdílet prostřednictvím


routing/preamble/list/target

Specifies a waiting period before the specified routing rules cease to apply and the incoming calls are sent to the caller’s voicemail.

<ro:target xmlns:ro="https://schemas.microsoft.com/2006/09/sip/routing"
    uri="string" application="string" />

ro:target-type

Attributes and Elements

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

Attributes

Attribute

Description

uri

Optional attribute to specify the call-forwarding target as a SIP URI. Either the uri or application attribute must be specified.

application

Optional attribute to specify the call-forwarding target as an application or service. Either the uri or application attribute must be specified.

Child Elements

None

Parent Elements

Element

Description

list

The target list appearing in 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