01-14-2011 03:33 AM - edited 03-16-2019 02:52 AM
Debug result shows : Cause i = 0x809C - Invalid number format (incomplete number)
Translation Rule Configuration
voice translation-rule 1
rule 1 /2992/ /7001/
rule 2 /299+/ /330299/
voice translation-profile incoming
translate called 1
Dial-Peer Configuration
dial-peer voice 100 pots
trunkgroup 100
translation-profile incoming incoming
destination-pattern .T
incoming called-number .T
no digit-strip
direct-inward-dial
forward-digits all
dial-peer voice 1 voip
description --==to BREAS molnylce==--
destination-pattern 8..
voice-class codec 1
session target ipv4:3.213.149.200
incoming called-number .
dtmf-relay h245-alphanumeric
no vad
Debug Results
Jan 14 10:39:10.939: ISDN BR0/1/1 Q931: RX <- SETUP pd = 8 callref = 0x36
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x8A
Exclusive, B2
Calling Party Number i = 0x1181, '918049041155'
Plan:ISDN, Type:International
Called Party Number i = 0xA1, '2999'
Plan:ISDN, Type:National
Sending Complete
Jan 14 10:39:10.959: ISDN BR0/0/1 Q931: Applying typeplan for sw-type 0x1 is 0x1 0x1, Calling nu
GEHtpEFRlyonx1a#m 918049041155
Jan 14 10:39:10.963: ISDN BR0/0/1 Q931: Sending SETUP callref = 0x002D callID = 0x84A8 switch = basic-net3 interface = User
Jan 14 10:39:10.963: ISDN BR0/1/1 Q931: TX -> CALL_PROC pd = 8 callref = 0xB6
Channel ID i = 0x8A
Exclusive, B2
Jan 14 10:39:10.963: ISDN BR0/0/1 Q931: TX -> SETUP pd = 8 callref = 0x2D
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0x89
Exclusive, B1
Calling Party Number i = 0x1181, '918049041155'
Plan:ISDN, Type:International
Called Party Number i = 0xA1, '330299'
Plan:ISDN, Type:National
Sending Complete
Jan 14 10:39:11.031: ISDN BR0/0/1 Q931: RX <- CALL_PROC pd = 8 callref = 0xAD
Channel ID i = 0x89
Exclusive, B1
Jan 14 10:39:11.315: ISDN BR0/0/1 Q931: RX <- DISCONNECT pd = 8 callref = 0xAD
Cause i = 0x809C - Invalid number format (incomplete number)
Cause i = 0x809C - Invalid number format (incomplete number)
Jan 14 10:39:11.315: ISDN BR0/0/1 Q931
GEHtpEFRlyonx1a#: TX -> RELEASE pd = 8 callref = 0x2D
Cause i = 0x809C - Invalid number format (incomplete number)
Jan 14 10:39:11.347: ISDN BR0/0/1 Q931: RX <- RELEASE_COMP pd = 8 callref = 0xAD
Jan 14 10:39:11.359: ISDN BR0/1/1 Q931: TX -> DISCONNECT pd = 8 callref = 0xB6
Cause i = 0x809C - Invalid number format (incomplete number)
Jan 14 10:39:11.443: ISDN BR0/1/1 Q931: RX <- RELEASE pd = 8 callref = 0x36
Jan 14 10:39:11.447: ISDN BR0/1/1 Q931: TX -> RELEASE_COMP pd = 8 callref = 0xB6
01-14-2011 03:53 AM
You get a call for 2999 from PSTN.
You translate the DN to 330299 but you are missing one digit, it should be 3302999
update rule 2 /299+/ /330299/ with rule 2 /299+/ /3302999/
01-14-2011 03:54 AM
check out your translation rule 2, your only sending 6 digits instead of 7
rule 2 /299+/ /330299/
change it to to send the full number
*/ i wondered why there were loads of duplicate answers to questions... now I know , I took to long to type it out
01-14-2011 05:12 AM
Thanks This is working now.
Rule 3 was required in addition to what you mentioned to route the calls to the remaining DIDs.
voice translation-rule 1
rule 1 /2992/ /7001/
rule 2 /2999/ /3302999/
rule 3 /299+/ /330299/
Thanks
Abraham
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