12-08-2008 07:01 PM - edited 03-15-2019 02:58 PM
Hello everyone... I'm guessing this will be an easy fix, but I don't work with h.323 gateway config often.
I have the carrier delivering DID 5540-5559 (there are a few more ranges like this, but I am concentrating on this one to keep it simple to start off), which I am trying to map to internal extensions 4400-4419. This is the attempt I am making that isn't working:
...
!
voice translation-rule 1
rule 1 /^554/ /440/
rule 2 /^555/ /441/
rule 3 /^556/ /442/
rule 4 /^5573/ /4437/
rule 5 /^5570/ /4430/
rule 6 /^558/ /444/
rule 7 /^5597/ /4457/
rule 8 /^5601/ /4461/
rule 9 /^5612/ /4472/
!
!
voice translation-profile rochester-inbound
translate called 1
!
...
!
voice-port 1/0:0
!
dial-peer voice 4400 voip
destination-pattern 44..
session target ipv4:xxx.xxx.xxx.xxx
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 5500 pots
description Inbound calls from PSTN
translation-profile incoming rochester-inbound
destination-pattern 55..
incoming called-number 55..
port 1/0:0
!
...
The result I get from the 'debug voice translation-rule' when I dial 5540 from the PSTN is:
4d06h: //-1/F7578B518377/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x8349
3D70; count=2
4d06h: //-1/xxxxxxxxxxxx/RXRULE/regxrule_get_profile_from_trunkgroup_internal: V
oice port 0x8370A210 does not belong to any trunk group
4d06h: //-1/FD70F089837A/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x8409
937C; count=1
4d06h: //-1/FD70F089837A/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x840
9937C; count=0
4d06h: //-1/FD70F089837A/RXRULE/regxrule_stack_push_RegXruleNumInfo: stack=0x840
9937C; count=1
4d06h: //-1/FD70F089837A/RXRULE/regxrule_dp_translate: No profile found in peer
5500 for outgoing direction
4d06h: //-1/FD70F089837A/RXRULE/regxrule_dp_translate: calling_number= calling_o
ctet=0x0
called_number=5540 called_octet=0x81
redirect_number= redirect_type=0 redirect_plan=0 redirect_PI=0 re
direct_SI=0
4d06h: //-1/FD70F089837A/RXRULE/regxrule_vp_translate: No profile found in voice
port or trunk group for outgoing direction
4d06h: //-1/FD70F089837A/RXRULE/regxrule_vp_translate: calling_number= calling_o
ctet=0x0
called_number=5540 called_octet=0x81
redirect_number= redirect_type=0 redirect_plan=0
4d06h: //-1/FD70F089837A/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x8409
937C; count=2
Using 12.3(4)T1 on this 2621 with only 1 CAS T1 on 1/0:0.
12-09-2008 12:26 AM
I normally use test voice translation rule to test before.
If it is CAS not sure if rules will apply the same.
Could you please run the following debugs:
debug voice ccapi inou
debug vpm signal
debug voice translation-rule
debug dialpeer
thanks
01-22-2009 04:58 PM
Hi, try applying your inbound translation profile to your voice port.
e.g.
!
voice-port 1/0:0
translation-profile incoming rochester-inbound
!
Your voice translation rules (no.s 1&2 at least) are correct.
If you are still having problems post the same debug back in here and add another one with just the dial-peer debugging on.
Glenn
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide