cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
2816
Views
3
Helpful
17
Replies
Highlighted
Beginner

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

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:

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Hi

Here is the  config

(First dial 801 internally and check what are you getting

(Second be sure that the incoming number is always 6363 and not nothing else

You are using rules that they are overlapping ..Remove anything that is not neccessary

(Save config and reload the router)

application

service onramp flash:/faxtoemail/app_faxmail_onramp.2.0.1.3.tcl

!

fax receive called-subscriber 6363

fax interface-type fax-mail

mta send server 192.168.10.5 port 25

mta send subject FAX Message

mta send postmaster fax@technologyspec.com

mta send mail-from hostname technologyspec.com

mta send mail-from username $s$

!

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@technologyspec.com

!

dial-peer voice 7 pots

description Incoming Fax

translation-profile incoming INCOMING-FAX

service onramp

incoming called-number 6363

direct-inward-dial

port 0/2/0:23

!

dial-peer voice 8 pots

description Incoming General

direct-inward-dial

incoming called-number .

preference 1

!

voice translation-rule 1

rule 1 /6363/ /801/

!

voice translation-profile INCOMING-FAX

translate called 1

!

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

View solution in original post

17 REPLIES 17
Highlighted
Contributor

Hi

My advice is to proceed with the below..

ONLY AS I SHOW BELOW AND TRY A TEST CALL

dial-peer voice 8 pots

description ** T1 PRI pots dial-peer **

incoming called-number .

direct-inward-dial

dial-peer voice 7 pots

description ** Incoming FAX **

translation-profile incoming INCOMING-FAX

service onramp

port 0/2/0:23

!

From the debug that you have provided i saw 400 called number and not 801.So we need also deb isdn q931, amd debug voice dial peer


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

thank you for your quick response.

so you are saying that if it used dial-peer 7 it would have shown the called number as 801 due to translating it? I did what you asked. here is output. seems to be throwing it in that 400 called number still. not sure why.

Sep 29 19:17:03.168: ISDN Se0/2/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0F57

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Facility i = 0x9F8B0100A116020101020100800E5348554D414B45522C4A45535345

                Protocol Profile =  Networking Extensions

                0xA116020101020100800E5348554D414B45522C4A45535345

                Component = Invoke component

                        Invoke Id = 1

                        Operation = CallingName

                                Name Presentation Allowed Extended

                                Name = SHUMAKER,JESSE

        Calling Party Number i = 0x0080, '4808625579'

                Plan:Unknown, Type:Unknown

        Called Party Number i = 0x80, '6363'

                Plan:Unknown, Type:Unknown

Sep 29 19:17:03.168: ISDN Se0/2/0:23 Q931: Received SETUP  callref = 0x8F57 callID = 0x005E switch = primary-ni interface = User

Sep 29 19:17:03.168: //-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 19:17:03.168: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

Sep 29 19:17:03.168: //-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 19:17:03.172: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

Sep 29 19:17:03.172: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.172: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.172: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.172: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.176: //-1/159F456B805F/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.176: //-1/159F456B805F/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.176: //-1/159F456B805F/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.176: //-1/159F456B805F/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.176: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.176: //-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 19:17:03.180: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

Sep 29 19:17:03.180: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.180: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.180: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.180: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.180: //-1/159F456B805F/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.180: //-1/159F456B805F/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.180: //-1/159F456B805F/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.180: //-1/159F456B805F/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.188: ISDN Se0/2/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x8F57

        Channel ID i = 0xA98381

                Exclusive, Channel 1

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=4808625579

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=NO_MATCH(-1)

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.248: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.248: ISDN Se0/2/0:23 Q931: TX -> ALERTING pd = 8  callref = 0x8F57

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=4808625579

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   No Outgoing Dial-peer Is Matched; Result=NO_MATCH(-1)

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=NO_MATCH(-1)

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=400

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

Sep 29 19:17:03.304: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=2001

Sep 29 19:17:03.304: ISDN Se0/2/0:23 Q931: TX -> CONNECT pd = 8  callref = 0x8F57

Sep 29 19:17:03.328: ISDN Se0/2/0:23 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x0F57

Sep 29 19:17:03.328: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 29 19:17:03.328: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 29 19:17:03.328: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 29 19:17:06.548: ISDN Se0/2/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x0F57

        Cause i = 0x8290 - Normal call clearing

Sep 29 19:17:06.548: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 29 19:17:06.548: %ISDN-6-DISCONNECT: Interface Serial0/2/0:0  disconnected from 4808625579 , call lasted 3 seconds

Sep 29 19:17:06.552: ISDN Se0/2/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x8F57

Sep 29 19:17:06.568: ISDN Se0/2/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x0F57

Highlighted

Hi

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/

You hit rule 7 (this is the problem)

Called Party Number i = 0x80, '6363'

So 6363 translated to 400..

what is the called number that you dial

Regards

chrysostomos

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

** READ MY NEXT POST BELOW **

ok so with that said how can I make the translation rule 1 take precedence over 9? the number is 4807296363.

I guess from now understanding this and seeing that only the last 4 digits arrive to my call manager, I need to modify rule 7 and place it under my voice translation 1 in order for the fax to use it. how does what I've changed look? so it's the only number that will be used. should I keep the rule 7 in place as it is because it will fall in after rule 1 and pick up all the numbers that start in 63 but end in other digits?

voice translation-rule 1

rule 1 /^6363/ /801/

Highlighted

Your translation profile for incoming call is using rule set 9. To what do you have the below profile attached?

voice translation-profile translation-incoming

translate called 9

Please rate all useful posts.

Sent from Cisco Technical Support iPhone App

Please rate all useful posts
Highlighted

any ideas?

It looks like I still need this to be the dial-peer that takes the incoming call, mainly because it will start the onramp fax service. I'm just not sure how to make it the dial-peer that grabs calls to this number (4807296363).

dial-peer voice 7 pots

description Incoming Fax

translation-profile incoming INCOMING-FAX

service onramp

incoming called-number .6363

direct-inward-dial

port 0/2/0:23

thanks

Highlighted
Participant

Matching an inbound dial-peer is usually done using the incoming called-number.

Configure dial-peer 7 to have incoming called of 6363 and dial peer 8 to have incoming called of ....

Both should be four digits (or symbols) so that the more specific one will be selected. If 8 has a shorter pattern than 7, ios will always pick 8.

HTH

Sent from Cisco Technical Support Android App

Highlighted
Participant

What's the purpose of the translation? Why not leave it a the 6363 it comes with?

Sent from Cisco Technical Support Android App

Highlighted

well I tried that and it gave the following debug output and gave a dial tone when I dialed the number from my phone. the number being 4807296363. nothing worked so I changed it back. here's the config now. I'm using it for inbound fax to email. I basically need the dial-peer 7 to grab calls to this number so it sends it into the fax service.

Here is the link I'm following on doing this:

https://communities.cisco.com/thread/7861

Fax Code

fax receive called-subscriber 4807296363

fax interface-type fax-mail

mta send server 192.168.10.5 port 25

mta send subject FAX Message

mta send postmaster fax@technologyspec.com

mta send mail-from hostname technologyspec.com

mta send mail-from username $s$

application

  service onramp flash:/faxtoemail/app_faxmail_onramp.2.0.1.3.tcl

Voice Translations

voice translation-rule 1

rule 1 /^6363/ /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 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

!

dial-peer voice 7 pots

description Incoming Fax

translation-profile incoming INCOMING-FAX

service onramp

incoming called-number 6363

direct-inward-dial

port 0/2/0:23

Sep 30 04:58:54.160: ISDN Se0/2/0:23 Q931: RX <- SETUP pd = 8  callref = 0x0F71

        Bearer Capability i = 0x8090A2

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA18381

                Preferred, Channel 1

        Facility i = 0x9F8B0100A116020101020100800E5348554D414B45522C4A45535345

                Protocol Profile =  Networking Extensions

                0xA116020101020100800E5348554D414B45522C4A45535345

                Component = Invoke component

                        Invoke Id = 1

                        Operation = CallingName

                                Name Presentation Allowed Extended

                                Name = SHUMAKER,JESSE

        Calling Party Number i = 0x0080, '4808625579'

                Plan:Unknown, Type:Unknown

        Called Party Number i = 0x80, '6363'

                Plan:Unknown, Type:Unknown

Sep 30 04:58:54.160: ISDN Se0/2/0:23 Q931: Received SETUP  callref = 0x8F71 callID = 0x0078 switch = primary-ni interface = User

Sep 30 04:58:54.164: //-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 30 04:58:54.164: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=54

Sep 30 04:58:54.164: //-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 30 04:58:54.164: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

Sep 30 04:58:54.164: //-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_SPEECH

Sep 30 04:58:54.164: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

Sep 30 04:58:54.164: //-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 30 04:58:54.164: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=54

Sep 30 04:58:54.172: ISDN Se0/2/0:23 Q931: TX -> CALL_PROC pd = 8  callref = 0x8F71

        Channel ID i = 0xA98381

                Exclusive, Channel 1

Sep 30 04:58:54.172: ISDN Se0/2/0:23 Q931: TX -> CONNECT pd = 8  callref = 0x8F71

Sep 30 04:58:54.200: ISDN Se0/2/0:23 Q931: RX <- CONNECT_ACK pd = 8  callref = 0x0F71

Sep 30 04:58:54.200: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 30 04:58:54.200: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 30 04:58:54.200: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

UC520#

Sep 30 04:58:57.180: ISDN Se0/2/0:23 Q931: RX <- DISCONNECT pd = 8  callref = 0x0F71

        Cause i = 0x8290 - Normal call clearing

Sep 30 04:58:57.184: %ISDN-6-CONNECT: Interface Serial0/2/0:0 is now connected to 4808625579 N/A

Sep 30 04:58:57.184: %ISDN-6-DISCONNECT: Interface Serial0/2/0:0  disconnected from 4808625579 , call lasted 2 seconds

Sep 30 04:58:57.184: ISDN Se0/2/0:23 Q931: TX -> RELEASE pd = 8  callref = 0x8F71

Sep 30 04:58:57.200: ISDN Se0/2/0:23 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x0F71

Highlighted

In the debug it shows that it uses dial peer 54 as the incoming.

Sep 30 04:58:54.164: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

Result=Success(0) after DP_MATCH_PORT; Incoming Dial-peer=54

Please post your entire config and both calling and called number, along with a debug isdn q931 for an incoming call to the fax.

Please rate all useful posts.

Sent from Cisco Technical Support iPhone App

Please rate all useful posts
Highlighted

Hi

Here is the  config

(First dial 801 internally and check what are you getting

(Second be sure that the incoming number is always 6363 and not nothing else

You are using rules that they are overlapping ..Remove anything that is not neccessary

(Save config and reload the router)

application

service onramp flash:/faxtoemail/app_faxmail_onramp.2.0.1.3.tcl

!

fax receive called-subscriber 6363

fax interface-type fax-mail

mta send server 192.168.10.5 port 25

mta send subject FAX Message

mta send postmaster fax@technologyspec.com

mta send mail-from hostname technologyspec.com

mta send mail-from username $s$

!

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@technologyspec.com

!

dial-peer voice 7 pots

description Incoming Fax

translation-profile incoming INCOMING-FAX

service onramp

incoming called-number 6363

direct-inward-dial

port 0/2/0:23

!

dial-peer voice 8 pots

description Incoming General

direct-inward-dial

incoming called-number .

preference 1

!

voice translation-rule 1

rule 1 /6363/ /801/

!

voice translation-profile INCOMING-FAX

translate called 1

!

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

View solution in original post

Highlighted

thank you very much. your config fixed it all and it's working great. I did make the port on the dial-peer 7 0/2/0:23. 15 wasn't an option.

Highlighted

Hi

Glad to hear that

0/2/0:15 is for E1 PRI ,

In your case is 0/2/0:23 because is T1 PRI

So yes 0/2/0:15 is not an option

Thank you for the nice rating

Regards

chrysotomos

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

I still don't know what made the difference though compared to the other config I had last night. I couldn't get dial-peer 7 to grab the call first but it works great this morning. I removed the preference 1 on the dial-peer 8 and changed the incoming called to .... and it still grabbed dial-peer 7. This was really where the crux of the issue was.

What do you think?