routing/preamble/wait
Specifies a waiting period before the specified routing rules cease to apply and the incoming calls are sent to the caller’s voicemail.
<ro:wait xmlns:ro="https://schemas.microsoft.com/2006/09/sip/routing"
name="wait-names" seconds="non negative integer" />
ro:wait-type
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
---|---|
seconds |
Required attribute to specify the number of seconds for this waiting period. |
name |
Required attribute to specify the type of waiting period. The valid wait types are listed as follows:
|
Child Elements
None
Parent Elements
Element |
Description |
---|---|
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 |