cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
914
Views
0
Helpful
3
Replies

Inbound Dial-peer help

gear53x11
Level 1
Level 1

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
!

3 Replies 3

Jeffrey Knuckle
Level 1
Level 1

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.

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
!

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.