HQ Config
!
controller T1 0/1/0
 pri-group timeslots 1-4,24 service mgcp
!
!
interface Serial0/1/0:23
 description to PSTN
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 isdn negotiate-bchan
 no cdp enable
!
ccm-manager mgcp
!
mgcp
mgcp call-agent 10.1.1.1 2427 service-type mgcp version 0.1
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
mgcp package-capability sst-package
mgcp package-capability pre-package
no mgcp package-capability res-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 ecm
mgcp rtp payload-type g726r16 static
!
mgcp profile default

PSTN Config

voice translation-profile BR-1_voice-port_in
 translate called 1211
!
voice translation-profile BR-2_voice-port_in
 translate called 2211
!
voice translation-profile HQ-1_voice-port_in
 translate called 1111
!
voice translation-profile HQ-2_voice-port_in
 translate called 2111

controller T1 0/0/0
 clock source internal
 cablelength short 110
 pri-group timeslots 1-4,24
!
controller T1 0/0/1
 clock source internal
 cablelength short 110
 pri-group timeslots 1-4,24

interface Serial0/0/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!
interface Serial0/0/1:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-ni
 isdn protocol-emulate network
 isdn incoming-voice voice
 no cdp enable
!

voice-port 0/0/0:23
 translation-profile incoming HQ-1_voice-port_in
 description HQ-1
!
voice-port 0/1/0:23
 translation-profile incoming HQ-2_voice-port_in
 description HQ-2
!
voice-port 0/0/1:23
 translation-profile incoming BR-1_voice-port_in
 description BR-1
!
voice-port 0/1/1:23
 translation-profile incoming BR-2_voice-port_in
 description BR-2

voice translation-rule 1111
 rule 1 /\(^01115215553...$\)/ /\1/
 rule 2 /\(^15215553...$\)/ /\1/
 rule 3 /\(^01115125552...$\)/ /\1/
 rule 4 /\(^15125552...$\)/ /\1/
 rule 5 /\(^01115225553...$\)/ /\1/
 rule 6 /\(^15225553...$\)/ /\1/
 rule 7 /^911$/ /9105/
 rule 8 /^1800.......$/ /9104/
 rule 9 /^1..........$/ /9102/
 rule 10 /^.......$/ /9101/
 rule 11 /.*/ /9103/ type international unknown
 rule 12 /^011.*/ /9103/
 rule 13 /.*/ /9106/
!
voice translation-rule 1211
 rule 1 /\(^01115115552...$\)/ /\1/
 rule 2 /\(^15115552...$\)/ /\1/
 rule 3 /\(^01115125552...$\)/ /\1/
 rule 4 /\(^15125552...$\)/ /\1/
 rule 5 /\(^01115225553...$\)/ /\1/
 rule 6 /\(^15225553...$\)/ /\1/
 rule 7 /^911$/ /9105/
 rule 8 /^1800.......$/ /9104/
 rule 9 /^1..........$/ /9102/
 rule 10 /^.......$/ /9101/
 rule 11 /.*/ /9103/ type international unknown
 rule 12 /^011.*/ /9103/
 rule 13 /.*/ /9106/
!
voice translation-rule 1711
 rule 1 /^1010111.*/ /9107/
!
voice translation-rule 1712
 rule 1 /.*/ /10101116665554444/ type any subscriber
!
voice translation-rule 2111
 rule 1 /\(^01115225553...$\)/ /\1/
 rule 2 /\(^15225553...$\)/ /\1/
 rule 3 /\(^01115115552...$\)/ /\1/
 rule 4 /\(^15115552...$\)/ /\1/
 rule 5 /\(^01115215553...$\)/ /\1/
 rule 6 /\(^15215553...$\)/ /\1/
 rule 7 /^911$/ /9205/
 rule 8 /^1800.......$/ /9204/
 rule 9 /^1..........$/ /9202/
 rule 10 /^.......$/ /9201/
 rule 11 /.*/ /9203/ type international unknown
 rule 12 /^011.*/ /9203/
 rule 13 /.*/ /9206/
!
voice translation-rule 2211
 rule 1 /\(^01115125552...$\)/ /\1/
 rule 2 /\(^15125552...$\)/ /\1/
 rule 3 /\(^01115115552...$\)/ /\1/
 rule 4 /\(^15115552...$\)/ /\1/
 rule 5 /\(^01115215553...$\)/ /\1/
 rule 6 /\(^15215553...$\)/ /\1/
 rule 7 /^911$/ /9205/
 rule 8 /^1800.......$/ /9204/
 rule 9 /^1..........$/ /9202/
 rule 10 /^.......$/ /9201/
 rule 11 /.*/ /9203/ type international unknown
 rule 12 /^011.*/ /9203/
 rule 13 /.*/ /9206/
!


Best Regards,

Alan Gardner


From: Larry Hadrava [mailto:[email protected]]
Sent: Tuesday, April 21, 2009 6:42 PM
To: Alan Gardner
Cc: [email protected]
Subject: Re: [OSL | CCIE_Voice] Voice translation problem

I see a few things that are interesting here:
Apr 21 18:45:46.547: //-1/75CB4B398002/RXRULE/regxrule_dp_translate: No profile 
found in peer 122 for outgoing direction

Can you show us your dial-peer 122?

 Voice port 0x469DF70C dsl=3 timeslot=4 does not belong to any trunk group

How is your pri-group setup? Are you using a partial PRI and maybe not using 
the bchan numbering order properly?

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful 
substitution; pattern=15215553001 matchPattern=(^15215553...$) 
replacePattern=\1 replaced pattern=15215553001

At some point there is a match in the received direction.

So, can you post the translation rule and tell us exactly what the desired 
outcome is?



Larry Hadrava
CCIE #12203 CCNP CCNA
Sr. Support Engineer - IPexpert, Inc.
URL: http://www.IPexpert.com

On Tue, Apr 21, 2009 at 2:30 PM, Alan Gardner 
<[email protected]<mailto:[email protected]>> wrote:

Trying to setup a voice translation lab and getting the following from the 
debug voice trans



Apr 21 18:45:46.503: 
//-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_voiceport_internal: Found 
profile BR-2_voice-port_in defined on voice-port

Apr 21 18:45:46.503: 
//-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal:

   Voice port 0x469DF70C dsl=3 timeslot=4 does not belong to any trunk group

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid 
translation ruleset tag=0

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: 
Error: ruleset for calling number not found

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=1

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=2

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=3

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=4

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=5

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: 
Matched with rule 6 in ruleset 2211

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=1

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=2

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=3

Apr 21 18:45:46.503: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=4

Apr 21 18:45:46.507: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=5

Apr 21 18:45:46.507: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful 
substitution; pattern=15215553001 matchPattern=(^15215553...$) 
replacePattern=\1 replaced pattern=15215553001

Apr 21 18:45:46.507: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_type: Match 
Type = none, Replace Type = none Input Type = unknown

Apr 21 18:45:46.507: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_plan: Match 
Plan = none, Replace Plan = none Input Plan = unknown

Apr 21 18:45:46.511: 
//-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_voiceport_internal: Found 
profile BR-2_voice-port_in defined on voice-port

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid 
translation ruleset tag=0

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: 
Error: ruleset for calling number not found

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=1

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=2

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=3

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=4

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=5

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_match_internal: 
Matched with rule 6 in ruleset 2211

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=1

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=2

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=3

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=4

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_match: No match; 
number=15215553001 rule precedence=5

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/sed_subst: Successful 
substitution; pattern=15215553001 matchPattern=(^15215553...$) 
replacePattern=\1 replaced pattern=15215553001

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_type: Match 
Type = none, Replace Type = none Input Type = unknown

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_subst_num_plan: Match 
Plan = none, Replace Plan = none Input Plan = unknown

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_RegXrule: Invalid 
translation ruleset tag=0

Apr 21 18:45:46.511: //-1/xxxxxxxxxxxx/RXRULE/regxrule_profile_subst_internal: 
Error: ruleset for redirect-called number not found

Apr 21 18:45:46.527: 
//-1/75CB4B398002/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x469DD474; 
count=1

Apr 21 18:45:46.527: 
//-1/75CB4B398002/RXRULE/regxrule_stack_pop_callinfo_internal: 
numinfo=0x48231FDC

Apr 21 18:45:46.539: 
//-1/75CB4B398002/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: 
stack=0x469DD474; count=1

Apr 21 18:45:46.547: 
//-1/75CB4B398002/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: 
stack=0x469DD474; count=2

Apr 21 18:45:46.547: //-1/75CB4B398002/RXRULE/regxrule_dp_translate: No profile 
found in peer 122 for outgoing direction

Apr 21 18:45:46.547: //-1/75CB4B398002/RXRULE/regxrule_dp_translate: 
calling_number=3001 calling_octet=0x0

        called_number=15215553001 called_octet=0x80

        redirect_number= redirect_type=-1 redirect_plan=-1      redirect_PI=-1 
redirect_SI=-1

Apr 21 18:45:46.547: //-1/75CB4B398002/RXRULE/regxrule_vp_translate: No profile 
found in voice port or trunk group for outgoing direction

Apr 21 18:45:46.547: //-1/75CB4B398002/RXRULE/regxrule_vp_translate: 
calling_number=3001 calling_octet=0x0

        called_number=15215553001 called_octet=0x80

        redirect_number= redirect_type=4294967295 redirect_plan=4294967295

Apr 21 18:45:46.611: 
//-1/75CB4B398002/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x0

Apr 21 18:45:47.827: 
//-1/75CB4B398002/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x469DD474; 
count=2

Apr 21 18:45:47.827: 
//-1/75CB4B398002/RXRULE/regxrule_stack_pop_callinfo_internal: 
numinfo=0x48232070



Any ideas on the problem





Thanks



Alan

Reply via email to