routing
Specifies routing rules to forward incoming calls.
<ro:routing xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ro="https://schemas.microsoft.com/2006/09/sip/routing"
name="xs:string"
version="xs:integer">
<ro:preamble>
<ro:flags>...</ro:flags>
<ro:wait>...</ro:wait>
<ro:list>...</ro:list>
</ro:preamble>
</ro:routing>
ro:routing-type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
name |
Routing rules name. This attribute has a fixed value of "rtcdefault". |
version |
Version number of the named routine rules. |
Child Elements
Element |
Occurrence |
Description |
---|---|---|
1 |
Specific routing rules. |
Parent Elements
Element |
Description |
---|---|
None |
This is a top-level element as the value of an enhanced presence routing category instance. |
Text Value
None
Remarks
Depending on the Options settings enacted for call forwarding, Microsoft Lync 2010 publishes a routing category instance to the following containers:
Container |
Description |
---|---|
0 |
The general settings, including simultaneous ringing, forwarding targets and wait time, for call forwarding are published as a routing category instance of the instance Id value of 0. A breakthrough routing rule targeted to the specified members of Container 400 is published to this container. This ensures that calls made by the specified Friends and Family contacts will not be inadvertently blocked. This routing category instance has an instance Id value of 1. |
100 |
The general settings, including simultaneous ringing, forwarding targets and wait time, for call forwarding are published as a routing category instance of the instance Id value of 0. A breakthrough routing rule targeted to the specified members of Container 400 is published to this container. This ensures that calls made by the user’s Friends and Family contacts will not be inadvertently blocked. This routing category instance has an instance Id value of 1. |
200 |
The general settings, including simultaneous ringing, forwarding targets and wait time, for call forwarding are published as a routing category instance of the instance Id value of 0. A breakthrough routing rule targeted to the specified members of Container 400 is published to this container. This ensures that calls made by the user’s Friends and family contacts will not be inadvertently blocked. This routing category instance has an instance Id value of 1. |
300 |
The general settings, including simultaneous ringing, forwarding targets and wait time, for call forwarding are published as a routing category instance of the instance Id value of 0. A breakthrough routing rule targeted to the specified members of Container 400 is published to this container. This ensures that calls made by the user’s Friends and family contacts will not be inadvertently blocked. This routing category instance has an instance Id value of 1. |
400 |
The general settings, including simultaneous ringing, forwarding targets and wait time, for call forwarding are published as a routing category instance of the instance Id value of 0. A breakthrough routing rule targeted to the specified members of Container 400 is published to this container. This ensures that calls made by the user’s Friends and family contacts will not be inadvertently blocked. This routing category instance has an instance Id value of 1. |
32000 |
A routing instance containing the clientflags with block value is published to this container. This is shown as follows.
This ensures that calls made any members of this container will be blocked. |
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 |