cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2213
Views
0
Helpful
3
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

3 Replies 3

Hi Man,

You have got two dial peers with same preference (0 - default preference).

Most specific dial peer should match -

Dialed Number - 691

Dial peer 102 - 69[0-9] - Possible matches - 690 to 699

Dial Peer 3 - 69T - Possible matches - 690 to god knows, because T can accept any number of digits.

Thus in my opinion it should match Dial Peer 102

-> Sushil

Dial-peer 69[0-9] will be taken as it is best match in your example. Always best match dial-peer is taken into account.

On your exmaple first one cover 690 to 699 patterns where another one with T covers unlimited number of patterns.

rate if this help

Thanks for your information. As I previously config to the following, it is not working when customer dial 691. So, I will reconfig the dial-peer 102 and try whether it is working.

dial-peer voice 102 voip

destination-pattern 6..

Thanks

Man Leung

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: