12-26-2012 08:10 AM - edited 03-16-2019 02:53 PM
Hi folks,
I'm still not able to place a call from my pstn site to my cme site.
The calling number is 999 and the called number is 32143001
I am able to call from cme to the pstn site (999)
But backwards not.
I've checked my voice translation rules and dialpeers in my pstn site seems everything looks good.
Howe ever if i debug isdn q931 i see in my output "unallocated/unassigned number)
Can someone help me out please?
Further information:
PSTN gateway:
sh isdn status=> multiple frame estabishled
CME gateway:
also
Solved! Go to Solution.
12-26-2012 11:13 AM
Glad to hear that! :-) It was my pleasure. Happy New Year!
P.S. - Please mark this thread as answered :-)
Regards,
Harmit.
12-26-2012 08:14 AM
Please post the GW configuration and output of the debug.
Also, did you ensure that the GW configuration in CUCM is configured with proper CSS and sigDigits?
HTH,
Chris
12-26-2012 08:47 AM
Hi monasir81,
Please attach the running config of the PSTN gateway and also the output of "debug isdn q931".
Regards,
Harmit.
12-26-2012 09:40 AM
I'm adding some specific info of my pstn voicegateway
I not able to copy the output of my pstn gateway while debugging isdn q931 i'm hearing a busy tone.
This all is related of my PRI E1 voicetraffic
Here are the rules
voice translation-rule 1
rule 2 /^\(2123942123\)$/ /\1/ type any subscriber plan any isdn
rule 3 /^6178632683$/ /\0/ type any national plan any isdn
rule 4 /^32141891$/ /34\0/ type any international plan any isdn
rule 5 /^6745738932$/ /91\0/ type any international plan any isdn
rule 6 /^9004522138$/ /\0/ type any national plan any isdn
!
voice translation-rule 2
rule 1 /^911$/ /\0/ type any unknown plan any unknown
rule 2 /^2123942123$/ /\0/ type any national plan any isdn
rule 3 /^617\(8632683\)$/ /\1/ type any subscriber plan any isdn
rule 4 /^32141891$/ /34\0/ type any international plan any isdn
rule 5 /^6745738932$/ /91\0/ type any international plan any isdn
rule 6 /^9004522138$/ /\0/ type any national plan any isdn
!
voice translation-rule 3
rule 1 /^911$/ /999/ type any unknown plan any unknown
rule 2 /^2123942123$/ /1\0/ type any international plan any isdn
rule 3 /^6178632683$/ /1\0/ type any international plan any isdn
rule 4 /^32141891$/ /\0/ type any national plan any isdn
rule 5 /^6745738932$/ /91\0/ type any international plan any isdn
rule 6 /^9004522138$/ /1\0/ type any international plan any isdn
!
voice translation-rule 34
rule 1 /^011/ /1234/
rule 2 /^911$/ /1234/
rule 3 /^1617/ /1234/
rule 4 /^1212/ /1234/
rule 5 /^212/ /1234/
rule 6 /^394/ /1234/
rule 7 /^617/ /1234/
rule 8 /^863/ /1234/
!
voice translation-rule 212
rule 1 /^1212/ /1234/
rule 2 /^1/ /\0/
rule 3 /^394/ /\0/
rule 4 /^011/ /\0/
rule 5 /^212/ /\0/
rule 6 /^911$/ /\0/
rule 9 /./ /1234/
!
voice translation-rule 617
rule 1 /^1617/ /1234/
rule 2 /^1/ /\0/
rule 3 /^863/ /\0/
rule 4 /^011/ /\0/
rule 5 /^617/ /\0/
rule 6 /^911$/ /\0/
rule 9 /./ /1234/
!
!
voice translation-profile block-call-into-BR1
translate called 617
!
voice translation-profile block-call-into-BR2
translate called 34
!
voice translation-profile block-call-into-HQ
translate called 212
!
voice translation-profile display-proper-ani-into-BR1
translate calling 2
!
voice translation-profile display-proper-ani-into-BR2
translate calling 3
!
voice translation-profile display-proper-ani-into-HQ
translate calling 1
controller E1 0/0/0
clock source internal
pri-group timeslots 1-3,16
description ** E1 VOICE CONNECTION TO BR2-RTR **
interface Serial0/0/0:15
description ** E1 PRI D-CHANNEL TO BR2-RTR **
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn protocol-emulate network
isdn incoming-voice voice
no isdn outgoing display-ie
no cdp enable
voice-port 0/0/0:15
translation-profile outgoing display-proper-ani-into-BR2
description ** PRI VOICE TRUNK TO BR2-RTR **
Am i missing something??
Calls from other sites (HQ, BR1,BR2 ) to PSTN site works fine.
But backwards not
12-26-2012 09:45 AM
Hi moasir81,
You didnt share the dialpeer config, can you share that as well? I see you've applied the translation profile to convert the calling party numbers (ANI). Not sure why you aren't able to capture debug isdn q931. Can you capture "debug voip ccapi inout" instead and upload it here?
Regards,
Harmit.
12-26-2012 10:16 AM
Harmit,
Nowe i am able to get output see below.
This is a call placing from pstn gateway to callmanager express gateway
Dec 26 20:27:52.663: ISDN Se0/0/0:15 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Calling num 999
Dec 26 20:27:52.667: ISDN Se0/0/0:15 Q931: Sending SETUP callref = 0x008A callID = 0x800B switch = primary-ni interface = Network
Dec 26 20:27:52.667: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = 0x008A
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 = 0x8583 - Origination address is non-ISDN
Calling Party Number i = 0x0080, '999'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '32143005'
Plan:Unknown, Type:Unknown
Dec 26 20:27:52.691: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x808A
Channel ID i = 0xA98381
Exclusive, Channel 1
Dec 26 20:27:52.699: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x808A
Cause i = 0x8081 - Unallocated/unassigned number
Dec 26 20:27:52.699: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x008A
Dec 26 20:27:52.711: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x808A
Dec 26 20:27:52.723: ISDN Se0/0/0:15 Q931: Applying typeplan for sw-type 0xD is 0x0 0x0, Calling num 999
Dec 26 20:27:52.723: ISDN Se0/0/0:15 Q931: Sending SETUP callref = 0x008B callID = 0x800C switch = primary-ni interface = Network
Dec 26 20:27:52.723: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = 0x008B
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 = 0x8583 - Origination address is non-ISDN
Calling Party Number i = 0x0080, '999'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '+3432143005'
Plan:Unknown, Type:Unknown
Dec 26 20:27:52.751: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x808B
Channel ID i = 0xA98381
Exclusive, Channel 1
Dec 26 20:27:52.755: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x808B
Cause i = 0x8081 - Unallocated/unassigned number
Dec 26 20:27:52.759: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x008B
Dec 26 20:27:52.767: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x808B
Do you see "unallocated/unassigned number?
Strange...dial peers are created..
Look below dial-peers of pstn gateway
PSTN-WAN#sh run | s dial-peer
dial-peer voice 100 pots
incoming called-number .
direct-inward-dial
dial-peer voice 201 voip
voice-class codec 1
incoming called-number .
dtmf-relay h245-alphanumeric
no vad
dial-peer voice 3 pots
destination-pattern 9T
port 0/0/0:15
dial-peer voice 103 pots
destination-pattern 32143...
port 0/0/0:15
forward-digits 8
dial-peer voice 104 pots
destination-pattern 32143...
no digit-strip
port 0/0/0:15
prefix +34
12-26-2012 10:25 AM
Hi monasir81,
It appears the unallocated/unassigned number is coming from far end. Can you do a debug isdn q931 on the CME end (far end)? Also, double check the translation on that end to make sure 32143001 is mapped to something like an IP phone.
Regards,
Harmit.
12-26-2012 10:32 AM
What exactly do you mean with "coming from far end"
if i do a debug from the other site ( in this case BR2-router CME) i get this..
Dec 26 18:28:07.262: ISDN Se0/2/0:15 Q931: RX <- SETUP pd = 8 callref = 0x0090
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 = 0x8583 - Origination address is non-ISDN
Calling Party Number i = 0x0080, '999'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '32143001'
Plan:Unknown, Type:Unknown
Dec 26 18:28:07.266: ISDN Se0/2/0:15 Q931: Received SETUP callref = 0x8090 callID = 0x0011 switch = primary-net5 interface = User
Dec 26 18:28:07.278: ISDN Se0/2/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8090
Channel ID i = 0xA98381
Exclusive, Channel 1
Dec 26 18:28:07.286: ISDN Se0/2/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x8090
Cause i = 0x8081 - Unallocated/unassigned number
Dec 26 18:28:07.294: ISDN Se0/2/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x0090
Dec 26 18:28:07.298: ISDN Se0/2/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8090
Dec 26 18:28:07.322: ISDN Se0/2/0:15 Q931: RX <- SETUP pd = 8 callref = 0x0091
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 = 0x8583 - Origination address is non-ISDN
Calling Party Number i = 0x0080, '999'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '+3432143001'
Plan:Unknown, Type:Unknown
Dec 26 18:28:07.326: ISDN Se0/2/0:15 Q931: Received SETUP callref = 0x8091 callID = 0x0012 switch = primary-net5 interface = User
Dec 26 18:28:07.338: ISDN Se0/2/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8091
Channel ID i = 0xA98381
Exclusive, Channel 1
Dec 26 18:28:07.346: ISDN Se0/2/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x8091
Cause i = 0x8081 - Unallocated/unassigned number
Dec 26 18:28:07.354: ISDN Se0/2/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x0091
Dec 26 18:28:07.358: ISDN Se0/2/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x8091
Dial-peer of branch 2 site below
BR2-RTR#sh run | s dial-peer
dial-peer voice 999 pots
translation-profile outgoing 8digitANI
destination-pattern 999
port 0/2/0:15
forward-digits 3
dial-peer voice 100 pots
incoming called-number .
direct-inward-dial
dial-peer voice 911 pots
translation-profile outgoing 8digitANI
destination-pattern 911
port 0/2/0:15
forward-digits 3
dial-peer voice 1 voip
incoming called-number .
dial-peer voice 901134 pots
destination-pattern 901134T
port 0/2/0:15
dial-peer voice 3000 voip
translation-profile outgoing 3000
destination-pattern 3000
session target ipv4:10.10.210.11
dtmf-relay h245-alphanumeric
no vad
dial-peer voice 3001 voip
translation-profile outgoing 3000
preference 1
destination-pattern 3000
session target ipv4:10.10.210.10
dial-peer voice 15 voip
destination-pattern [15]...
session target ras
tech-prefix 1#
no vad
Voice translation rule of branch 1 site below
voice translation-rule 1
rule 1 /^\(3...\)$/ /3214\1/
!
voice translation-rule 2
rule 1 /^32143/ /3/
rule 2 /^\+3432143/ /3/
!
!
voice translation-profile 8digitANI
translate calling 1
12-26-2012 10:46 AM
Hi monasir81,
By far end, I mean branch2 CME in this case. It is clear that the unallocated number is coming from the CME, not the PSTN gateway. It looks like you are only translating the calling number (ANI) here as well for the outbound calls from CME.
What you want to do is translate "32143001" to the IP phone extension. Assuming the extension is 3001, you want to strip off the initial 4 digits. You can do so as follows:
voice translation-rule 3
rule 1 /32143001/ /3001/
voice translation-profile 4digitDNIS
translate called 3
Apply this profile to the incoming POTS dialpeer (I'm guessing it's dial-peer voice 100 pots):
dial-peer voice 100 pots
translation-profile incoming 4digitDNIS
incoming called-number .
direct-inward-dial
HTH.
Regards,
Harmit.
12-26-2012 11:07 AM
Harmit,
It worked...
Very great!
Thanks very much i appreciate it
12-26-2012 11:13 AM
Glad to hear that! :-) It was my pleasure. Happy New Year!
P.S. - Please mark this thread as answered :-)
Regards,
Harmit.
12-26-2012 01:35 PM
You're as sharp as a raiser ;-)
Great effort
You also happy new year!
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