Now that the Unified CM can route SIP calls to Expressway, we can focus on the Expressway dial plan. Cisco Expressway has the capability of routing calls, among other things, based on the SIP variant detected. Specifically, it can distinguish between Microsoft SIP calls and standards-based SIP calls, such as those originating from Unified CM and Jabber. Initially, we will use this capability so that we only route standards-based SIP calls for our UC domain (pod8.cms.lab) to the Unified CM. Any SIP call matching the CMS domain (conf.pod8.cms.lab) will be routed to CMS.
For this lab, your Expressway-C should already be configured with a system name, valid NTP server, and an internal DNS server. The server certificate and certificate authority certificates are installed as well. Additionally, it has the Traversal Zones for Business to Business communication via the Expressway-E set up, as well as a zone to the Unified CM.
What needs to be configured:
In order to route calls to Cisco Meeting Server, Zones are required. While it is possible to create a single Zone pointing to each of the CMS servers in the cluster and obtain a basic level of redundancy, this currently does not handle load balancing as implemented in CMS, because if CMS rejects a call when the capacity of the server is exceeded, the SIP 488 message returned by CMS will not cause Expressway to route the call to the next Zone member. Because of this limitation, one Zone per CMS server in a cluster is required. Expressway Search rules will then be configured to hunt through each zone in a top-down fashion.
Next, the exact same thing needs to be configured for CMS1b and CMS1c. You can click HERE to have it done for you, otherwise, repeat the above steps, simply changing the name of the Zone (to and ) and, of course, the Peer 1 address to and respectively.
From the Zone list, you can refresh this information a few times. Eventually, all Zones should go to the Active state.
Next we can focus on the dial plan. Expressway needs to route calls for the Unified CM domain to UCM and calls to the CMS domain to CMS.
In Expressway, SIP routes are configured using Search Rules. Begin with the Search rule for the Unified CM domain, pod8.cms.lab. Setting this rule is fairly straightforward, however, note that since the Unified CM can only support standards-based SIP calls, we will limit the rule to just that type (and ignore any call to the Unified CM domain that is a Microsoft-type SIP call.
Parameter | Value |
---|---|
Rule Name | |
Priority |
100 Note: Remember that the lower the number the higher the priority in the Expressway product |
Protocol | SIP |
SIP Variant | Standards-based |
Mode | Alias pattern match |
Pattern type | Regex |
Pattern string |
Note: This matches any of the following domains: cucm1a.pod8.cms.lab, cucm1b.pod8.cms.lab, or pod8.cms.lab For help with regular expressions, Expressway has a tool under Maintenance > Tools > Check Pattern. Also, sites like https://regex101.com are helpful. |
Pattern behavior | Leave |
On successful match |
Stop If the call does not complete to this zone, do not continue hunting. |
Target | CUCM1 Zone |
Next we can add the Search rules for each of the CMS Zones. We will do these sequentially, so that in case of contention, Expressway will try them all in order.
Parameter | Value |
---|---|
Rule Name | |
Priority |
100 |
Protocol | SIP |
Mode | Alias pattern match |
Pattern type | Regex |
Pattern string | .*@conf\.pod8\.cms\.lab.* |
Pattern behavior | Leave |
On successful match |
Continue Because we want it to try CMS1b, if necessary |
Target | CMS1a Zone |
Now we can configure the CMS Domain to CMS1b rule. Except for the target and a higher Priority, it will be identical to the To CMS1a Zone
Finally we configure the CMS Domain to CMS1c Search rule.
One other call flow to consider is numeric dialing to a Space. The LDAP-imported Spaces were created with a number pattern of 7508XXXX. When Unified CM routes a numeric call, it will append the destination IP address or FQDN, depending on what is specified in the outbound SIP trunk. This means that a call destined to 75080001 will be sent to Expressway with a URI of 75080001@expc1a.pod8.cms.lab. We will add a Transform in Expressway to re-write the call so that it becomes 75080001@conf.pod8.cms.lab, for which the configured Search rules will route the call to CMS.
Now calls to CMS can be tested.