McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 608

↗ View in doc context
page
608
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::574

Condition Based on a Phone Number The following Routing Rule Condition specifies a match of Calling Number (Parameter=1) Equals (Operator=2) 1234 (OperandValue). A Routing Rule Condition to match on Called Number would use Parameter=2, and a Routing Rule Condition to match on Forwarded Number (valid only on Forwarded Routing Rules) would use Parameter=3. Other Operators are allowed when matching Phone Numbers, such as In and Less Than. With the Equals Operator, the OperandValue can include the wildcards * and ?, and with the In Operator, the OperandValue can include comma-separated ranges of numbers like 2000-2199,3001-3199, 4001. <RoutingRuleCondition> <Parameter>1</Parameter> <Operator>2</Operator> <OperandValue>1234</OperandValue> </RoutingRuleCondition> Condition Based on a Port The following Routing Rule Condition specifies a match of a Port (Parameter=5) Equals (Operator=2) ObjectId b79765f1-e14f-47b6-b8e1-00479909f710 (OperandValue). Creating a Routing Rule Condition to match based on a Port has the side effect of setting MediaPortObjectId to the same value as OperandValue. When matching Ports, only the Equals Operator is allowed, and the OperandValue must be a single ObjectId. <RoutingRuleCondition> <Parameter>5</Parameter> <Operator>2</Operator> <OperandValue>b79765f1-e14f-47b6-b8e1-00479909f710</OperandValue> </RoutingRuleCondition> Condition Based on a Phone System The following Routing Rule Condition specifies a match of a Phone System (Parameter=9) Equals (Operator=2) ObjectId 2eb79e66-1e53-415c-9222-36665e0e76ae (OperandValue). Creating a Routing Rule Condition to match based on a Port has the side effect of setting MediaSwitchObjectId to the same value as OperandValue. When matching Phone Systems, only the Equals Operator is allowed, and the OperandValue must be a single ObjectId. <RoutingRuleCondition> <Parameter>9</Parameter> <Operator>2</Operator> <OperandValue>2eb79e66-1e53-415c-9222-36665e0e76ae</OperandValue> </RoutingRuleCondition> Condition Based on a Schedule Set The following Routing Rule Condition specifies a match of a Schedule Set (Parameter=7) Equals (Operator=2) ObjectId 4cc6c1be-e1ba-4fcf-be81-95bce20acbec (OperandValue). Note that you must specify the ObjectId of a Schedule Set, not a Schedule. When matching Schedule Sets, only the Equals Operator is allowed, and the OperandValue must be a single ObjectId. <RoutingRuleCondition> <Parameter>7</Parameter> <Operator>2</Operator> <OperandValue>4cc6c1be-e1ba-4fcf-be81-95bce20acbec</OperandValue> </RoutingRuleCondition> Cisco Unity Connection Provisioning Interface (CUPI) API 576 Cisco Unity Connection Provisioning Interface (CUPI) API--Call Routing Condition Based on a Phone Number