Dial Peer Question

I have an existing dial peer:

dial-peer voice 4400 pots
 description Route to RightFAX
 destination-pattern 44[0-5].
 incoming called-number 44[0-5].
 direct-inward-dial
 port 0/1/0:23
 forward-digits all
!

I want to test with a new Rightfax server so I wanted to split one DID out of this and route it somewhere else so I created this:

dial-peer voice 4446 voip
 destination-pattern 4446
 session target ipv4:216.51.1.20
 incoming called-number 4446
 dtmf-relay h245-alphanumeric
 codec g711ulaw
 fax-relay ecm disable
 fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
 no vad

Doesnt it take the most specific one or I am thinking of something else?  Anyone know what I am doing wrong here because it is still routing to the old server.
mattpayne59Asked:
Who is Participating?
 
José MéndezConnect With a Mentor Commented:
Can you enable these:

debug voice dialpeer
debug isdn q931 --> if you have ISDN trunks
debug ccapi inou  -->

term mon  --> enable monitor logging

Reproduce the problem, capture the output and provide the calling number and called number.  Attach files to thread.
0
 
José MéndezCommented:
You have it right according to (Non-DID Case): http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml#topic7

Try changing the chronological configuration order of the dial-peers:

no dial-peer voice 4400

dial-peer voice 4400 pots
 description Route to RightFAX
 destination-pattern 44[0-5].
 incoming called-number 44[0-5].
 direct-inward-dial
 port 0/1/0:23
 forward-digits all

This should put dialpeer 4400 at the bottom of the dial-peer list in the configuration file. Or, you can manually accommodate dialpeer 4400 below 4446, and then reload the configuration from a TFTP. Really, anything that will make the system read dialpeer 4446 first.
0
 
mattpayne59Author Commented:
Same thing happened once I changed the order.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.