cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1776
Views
8
Helpful
12
Replies

Translate rule 2921

Hello Friends,

I´m programming 2921 Cisco and translate rules, but calls can´t go from PSTN to internal numbering. My public numbers are 2414 83XX and 2414 84XX (2xE1 PRI ISDN). PSTN sends me last three digits (3XX and 4XX). My internal numbering is 63XX and my telephone cisco test is 6301. . What kind of translate rule can i do?  Can i see or monitoring the incoming calls after the translation rule? What command can i use?

GATEWAY 2921

GW-Sede-Sjoaquin#sh run

Building configurat

Current configuration : 6156 bytes

!

! Last configuration change at 18:31:08 UTC Wed Jun 5 2013 by utalca

version 15.2

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname GW-Sede-Sjoaquin

!

boot-start-marker

boot-end-marker

!

!

card type e1 0 0

!

no aaa new-model

network-clock-participate wic 0

network-clock-select 1 E1 0/0/0

!

ip cef

!

!

!

!

!

!

no ipv6 cef

multilink bundle-name authenticated

!

!

!

!

isdn switch-type primary-net5

!

!

trunk group LR

hunt-scheme round-robin

!

!

!

voice-card 0

dspfarm

dsp services dspfarm

!

!

!

voice service voip

fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none

h323

  h225 h245-address on-connect

modem passthrough nse codec g711alaw

!

voice class codec 100

codec preference 1 g729r8

codec preference 2 g711ulaw

codec preference 3 g711alaw

!

voice class h323 200

  h225 timeout tcp establish 3

  h225 timeout setup 3

!

!

!

!

voice translation-rule 1

rule 1 /\(3..$\)/ /6\1/

rule 2 /\(4..$\)/ /6\1/

!

voice translation-rule 2

rule 1 /\(3..$\)/ /6\1/

rule 2 /\(4..$\)/ /6\1/

!

!

voice translation-profile incPSTN

translate called 1

!

voice translation-profile incPSTN2

translate called 2

!

!

!

license udi pid CISCO2921/K9 sn FTX1712AJLK

hw-module pvdm 0/0

!

!

!

username utalca privilege 15 password 0 utalca

!

redundancy

!

!

controller E1 0/0/0

framing NO-CRC4

pri-group timeslots 1-31

!

controller E1 0/0/1

framing NO-CRC4

pri-group timeslots 1-31

!

csdb tcp synwait-time 30

csdb tcp idle-time 3600

csdb tcp finwait-time 5

csdb tcp reassembly max-memory 1024

csdb tcp reassembly max-queue-length 16

csdb udp idle-time 30

csdb icmp idle-time 10

csdb session max-session 65535

!

!

!

!

interface Embedded-Service-Engine0/0

no ip address

shutdown

!

interface GigabitEthernet0/0

ip address 10.200.10.2 255.255.255.0

duplex auto

speed auto

h323-gateway voip interface

h323-gateway voip bind srcaddr 10.200.10.2

!

interface GigabitEthernet0/1

no ip address

shutdown

duplex auto

speed auto

!

interface GigabitEthernet0/2

no ip address

shutdown

duplex auto

speed auto

!

interface Serial0/0/0:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

no cdp enable

!

interface Serial0/0/1:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

no cdp enable

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

ip route 0.0.0.0 0.0.0.0 10.200.10.1

!

!

!

!

control-plane

!

!

voice-port 0/0/0:15

!

voice-port 0/1/0

trunk-group LR

!

voice-port 0/1/1

trunk-group LR

!

voice-port 0/1/2

trunk-group LR

!

voice-port 0/1/3

trunk-group LR

!

voice-port 0/0/1:15

!

voice-port 0/2/0

trunk-group LR

!

voice-port 0/2/1

!

!

!

!

!

!

mgcp profile default

!

sccp local GigabitEthernet0/0

sccp ccm 10.200.1.5 identifier 1 version 3.1

sccp

!

sccp ccm group 1

associate ccm 1 priority 1

associate profile 1 register CFBbofaeb92b8d0

!

dspfarm profile 1 conference

codec g729br8

codec g729r8

codec g729abr8

codec g729ar8

codec g711alaw

codec g711ulaw

maximum sessions 4

associate application SCCP

!

dial-peer voice 1000 pots

description Llamadas PSTN

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

direct-inward-dial

port 0/0/0:15

forward-digits 8

!

dial-peer voice 1001 pots

description Llamadas Emergencia

destination-pattern 91[3-4].

direct-inward-dial

port 0/0/0:15

forward-digits 3

!

dial-peer voice 1002 pots

description Llamadas Informaciones

destination-pattern 910.

direct-inward-dial

port 0/0/1:15

forward-digits 3

!

dial-peer voice 1003 pots

description Llamadas 600

destination-pattern 9600.......

direct-inward-dial

port 0/0/1:15

forward-digits 10

!

dial-peer voice 1004 pots

description Llamadas 800

direct-inward-dial

port 0/0/1:15

forward-digits 9

!

dial-peer voice 1005 pots

description Llamadas LDN

destination-pattern 9188T

direct-inward-dial

port 0/0/1:15

prefix 188

!

dial-peer voice 1006 pots

description Llamadas LDI

destination-pattern 91880T

direct-inward-dial

port 0/0/1:15

prefix 1880

!

dial-peer voice 5000 voip

description Anexos Internos

destination-pattern ....

session target ipv4:10.200.1.5

incoming called-number .T

voice-class codec 100

voice-class h323 200

dtmf-relay cisco-rtp h245-alphanumeric

ip qos dscp cs5 media

!

dial-peer voice 1007 pots

description Llamadas Celulares

destination-pattern 909[5-9].......

direct-inward-dial

port 0/0/0:15

forward-digits 10

!

dial-peer voice 56 pots

translation-profile incoming incPSTN

incoming called-number .

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 57 pots

translation-profile incoming incPSTN2

preference 2

incoming called-number .

direct-inward-dial

port 0/0/1:15

!

dial-peer voice 1008 pots

description Desborde Llamadas PSTN

preference 2

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

direct-inward-dial

port 0/0/1:15

forward-digits 8

!

dial-peer voice 1009 pots

description Desborde Llamadas Celulares

preference 2

destination-pattern 909[5-9].......

direct-inward-dial

port 0/0/1:15

forward-digits 10

!

dial-peer voice 1010 pots

description Desborde Llamadas de Emergencia

preference 2

destination-pattern 91[3-4].

direct-inward-dial

port 0/0/1:15

forward-digits 3

!

dial-peer voice 1011 pots

trunkgroup LR

description Respaldo PSTN

preference 3

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

direct-inward-dial

forward-digits 8

!

dial-peer voice 1012 pots

trunkgroup LR

description Respaldo Celulares

preference 3

destination-pattern 909[5-9].......

direct-inward-dial

forward-digits 10

!

dial-peer voice 1013 pots

trunkgroup LR

description Respaldo Emergencias

destination-pattern 91[3-4].

direct-inward-dial

forward-digits 3

!

!

!

!

gatekeeper

shutdown

!

!

call-manager-fallback

max-conferences 4 gain -6

transfer-system full-consult

ip source-address 10.200.10.2 port 2000

max-ephones 55

max-dn 110

!

!

!

line con 0

line aux 0

line 2

no activation-character

no exec

transport preferred none

transport input all

transport output pad telnet rlogin lapb-ta mop udptn v120 ssh

stopbits 1

line vty 0 4

login local

transport input all

!

scheduler allocate 20000 1000

!

end

TRACE DEBUG

GW-Sede-Sjoaquin#terminal monitor

% Console already monitors

GW-Sede-Sjoaquin#debug isdn q931

debug isdn q931 is              ON.

GW-Sede-Sjoaquin#

*Jun 18 15:57:36.825: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x0068

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Calling Party Number i = 0x0183, '0981080968'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0xA1, '301'

                Plan:ISDN, Type:National

        Sending Complete

*Jun 18 15:57:36.825: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x8068 cal

lID = 0x0088 switch = primary-net5 interface = User

*Jun 18 15:57:36.833: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x

8068

        Channel ID i = 0xA98381

                Exclusive, Channel 1

*Jun 18 15:57:36.845: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0

x8068

        Cause i = 0x80A6 - Network out of order

*Jun 18 15:57:37.237: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x00

68

*Jun 18 15:57:37.237: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref =

0x8068

*Jun 18 15:58:13.841: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x01D9

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Calling Party Number i = 0x0183, '0981080968'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0xA1, '301'

                Plan:ISDN, Type:National

        Sending Complete

*Jun 18 15:58:13.841: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x81D9 cal

lID = 0x0089 switch = primary-net5 interface = User

*Jun 18 15:58:13.849: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x

81D9

        Channel ID i = 0xA98381

                Exclusive, Channel 1

*Jun 18 15:58:13.861: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0

x81D9

        Cause i = 0x80A6 - Network out of order

*Jun 18 15:58:13.997: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x01

D9

*Jun 18 15:58:13.997: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref =

0x81D9terminal monitor

*Jun 18 15:58:13.841: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x81D9 cal

lID = 0x0089 switch = primary-net5 interface = User

*Jun 18 15:58:13.849: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x

81D9

        Channel ID i = 0xA98381

                Exclusive, Channel 1

*Jun 18 15:58:13.861: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0

x81D9

        Cause i = 0x80A6 - Network out of order

*Jun 18 15:58:13.997: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x01

D9

*Jun 18 15:58:13.997: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref =

0x81D9terminal monitor

% Console already monitors

GW-Sede-Sjoaquin#

*Jun 18 16:01:53.893: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x1246

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Progress Ind i = 0x8283 - Origination address is non-ISDN

        Calling Party Number i = 0x0183, '22090466'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0xA1, '301'

                Plan:ISDN, Type:National

        Sending Complete

*Jun 18 16:01:53.893: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x9246 cal

lID = 0x008A switch = primary-net5 interface = User

*Jun 18 16:01:53.901: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x

9246

        Channel ID i = 0xA98381

                Exclusive, Channel 1

*Jun 18 16:01:53.913: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0

x9246

        Cause i = 0x80A6 - Network out of order

*Jun 18 16:01:54.265: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x12

46

*Jun 18 16:01:54.265: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref =

0x9246

12 Replies 12

Chris Deren
Hall of Fame
Hall of Fame

voice translation-rule 1

rule 1 /\(^3..\)/ /6\1/

rule 2 /\(^4..\)/ /6\1/

voice translation-profile Test

translate called 1

Apply to voice-port(s) as

voice-port 0/0/0:23

translation-profile incoming Test

To monitor use "debug voice translation"

HTH,

Chris

Chris,

I made you told me, but the problem goes on. The call don´t pass.

¿dial-peer or voice port?

GATEWAY 2921


voice translation-rule 1

rule 1 /\(^3..\)/ /6\1/

rule 2 /\(^4..\)/ /6\1/

!

voice translation-rule 2

rule 1 /\(^3..\)/ /6\1/

rule 2 /\(^4..\)/ /6\1/

!

!

voice translation-profile incPSTN

translate called 1

!

voice translation-profile incPSTN2

translate called 2

dial-peer voice 56 pots

translation-profile incoming incPSTN

incoming called-number .

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 57 pots

translation-profile incoming incPSTN2

preference 2

incoming called-number .

direct-inward-dial

port 0/0/1:15

voice-port 0/0/0:15

translation-profile incoming incPSTN

!

voice-port 0/1/0

trunk-group LR

!

voice-port 0/1/1

trunk-group LR

!

voice-port 0/1/2

trunk-group LR

!

voice-port 0/1/3

trunk-group LR

!

voice-port 0/0/1:15

translation-profile incoming incPSTN2

!

voice-port 0/2/0

trunk-group LR

!

voice-port 0/2/1

!

Please provide:

debug voice dialpeer

debug voice translation

debug isdn q931

Chris

Now it doesn't work. I called, but there isn't anything Chirs

GW-Sede-Sjoaquin#debug isdn q931

debug isdn q931 is              ON.

GW-Sede-Sjoaquin#debug voice dialpeer

voip dialpeer default debugging is on

GW-Sede-Sjoaquin#debug voice translation

VoIP Translation Rule debugging is enabled

GW-Sede-Sjoaquin#

Did you type in "term mon"?

Chris

GW-Sede-Sjoaquin#terminal monitor

GW-Sede-Sjoaquin#debug isdn q931

debug isdn q931 is              ON.

GW-Sede-Sjoaquin#

*Jun 18 21:37:28.936: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x1985

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Calling Party Number i = 0x0181, '24139496'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0xA1, '301'

                Plan:ISDN, Type:National

        Sending Complete

*Jun 18 21:37:28.936: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x9985 callID = 0x00DE switc

= primary-net5 interface = User

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_voiceport_internal: Found

rofile incPSTN defined on voice-port

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal:

   Voice port 0x33035738 dsl=0 timeslot=1 does not belong to any trunk group

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset

g=0

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: Error: ruleset for

alling number not found

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: Matched with rule

in ruleset 1

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful substitution; pattern=301 mat

Pattern=(^3..) replacePattern=6\1 replaced pattern=6301

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_type: Match Type = none, Replace

ype = none Input Type = national

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace

lan = none Input Plan = isdn

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=24139496, Called Number=6301, Voice-Interface=0x33035738,

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=24139496, Called Number=6301, Voice-Interface=0x0,

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

   Peer Info Type=DIALPEER_INFO_FAX

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6301 rule preceden

=1

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; number=6301 rule preceden

=2

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: No match found

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: Number parameters

not match ruleset in profile incPSTN

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_voiceport_internal: Found

rofile incPSTN defined on voice-port

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset

g=0

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: Error: ruleset for

alling number not found

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: Matched with rule

in ruleset 1

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful substitution; pattern=301 mat

Pattern=(^3..) replacePattern=6\1 replaced pattern=6301

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_type: Match Type = none, Replace

ype = none Input Type = national

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace

lan = none Input Plan = isdn

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset

g=0

*Jun 18 21:37:28.940: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: Error: ruleset for

edirect-called number not found

*Jun 18 21:37:28.940: //-1/1C008F808063/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAAE

count=1

*Jun 18 21:37:28.940: //-1/1C008F808063/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316

4A0

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack

x330BAAE0; count=1

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_translate_internal: number=2413949

type=unknown plan=isdn numbertype=calling

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset

g=0

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_match_internal: Error: ruleset for

alling number not found

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_translate_internal: No match: numb

=24139496 type=unknown plan=isdn

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_translate_internal: number= type=U

NOWN plan=UNKNOWN numbertype=redirect-called

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset

g=0

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_match_internal: Error: ruleset for

edirect-called number not found

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_translate_internal: No match: numb

= type=UNKNOWN plan=UNKNOWN

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_translate_internal: number=6301 ty

=national plan=isdn numbertype=called

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_match: No match; number=6301 rule preceden

=1

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_match: No match; number=6301 rule preceden

=2

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_match_internal: No match found

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_profile_translate_internal: No match: numb

=6301 type=national plan=isdn

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

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

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

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

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jun 18 21:37:28.944: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

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

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=1, saf_dndb_lookup=1, dp_result=0

*Jun 18 21:37:28.944: //-1/1C008F808063/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAAE

count=1

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316

4A0

*Jun 18 21:37:28.944: //-1/1C008F808063/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack

x330BAAE0; count=1

*Jun 18 21:37:28.948: //-1/1C008F808063/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAAE

count=1

*Jun 18 21:37:28.948: //-1/1C008F808063/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316

4A0

*Jun 18 21:37:28.948: //-1/1C008F808063/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack

x330BAAE0; count=1

*Jun 18 21:37:28.948: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x9985

        Channel ID i = 0xA98381

                Exclusive, Channel 1

*Jun 18 21:37:28.960: //-1/1C008F808063/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0

*Jun 18 21:37:28.960: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x9985

        Cause i = 0x80A6 - Network out of order

*Jun 18 21:37:29.300: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x1985

*Jun 18 21:37:29.300: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x9985

*Jun 18 21:37:29.300: //-1/1C008F808063/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAAE

count=1

*Jun 18 21:37:29.300: //-1/1C008F808063/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316

4A0

Your issue is with " Cause i = 0x80A6 - Network out of order"

As seen in the debugs call is translated to 6301 and dial-peer 5000 is matched, then you get this error message. Do you have H323 GW properly configured in CUCM?  Can you make an outbound call using this circuit?

Chris

Chirs,

Your help please...

GW-Sede-Sjoaquin#debug isdn q931

debug isdn q931 is              ON.

GW-Sede-Sjoaquin#csim start 924139496

csim: called number = 924139496, loop count = 1 ping count = 0

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=924139496

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=1000

     2: Dial-peer Tag=1008

     3: Dial-peer Tag=1011

     4: Dial-peer Tag=5000

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/RXRULE/regxrule_vp_translate: No profile found in voice por

or trunk group for outgoing direction

*Jun 19 13:45:51.992: //-1/xxxxxxxxxxxx/RXRULE/regxrule_vp_translate: calling_number= calling_octet

0x0

        called_number=924139496 called_octet=0x0

        redirect_number= redirect_type=4294967295 redirect_plan=4294967295

*Jun 19 13:45:51.992: ISDN Se0/0/0:15 Q931: Sending SETUP  callref = 0x0082 callID = 0x8009 switch

primary-net5 interface = User

*Jun 19 13:45:51.996: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8  callref = 0x0082

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA9839F

                Exclusive, Channel 31

        Called Party Number i = 0x80, '24139496'

                Plan:Unknown, Type:Unknown

*Jun 19 13:45:52.188: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x8082

        Channel ID i = 0xA9839F

                Exclusive, Channel 31

*Jun 19 13:45:52.704: ISDN Se0/0/0:15 Q931: RX <- PROGRESS pd = 8  callref = 0x8082

        Progress Ind i = 0x8284 - Call has returned to the ISDN

*Jun 19 13:45:52.884: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8  callref = 0x8082

*Jun 19 13:46:12.832: ISDN Se0/0/0:15 Q931: RX <- CONNECT pd = 8  callref = 0x8082

*Jun 19 13:46:12.832: ISDN Se0/0/0:15 Q931: TX -> CONNECT_ACK pd = 8  callref = 0x0082

*Jun 19 13:46:13.732: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8  callref = 0x8082

        Cause i = 0x8090 - Normal call clearing

*Jun 19 13:46:13.732: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8  callref = 0x0082

*Jun 19 13:46:13.764: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8  callref = 0x8082

csim err csimDisconnected recvd DISC cid(217)

csim: loop = 1, failed = 1

csim: call attempted = 1, setup failed = 1, tone failed = 0

GW-Sede-Sjoaquin#

*Jun 19 13:46:15.832: //-1/641EB439822D/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0

This originates the call from the GW and verifies nothing for us as we know GW answers call fine, what I was interested in is wheatear the CUCM handles it, please make the same call from a real IP phone registered to the CUCM.

Chris

Chris,

The call does not enter at 2921 gw.

________________________________________________________________________

sh run

voice translation-rule 1

rule 1 /\(^3..\)/ /6\1/

rule 2 /\(^4..\)/ /6\1/

!

voice translation-rule 2

rule 1 /\(^3..\)/ /6\1/

rule 2 /\(^4..\)/ /6\1/

!

voice translation-rule 3

!

!

voice translation-profile incPSTN

translate called 1

!

voice translation-profile incPSTN2

translate called 2

dial-peer voice 56 pots

translation-profile incoming incPSTN

incoming called-number .

direct-inward-dial

port 0/0/0:15

!

dial-peer voice 57 pots

translation-profile incoming incPSTN2

preference 2

incoming called-number .

direct-inward-dial

port 0/0/1:15

voice-port 0/0/0:15

!

voice-port 0/1/0

trunk-group LR

!

voice-port 0/1/1

trunk-group LR

!

voice-port 0/1/2

trunk-group LR

!

voice-port 0/1/3

trunk-group LR

!

voice-port 0/0/1:15

!

voice-port 0/2/0

trunk-group LR

!

voice-port 0/2/1

!

controller E1 0/0/0

framing NO-CRC4

pri-group timeslots 1-31

!

controller E1 0/0/1

framing NO-CRC4

pri-group timeslots 1-31

!

!

interface Serial0/0/0:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

no cdp enable

!

interface Serial0/0/1:15

no ip address

encapsulation hdlc

isdn switch-type primary-net5

isdn incoming-voice voice

no cdp enable

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

ip route 0.0.0.0 0.0.0.0 10.200.10.1

!

ice_____________________________________________________________________

GW-Sede-Sjoaquin#debug voice ccapi inout

voip ccapi inout debugging is on

GW-Sede-Sjoaquin#terminal monitor

GW-Sede-Sjoaquin#

*Jul  5 14:34:23.692: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x1AFA

        Bearer Capability i = 0x8090A3

                Standard = CCITT

                Transfer Capability = Speech

                Transfer Mode = Circuit

                Transfer Rate = 64 kbit/s

        Channel ID i = 0xA98381

                Exclusive, Channel 1

        Calling Party Number i = 0x0181, '24139496'

                Plan:ISDN, Type:Unknown

        Called Party Number i = 0xA1, '301'

                Plan:ISDN, Type:National

        Sending Complete

*Jul  5 14:34:23.696: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0x9AFA callID = 0x013D switch

= primary-net5 interface = User

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal:

   Voice port 0x33035738 dsl=0 timeslot=1 does not belong to any trunk group

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=24139496, Called Number=301, Voice-Interface=0x33035738,

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

   Calling Number=24139496, Called Number=301, Voice-Interface=0x0,

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

   Peer Info Type=DIALPEER_INFO_FAX

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=-1

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: Matched with rule 1

in ruleset 1

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful substitution; pattern=301 match

Pattern=(^3..) replacePattern=6\1 replaced pattern=6301

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_type: Match Type = none, Replace T

ype = none Input Type = national

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace P

lan = none Input Plan = isdn

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/DPM/dpMatchPeers:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal:

   Voice port 0x33035738 dsl=0 timeslot=1 does not belong to any trunk group

*Jul  5 14:34:23.696: //-1/D23D8EFA80C2/CCAPI/cc_api_display_ie_subfields:

   cc_api_call_setup_ind_common:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=24139496

   cisco-anitype=0

   cisco-aniplan=1

   cisco-anipi=0

   cisco-anisi=1

   dest=301

   cisco-desttype=2

   cisco-destplan=1

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-rdntype=-1

   cisco-rdnplan=-1

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

*Jul  5 14:34:23.696: //-1/D23D8EFA80C2/CCAPI/cc_api_call_setup_ind_common:

   Interface=0x33035738, Call Info(

   Calling Number=24139496,(Calling Name=)(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentati

on=Allowed),

   Called Number=301(TON=National, NPI=ISDN),

   Calling Translated=FALSE, Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE,

   Incoming Dial-peer=56, Progress Indication=NULL(0), Calling IE Present=TRUE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, CLID Transparent=FALSE), Call Id=-1

*Jul  5 14:34:23.696: //-1/D23D8EFA80C2/CCAPI/ccCheckClipClir:

   In: Calling Number=24139496(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)

*Jul  5 14:34:23.696: //-1/D23D8EFA80C2/CCAPI/ccCheckClipClir:

   Out: Calling Number=24139496(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Jul  5 14:34:23.696: :cc_get_feature_vsa malloc success

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Jul  5 14:34:23.696:  cc_get_feature_vsa count is 1

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Jul  5 14:34:23.696: :FEATURE_VSA attributes are: feature_name:0,feature_time:856336176,feature_id:

470

*Jul  5 14:34:23.696: //470/D23D8EFA80C2/CCAPI/cc_api_call_setup_ind_common:

   Set Up Event Sent;

   Call Info(Calling Number=24139496(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=All

owed),

   Called Number=301(TON=National, NPI=ISDN))

*Jul  5 14:34:23.696: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAC98;

count=1

*Jul  5 14:34:23.696: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316EC

4A0

*Jul  5 14:34:23.696: //470/D23D8EFA80C2/CCAPI/cc_process_call_setup_ind:

   Event=0x325BA0E0

*Jul  5 14:34:23.696: //-1/xxxxxxxxxxxx/CCAPI/cc_setupind_match_search:

   Try with the demoted called number 301

*Jul  5 14:34:23.696: //470/D23D8EFA80C2/CCAPI/ccCallSetContext:

   Context=0x34813514

*Jul  5 14:34:23.696: //470/D23D8EFA80C2/CCAPI/cc_process_call_setup_ind:

   >>>>CCAPI handed cid 470 with tag 56 to app "_ManagedAppProcess_Default"

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0

x330BAC98; count=1

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_translate_internal: number=24139496

type=unknown plan=isdn numbertype=calling

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset ta

g=0

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_match_internal: Error: ruleset for c

alling number not found

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_translate_internal: No match: number

=24139496 type=unknown plan=isdn

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_translate_internal: number= type=UNK

NOWN plan=UNKNOWN numbertype=redirect-called

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset ta

g=0

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_match_internal: Error: ruleset for r

edirect-called number not found

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_translate_internal: No match: number

= type=UNKNOWN plan=UNKNOWN

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_translate_internal: number=301 type=

national plan=isdn numbertype=called

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_match_internal: Matched with rule 1

in ruleset 1

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_match_internal: Matched with rule 1

in ruleset 1

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/sed_subst: Successful substitution; pattern=301 match

Pattern=(^3..) replacePattern=6\1 replaced pattern=6301

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_subst_num_type: Match Type = none, Replace T

ype = none Input Type = national

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace P

lan = none Input Plan = isdn

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/RXRULE/regxrule_profile_translate_internal: xlt_number=6301

xlt_type=national xlt_plan=isdn

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccCallProceeding:

   Progress Indication=NULL(0)

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

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

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

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

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

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

   Peer Info Type=DIALPEER_INFO_SPEECH

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore:

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

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=NULL, saf_enabled=0, saf_dndb_lookup=0, dp_result=0

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

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

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=0, saf_dndb_lookup=1, dp_result=0

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

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

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

   Match Rule=DP_MATCH_DEST; Called Number=6301

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersCore:

   Result=Success(0) after DP_MATCH_DEST

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchSafModulePlugin:

   dialstring=6301, saf_enabled=1, saf_dndb_lookup=1, dp_result=0

*Jul  5 14:34:23.700: //-1/D23D8EFA80C2/DPM/dpMatchPeersMoreArg:

   Result=SUCCESS(0)

   List of Matched Outgoing Dial-peer(s):

     1: Dial-peer Tag=5000

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccCallSetupRequest:

   Destination=, Calling IE Present=TRUE, Mode=0,

   Outgoing Dial-peer=5000, Params=0x34807D74, Progress Indication=NULL(0)

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccCheckClipClir:

   In: Calling Number=24139496(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccCheckClipClir:

   Out: Calling Number=24139496(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed)

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccCallSetupRequest:

   Destination Pattern=...., Called Number=6301, Digit Strip=FALSE

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccCallSetupRequest:

   Calling Number=24139496(TON=Unknown, NPI=ISDN, Screening=User, Passed, Presentation=Allowed),

   Called Number=6301(TON=National, NPI=ISDN),

   Redirect Number=, Display Info=

   Account Number=, Final Destination Flag=TRUE,

   Guid=D23D8EFA-E4B6-11E2-80C2-B0FAEB92B8D0, Outgoing Dial-peer=5000

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/cc_api_display_ie_subfields:

   ccCallSetupRequest:

   cisco-username=

   ----- ccCallInfo IE subfields -----

   cisco-ani=24139496

   cisco-anitype=0

   cisco-aniplan=1

   cisco-anipi=0

   cisco-anisi=1

   dest=6301

   cisco-desttype=2

   cisco-destplan=1

   cisco-rdie=FFFFFFFF

   cisco-rdn=

   cisco-rdntype=-1

   cisco-rdnplan=-1

   cisco-rdnpi=-1

   cisco-rdnsi=-1

   cisco-redirectreason=-1   fwd_final_type =0

   final_redirectNumber =

   hunt_group_timeout =0

*Jul  5 14:34:23.700: //470/D23D8EFA80C2/CCAPI/ccIFCallSetupRequestPrivate:

   Interface=0x320F4FD0, Interface Type=1, Destination=, Mode=0x0,

   Call Params(Calling Number=24139496,(Calling Name=)(TON=Unknown, NPI=ISDN, Screening=User, Passed

, Presentation=Allowed),

   Called Number=6301(TON=National, NPI=ISDN), Calling Translated=FALSE,

   Subscriber Type Str=RegularLine, FinalDestinationFlag=TRUE, Outgoing Dial-peer=5000, Call Count O

n=FALSE,

   Source Trkgrp Route Label=, Target Trkgrp Route Label=, tg_label_flag=0, Application Call Id=)

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Jul  5 14:34:23.700: :cc_get_feature_vsa malloc success

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Jul  5 14:34:23.700:  cc_get_feature_vsa count is 2

*Jul  5 14:34:23.700: //-1/xxxxxxxxxxxx/CCAPI/cc_get_feature_vsa:

*Jul  5 14:34:23.700: :FEATURE_VSA attributes are: feature_name:0,feature_time:856335952,feature_id:

471

*Jul  5 14:34:23.704: //471/D23D8EFA80C2/CCAPI/ccIFCallSetupRequestPrivate:

   SPI Call Setup Request Is Success; Interface Type=1, FlowMode=1

*Jul  5 14:34:23.704: //471/D23D8EFA80C2/CCAPI/ccCallSetContext:

   Context=0x34807D24

*Jul  5 14:34:23.704: //470/D23D8EFA80C2/CCAPI/ccSaveDialpeerTag:

   Outgoing Dial-peer=5000

*Jul  5 14:34:23.704: //471/D23D8EFA80C2/CCAPI/ccGetMediaClassTag:

   media class tag 0

*Jul  5 14:34:23.704: //471/D23D8EFA80C2/CCAPI/ccSetMediaclassIp2ipTags:

   media class tags set: NR 0, ASP 0

*Jul  5 14:34:23.704: //470/D23D8EFA80C2/CCAPI/ccSetMediaclassIp2ipTags:

   media class tags set: NR 0, ASP 0

*Jul  5 14:34:23.704: //471/D23D8EFA80C2/CCAPI/ccGet_xc_nr_asp_info:

   media class tags: NR 0, ASP 0

*Jul  5 14:34:23.704: //470/D23D8EFA80C2/CCAPI/ccGet_xc_nr_asp_info:

   media class tags: NR 0, ASP 0

*Jul  5 14:34:23.704: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAC98;

count=1

*Jul  5 14:34:23.704: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316EC

4A0

*Jul  5 14:34:23.704: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0

x330BAC98; count=1

*Jul  5 14:34:23.704: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAC98;

count=1

*Jul  5 14:34:23.704: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316EC

4A0

*Jul  5 14:34:23.704: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0

x330BAC98; count=1

*Jul  5 14:34:23.704: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0x9AFA

        Channel ID i = 0xA98381

                Exclusive, Channel 1

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/cc_api_call_disconnected:

   Cause Value=38, Interface=0x320F4FD0, Call Id=471

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/cc_api_call_disconnected:

   Call Entry(Responsed=TRUE, Cause Value=38, Retry Count=0)

*Jul  5 14:34:23.720: //470/D23D8EFA80C2/CCAPI/ccCallReleaseResources:

   release reserved xcoding resource.

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/ccCallSetAAA_Accounting:

   Accounting=0, Call Id=471

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/ccCallDisconnect:

   Cause Value=38, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=38)

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/ccCallDisconnect:

   Cause Value=38, Call Entry(Responsed=TRUE, Cause Value=38)

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/cc_api_get_transfer_info:

   Transfer Number=NULL

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/cc_api_call_disconnect_done:

   Disposition=0, Interface=0x320F4FD0, Tag=0x0, Call Id=471,

   Call Entry(Disconnect Cause=38, Voice Class Cause Code=0, Retry Count=0)

*Jul  5 14:34:23.720: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0

*Jul  5 14:34:23.720: //471/D23D8EFA80C2/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

*Jul  5 14:34:23.720: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Jul  5 14:34:23.720: :cc_free_feature_vsa freeing 330AA648

*Jul  5 14:34:23.720: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Jul  5 14:34:23.720:  vsacount in free is 1

*Jul  5 14:34:23.720: //470/D23D8EFA80C2/CCAPI/ccCallDisconnect:

   Cause Value=38, Tag=0x0, Call Entry(Previous Disconnect Cause=0, Disconnect Cause=0)

*Jul  5 14:34:23.720: //470/D23D8EFA80C2/CCAPI/ccCallDisconnect:

   Cause Value=38, Call Entry(Responsed=TRUE, Cause Value=38)

*Jul  5 14:34:23.720: //470/D23D8EFA80C2/CCAPI/cc_api_get_transfer_info:

   Transfer Number=NULL

*Jul  5 14:34:23.720: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x9AFA

        Cause i = 0x80A6 - Network out of order

*Jul  5 14:34:24.056: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x1AFA

*Jul  5 14:34:24.056: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0x9AFA

*Jul  5 14:34:24.056: //470/D23D8EFA80C2/CCAPI/cc_api_call_disconnect_done:

   Disposition=0, Interface=0x33035738, Tag=0x0, Call Id=470,

   Call Entry(Disconnect Cause=38, Voice Class Cause Code=0, Retry Count=0)

*Jul  5 14:34:24.056: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x330BAC98;

count=1

*Jul  5 14:34:24.056: //-1/D23D8EFA80C2/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x316EC

4A0

*Jul  5 14:34:24.056: //470/D23D8EFA80C2/CCAPI/cc_api_call_disconnect_done:

   Call Disconnect Event Sent

*Jul  5 14:34:24.060: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Jul  5 14:34:24.060: :cc_free_feature_vsa freeing 330AA728

*Jul  5 14:34:24.060: //-1/xxxxxxxxxxxx/CCAPI/cc_free_feature_vsa:

*Jul  5 14:34:24.060:  vsacount in free is 0

Claudio,

Please get "debug h225 asn1" along with "debug voip ccapi inout"

Additionally if possible provide the CCM traces detailed from RTMT?

Sent from Cisco Technical Support iPad App

Regards, Avinash

Nishant Savalia
Level 4
Level 4

Hi,

Could you please tell me the IP address that you see in CUCM where you have configured your H.323 gateway.

"Network out of Order" (cause value = 38) comes when there is mismatch between IP address to which your H323 is bind in your gateway configuration from the IP address that you see in CUCM.

I think in your case, gateway is sending h225 call setup message to cucm with some different source IP address which infact CUCM is not aware of that IP address. Hence CUCM is releasing the call with "Network Out of Order" which you can check with debug h225 asn1 or try to fetch trace from CUCM.

Regards, Nishant Savalia