cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4577
Views
3
Helpful
17
Replies

Can't Get Dial-Peer to Match - Config Included

Jesse Shumaker
Beginner
Beginner

for the life of me I can't get this dial-peer to match so I can route fax to email. I've attached the relavant config areas. I need to make it so that when someone dials into the line 4801234567 it matches dial-peer 7. It always grabs dial-peer 8 and is sent into the auto attendant. We have a PRI that brings in around 20 phone lines to the serial 0/2/0:23 port. I have tried to remove dial-peer 8 and dial-peer 7 still won't match. I have included information from the debug voip dial-peer.

What am I doing wrong? thanks

Voice Translations

voice translation-rule 1

rule 1 /4801234567/ /801/

!

voice translation-rule 4

rule 15 // //

!

voice translation-rule 5

rule 15 // //

!

voice translation-rule 9

rule 1 /^911$/ /911/

rule 2 /^9\(.*\)/ /\1/

rule 3 /^1400/ /400/

rule 4 /^3335/ /212/

rule 5 /^6366/ /201/

rule 6 /^08../ /400/

rule 7 /^63../ /400/

!

voice translation-rule 1000

rule 1 /.*/ //

!

voice translation-rule 1111

!

voice translation-rule 1112

rule 1 /^8/ //

!

voice translation-rule 2002

rule 1 /^6/ //

!

voice translation-rule 2222

rule 1 /^91900......./ //

rule 2 /^91976......./ //

!

!

voice translation-profile CALLER_ID_TRANSLATION_PROFILE

translate calling 1111

!

voice translation-profile CallBlocking

translate called 2222

!

voice translation-profile INCOMING-FAX

translate called 1

!

voice translation-profile OUTGOING_TRANSLATION_PROFILE

translate called 1112

!

voice translation-profile PROFILE_ALL_T1E1

translate calling 5

!

voice translation-profile XFER_TO_VM_PROFILE

translate redirect-called 2002

!

voice translation-profile nondialable

translate called 1000

!

voice translation-profile translation-incoming

translate called 9

Dial-Peers

dial-peer cor list call-internal

member internal

!

dial-peer cor list call-local

member local

!

dial-peer cor list call-domestic

member domestic

!

dial-peer cor list call-international

member international

!

dial-peer cor list call-900

member 900

!

dial-peer cor list call-976

member 976

!

dial-peer cor list user-internal

member internal

member emergency

!

dial-peer cor list user-local

member internal

member local

member emergency

member toll-free

!

dial-peer cor list user-domestic

member internal

member local

member domestic

member local-plus

member national

member emergency

member toll-free

!

dial-peer cor list user-international

member internal

member local

member domestic

member international

member local-plus

member national

member national-plus

member emergency

member toll-free

!

dial-peer cor list user900-internal

member internal

member 900

member 976

!

dial-peer cor list user900-local

member internal

member local

member 900

member 976

!

dial-peer cor list user900-domestic

member internal

member local

member domestic

member 900

member 976

!

dial-peer cor list user900-international

member internal

member local

member domestic

member international

member 900

member 976

!

dial-peer cor list call-local-plus

member local-plus

!

dial-peer cor list call-national

member national

!

dial-peer cor list call-national-plus

member national-plus

!

dial-peer cor list call-emergency

member emergency

!

dial-peer cor list call-toll-free

member toll-free

!

dial-peer cor list user-local-plus

member internal

member local

member local-plus

member emergency

member toll-free

!

dial-peer cor list user-national

member internal

member local

member domestic

member local-plus

member national

member emergency

member toll-free

!

dial-peer cor list user-national-plus

member internal

member local

member domestic

member local-plus

member national

member national-plus

member emergency

member toll-free

!

!

dial-peer voice 1 pots

service stcapp

port 0/0/0

!

dial-peer voice 2 pots

service stcapp

port 0/0/1

!

dial-peer voice 3 pots

service stcapp

port 0/0/2

!

dial-peer voice 4 pots

service stcapp

port 0/0/3

!

dial-peer voice 5 pots

description ** MOH Port **

destination-pattern ABC

port 0/4/0

no sip-register

!

dial-peer voice 50 pots

description ** incoming dial peer **

incoming called-number ^AAAA$

port 0/1/0

!

dial-peer voice 51 pots

description ** incoming dial peer **

incoming called-number ^AAAA$

port 0/1/1

!

dial-peer voice 52 pots

description ** incoming dial peer **

incoming called-number ^AAAA$

port 0/1/2

!

dial-peer voice 53 pots

description ** incoming dial peer **

incoming called-number ^AAAA$

port 0/1/3

!

dial-peer voice 2000 voip

description ** cue voicemail pilot number **

translation-profile outgoing XFER_TO_VM_PROFILE

destination-pattern 401

session protocol sipv2

session target ipv4:10.1.10.1

dtmf-relay sip-notify

codec g711ulaw

no vad

!

dial-peer voice 2001 voip

description ** cue auto attendant number **

translation-profile outgoing PSTN_CallForwarding

destination-pattern 400

session protocol sipv2

session target ipv4:10.1.10.1

dtmf-relay sip-notify

codec g711ulaw

no vad

!

dial-peer voice 54 pots

corlist outgoing call-emergency

description **CCA*North American-10-Digit*Emergency**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8911

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 55 pots

corlist outgoing call-emergency

description **CCA*North American-10-Digit*Emergency**

preference 5

destination-pattern 911

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 56 pots

corlist outgoing call-local

description **CCA*North American-10-Digit*10-Digit Local**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8[2-9]..[2-9]......

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 57 pots

corlist outgoing call-local

description **CCA*North American-10-Digit*Service Numbers**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8[2-9]11

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 58 pots

corlist outgoing call-national

description **CCA*North American-10-Digit*Long Distance**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81[2-9]..[2-9]......

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 60 pots

corlist outgoing call-international

description **CCA*North American-10-Digit*International**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 8011T

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 61 pots

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81800.......

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 62 pots

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81888.......

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 63 pots

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81877.......

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 64 pots

corlist outgoing call-toll-free

description **CCA*North American-10-Digit*Toll-Free**

translation-profile outgoing OUTGOING_TRANSLATION_PROFILE

preference 5

destination-pattern 81866.......

port 0/2/0:23

forward-digits all

no sip-register

!

dial-peer voice 2012 voip

description ** cue prompt manager number **

translation-profile outgoing PSTN_CallForwarding

destination-pattern 402

b2bua

voice-class sip outbound-proxy ipv4:10.1.10.1

session protocol sipv2

session target ipv4:10.1.10.1

dtmf-relay sip-notify

codec g711ulaw

no vad

!

dial-peer voice 2500 mmoip

description FAX TO EMAIL

service fax_on_vfc_onramp_app out-bound

destination-pattern 801

information-type fax

session target mailto:801@10.1.10.1

!

dial-peer voice 8 pots

description ** T1 PRI pots dial-peer **

incoming called-number .

direct-inward-dial

port 0/2/0:23

!

dial-peer voice 7 pots

description ** Incoming FAX **

translation-profile incoming INCOMING-FAX

service onramp

incoming called-number 4801234567

direct-inward-dial

port 0/2/0:23

Debug

UC520#a    debug voip dialpeer inout                  ce call                  

Sep 29 18:11:16.021: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=4808625579, Called Number=400, Voice-Interface=0x868C6AF8,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.021: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_INCOMING_DNIS; Incoming Dial-peer=8

Sep 29 18:11:16.021: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=4808625579, Called Number=400, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOICE, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_FAX

Sep 29 18:11:16.021: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=NO_MATCH(-1) After All Match Rules Attempt

Sep 29 18:11:16.021: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=400, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.021: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 18:11:16.025: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 18:11:16.025: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 18:11:16.029: //-1/E4F06F4F8059/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=400, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.029: //-1/E4F06F4F8059/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 18:11:16.029: //-1/E4F06F4F8059/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 18:11:16.029: //-1/E4F06F4F8059/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=400, Called Number=400, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=400, Called Number=400, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=400, Called Number=, Voice-Interface=0x0,

   Timeout=TRUE, Peer Encap Type=ENCAP_VOIP, Peer Search Type=PEER_TYPE_VOICE,

   Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.029: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_ORIGINATE; Incoming Dial-peer=2001

Sep 29 18:11:16.033: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=400, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.033: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 18:11:16.033: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 18:11:16.033: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 18:11:16.033: //-1/E4F06F4F8059/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=400, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.033: //-1/E4F06F4F8059/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 18:11:16.033: //-1/E4F06F4F8059/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 18:11:16.033: //-1/E4F06F4F8059/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 18:11:16.089: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Calling Number=, Called Number=4808625579, Peer Info Type=DIALPEER_INFO_SPEECH

Sep 29 18:11:16.089: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

17 Replies 17

Hi

First today is different day

Second without preference then both dial peers now have the default which means 0(same priority)

Dial peer 7 is specific dial peer for incoming calld number 6363.Dial peer 8 is for all the numbers ..

I suggest to put back the preference 1 to dial peer 8.Yes may you will not have any problem but may to get risk

Also remove rule 7 from voice translation-rule 9

voice translation-rule 9

rule 1 /^911$/ /911/

rule 2 /^9\(.*\)/ /\1/

rule 3 /^1400/ /400/

rule 4 /^3335/ /212/

rule 5 /^6366/ /201/

rule 6 /^08../ /400/

rule 7 /^63../ /400/

Did you reload the router after the config?

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""

So do the routers get tired and feel refreshed the next day and thus work harder to make the configs correct

No I didn't reload the router. and I did just now put the preference 1 back. so having dial-peer 8 on prefernce 1 will give dial-peer 7 the higher priority?

Exaclty about the router

Yes with preference 1 to dial 8 then dial peer 7 has now higher priority

Also if All the incoming numbers are 4 digits then .... is fine in dial peer 8.Otherwise put . which will handle any incoming digits.4 digits, 7 digits , 10 digits,etc

Please rate all useful posts Regards Chrysostomos ""The Most Successful People Are Those Who Are Good At Plan B""
Getting Started

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:

Recognize Your Peers