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

Dial-peer destination-pattern priority

cm6043
Level 1
Level 1

Dear all,

There are two dial-peer with 69[0-9] and 69T. Is there any priority which dial-peer will be selected first ? The following dial-peer is in Shengzhen voice router.

When user dial 691, what dial-peer will be selected ?

----------------------------

dial-peer voice 102 voip

description To Hong Kong Local Extension

destination-pattern 69[0-9]

session target ipv4:10.1.1.2

dial-peer voice 3 pots

trunkgroup PABX

description To Shangzhen Outgoing Call

destination-pattern 69T

forward-digits all

-------------------------------

Thanks

Man Leung

2 Replies 2

paolo bevilacqua
Hall of Fame
Hall of Fame

Use preference to decide which one has to be used first.

Hi Man,

When you receive a call in-bloc, you will do a longest-prefix match. If you are matching them digit-by-digit on an FXO port you'll match the dial-peer 3 because of the T.

-nick

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: