01-08-2010 11:21 AM - edited 03-15-2019 09:00 PM
I have the below config setup on a H.323 router. I am trying to get the 303-555-5338 number to ring to a different target at 10.255.201.11. However, it never matches that dial peer. It always hits dial-peer 900. I thought the DP with the longest explicit match would be triggered. Thanks,
dial-peer voice 100 pots
destination-pattern 9T
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 900 voip
tone ringback alert-no-PI
preference 2
destination-pattern 30355553..
voice-class codec 1
voice-class h323 1
session target ipv4:10.255.203.12
dtmf-relay cisco-rtp h245-alphanumeric
no vad
!
dial-peer voice 200 voip
destination-pattern 3035555338
session target ipv4:10.255.201.11
!
01-08-2010 11:43 AM
Yes you are correct, longest prefex wins....
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml#topic9
You need to specify the codec under dial peer 200 similar to dial peer 900. I am guessing that dial peer 200 does not work so the router use DP 900 instead, you can shutdown DP 900 to confirm.
01-08-2010 12:08 PM
Thanks.
I added the the missing pieces but it still is not triggering. This is a production router so I can't shut the dial-peer during the day.
dial-peer voice 100 pots
destination-pattern 9T
incoming called-number .
direct-inward-dial
port 0/0/0:23
!
dial-peer voice 900 voip
tone ringback alert-no-PI
preference 2
destination-pattern 30355553..
voice-class codec 1
voice-class h323 1
session target ipv4:10.255.203.12
dtmf-relay cisco-rtp h245-alphanumeric
no vad
!
dial-peer voice 200 voip
destination-pattern 3035555338
session target ipv4:10.255.201.11
tone ringback alert-no-PI
preference 2
voice-class codec 1
voice-class h323 1
dtmf-relay cisco-rtp h245-alphanumeric
no vad
!
01-08-2010 12:39 PM
Dial-peer config looks good... I would confirm that the device on the far-end is working and is configured to accept H.323 calls from this router.
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: