cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3649
Views
10
Helpful
4
Replies

9.@ route pattern

Eric.Wang
Level 1
Level 1

there is route pattern 9.@ with route filter applied which will send calls to certain area codes to route-list A

then there is another route pattern 9.1[2-9]XX[2-9]XXXXXX with route-list B

my confusion is the second route pattern seems more specific than 9.@ so domestic calls should follow route-list B but testing

shows calls to area codes defined in route-filter are going to route-list A

so what is the digit matching logic here?

2 Accepted Solutions

Accepted Solutions

Brandon Buffin
VIP Alumni
VIP Alumni

The @ wildcard is actually a representation of many different route patterns in the NANP. In this case, there is actually a pattern within @ that provides a closer match. Take a look at the following link.

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/5_0_4/ccmsys/a03rp.html#wp1050657

Hope this helps.

Brandon

View solution in original post

Michael Owuor
Cisco Employee
Cisco Employee

Hello Eric,

The logic is to use the route pattern with the closest match to the number dialed by determining how many possible matches there are for each route pattern. In your case example, assuming one of the area codes in the route filter used by the 9.@ route pattern is 212, and when testing, a number with that area code is dialed. The candidate patterns in this case are:

* 9.@ where AREA-CODE==212

* 9.1[2-9]XX[2-9]XXXXXX

The 9.@, is a macro that includes several individual route patterns that comprise the NANP, so in this case the pattern that is matched is 9.1212[2-9][02-9]XXXXX. So in effect the candidate patterns are:

* 9.1212[2-9][02-9]XXXXX

* 9.1[2-9]XX[2-9]XXXXXX

Using closest match logic, determine how many possible matches there are for each route pattern. The closest match is the pattern that has the fewest possible matches.

* 9.1212[2-9][02-9]XXXXX = 8 x 9 x 10 to the power of 5

* 9.1[2-9]XX[2-9]XXXXXX = 8 x 10 x 10 x 8 x 10 to the power of 6

The 9.@ route pattern is the closest match to the number dialed, and is therefore used.

Hope this helps.

Regards,

Michael.

View solution in original post

4 Replies 4

Brandon Buffin
VIP Alumni
VIP Alumni

The @ wildcard is actually a representation of many different route patterns in the NANP. In this case, there is actually a pattern within @ that provides a closer match. Take a look at the following link.

http://www.cisco.com/en/US/docs/voice_ip_comm/cucm/admin/5_0_4/ccmsys/a03rp.html#wp1050657

Hope this helps.

Brandon

Michael Owuor
Cisco Employee
Cisco Employee

Hello Eric,

The logic is to use the route pattern with the closest match to the number dialed by determining how many possible matches there are for each route pattern. In your case example, assuming one of the area codes in the route filter used by the 9.@ route pattern is 212, and when testing, a number with that area code is dialed. The candidate patterns in this case are:

* 9.@ where AREA-CODE==212

* 9.1[2-9]XX[2-9]XXXXXX

The 9.@, is a macro that includes several individual route patterns that comprise the NANP, so in this case the pattern that is matched is 9.1212[2-9][02-9]XXXXX. So in effect the candidate patterns are:

* 9.1212[2-9][02-9]XXXXX

* 9.1[2-9]XX[2-9]XXXXXX

Using closest match logic, determine how many possible matches there are for each route pattern. The closest match is the pattern that has the fewest possible matches.

* 9.1212[2-9][02-9]XXXXX = 8 x 9 x 10 to the power of 5

* 9.1[2-9]XX[2-9]XXXXXX = 8 x 10 x 10 x 8 x 10 to the power of 6

The 9.@ route pattern is the closest match to the number dialed, and is therefore used.

Hope this helps.

Regards,

Michael.

Hi Michael,

Superb description of how this works! +5 points for this great work.

Cheers!

Rob

Thanks for that Rob! Hope your weekend's going well!

Regards,

Michael.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: