cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
550
Views
0
Helpful
2
Replies

REGEX ASSISTANCE FOR CISCO EXPRESSWAY CORE

Chet Cronin
Level 4
Level 4

My problem.
Expressway Core version 14.0.9
Call Manager 11.5

I have a Neighbor Zone with the CM.  
I want to dial from any VTC registered to the VCS.   I want to direct calls to  VoIP Phone and Video Phone registered to the CM. 
My dial plan is 10 digit dialing and all calls to example: 402 plus 10 digits to the CM "Except" 40234511XX, 40234510XX, 40234518XX, and 40234519XX.   
Will this rule work:  Regex: 402\d([^34510\d{2}][^34511\d{2}][^34518\d{2}][^34519\d{2}])   replace with \1  set start to the CM. 

Right now I have a Regex:  (40\d.+)    replace with \1@ xxx.xxx.xxx.xxx:5060   

It's causing loops when dialing out.   

Any good guidance will be extremely helpful. 

Thank you. 

 

Chet Cronin
1 Accepted Solution

Accepted Solutions

Agree the patterns should not be leading back to the Exp way ... I'll let the CUCM folks know. And also agree with using the FQDN vice IPV4 but not there yet ...  

Thanks. 

 

Chet Cronin

View solution in original post

2 Replies 2

Jonathan Schulenberg
Hall of Fame
Hall of Fame

There are plenty of RegEx tools available on the internet (I personally use regexr.com). Expressway also has a built-in pattern check tool in the menu. Try your expression out - but at first glance it probably exceeds the character limit on Expressway. It may need to be split across multiple rules.

A call loop would imply a misconfigurstion on CUCM; the incoming trunk CSS should not contain patterns leading back to Expressway.

PS- You may also want to review Cisco Expressway and CUCM via SIP Trunk Deployment Guide (CUCM 8,9,10,11 and X8.8) and Configure URI Dialing. Expressway should be formatting the Request URI to the Cluster FQDN of CUCM, not an IPv4 address of an individual node.

Agree the patterns should not be leading back to the Exp way ... I'll let the CUCM folks know. And also agree with using the FQDN vice IPV4 but not there yet ...  

Thanks. 

 

Chet Cronin