07-10-2009 01:59 AM - edited 03-17-2019 09:46 PM
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
07-10-2009 04:44 AM
Use preference to decide which one has to be used first.
07-13-2009 10:38 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide