Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Dial-peer destination-pattern priority

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

Re: Dial-peer destination-pattern priority

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

Re: Dial-peer destination-pattern priority

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

New Member

Re: Dial-peer destination-pattern priority

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

1700
Views
0
Helpful
3
Replies
CreatePlease to create content