10-12-2011 12:31 AM - edited 03-16-2019 07:27 AM
Dear all,
I have installed a PRI on a voice gateway router. I made the following configurations on a router to route the incoming calls towards IP Phone users.
card type e1 0 0
network-clock-participate wic 0
network-clock-select 1 E1 0/0/0
controller E1 0/0/0
pri-group timeslots 1-31 voice-dsp
interface Serial0/0/0:15
no ip address
encapsulation ppp
isdn switch-type primary-net5
isdn incoming-voice voice
no fair-queue
ip forward-protocol nd
!
ial-peer voice 100 voip
destination-pattern 1...
session target ipv4:192.168.100.2
!
dial-peer voice 20 pots
destination-pattern .T
incoming called-number 1...
port 0/0/0:15
!
If we made a call from PRI local netwrok vendor. Tham call properly towards IP Phone users. But if we made a call other than local network. e.g from mobile or other PSTN network than call doen't route towards a users, depiste of that we only hear a single tone. I also attached the debug file.
I enable followig debugs.
What is the problem? and what is the solution of this problem. If you require further details than I am also ready to share that.
Best Regards,
Ali Raza
10-12-2011 01:37 AM
Ali,
Can you try adding this lines to the dial peers
!
dial-peer voice 20 pots
direct-inward-dial
!
!
dial-peer voice 100 voip
incoming called-number .
dtmf-relay h245-alphanumeric
!
HTH
Alex
10-12-2011 03:34 AM
Hi Alex,
By adding thesee commands, we hear the following tape.
All lines are busy.
If you have any solution than please tell me.
Best Regards,
Ali Raza
10-12-2011 03:46 AM
Ali Raza
Can you try adding
interface Serial0/0/0:15
no ip address
encapsulation ppp
isdn switch-type primary-net5
isdn incoming-voice voice
no fair-queue
ip forward-protocol nd
isdn overlap-receiving
isdn overlap-receiving T302 2000
Regards
Alex
10-12-2011 03:53 AM
Hi Alex
This doesn't resolve the problem and it also showing that all lines are busy.
Best Regards,
Ali Raza
10-12-2011 04:08 AM
Ali Raza
Can you run
debug isdn q931
make a new call and post output
Regards
Alex
10-12-2011 04:20 AM
Hi Alex,
Please find the attach debug results.
*Oct 12 11:21:05.441: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8 callref = 0x0086
Bearer Capability i = 0x9090A3
Standard = CCITT
Transfer Capability = 3.1kHz Audio
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9838A
Exclusive, Channel 10
Progress Ind i = 0x8283 - Origination address is non-ISDN
Calling Party Number i = 0x0083, '04235761281F'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x81, '61010'
Plan:ISDN, Type:Unknown
*Oct 12 11:21:05.441: ISDN Se0/0/0:15 Q931: Received SETUP callref = 0x8086 callID = 0x0088 switch = primary-net5 interface = User
*Oct 12 11:21:05.445: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8 callref = 0x8086
Channel ID i = 0xA9838A
Exclusive, Channel 10
*Oct 12 11:21:05.445: ISDN Se0/0/0:15 Q931: TX -> CONNECT pd = 8 callref = 0x8086
*Oct 12 11:21:05.517: ISDN Se0/0/0:15 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x0086
*Oct 12 11:21:05.517: %ISDN-6-CONNECT: Interface Serial0/0/0:9 is now connected to 04235761281F N/A
*Oct 12 11:21:24.381: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8 callref = 0x0086
Cause i = 0x8090 - Normal call clearing
Progress Ind i = 0x8288 - In-band info or appropriate now available
Progress Ind i = 0x8283 - Origination address is non-ISDN
*Oct 12 11:21:24.381: %ISDN-6-DISCONNECT: Interface Serial0/0/0:9 disconnected from 04235761281F , call lasted 18 seconds
*Oct 12 11:21:24.385: ISDN Se0/0/0:15 Q931: call_disc: PI received in disconnect; Postpone sending RELEASE for callid 0x88
*Oct 12 11:21:50.445: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8 callref = 0x8086
*Oct 12 11:21:50.469: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x0086
Best Regards,
Ali Raza
10-12-2011 04:52 AM
Ali Raza.
Here is the problem
Called Party Number i = 0x81, '61010'
Your dial peer is looking to match only the 1010
So lets try adding
!
voice translation-rule 1
!###THIS TRANLATES I/C DIGITS
rule 1 /^[2-9]1/ /1/
Rule 2 /^1/ /1/
!
!
Voice translation-profile INCOME-DDI
translate called 1
!
voice-port 0/0/0:15
translation-profile incoming INCOME-DDI
!
Please try this and retest.
Let us know how it went
Regards
Alex
10-12-2011 05:21 AM
Hi Alex,
I try to do that but it doesn't resolve the problem. I already talked with PRI provider that we are also recieving digit 6 with our Extension numbers. At once they changed the configurations and 6 was not displaying with called number but still problem was not resolved. You can see in my first post. I also attach debug with that. Can you see anything else on debugs that I attach on first post. Also I have CUCM7.1(5) in a cluster.
Best Regards,
Ali Raza
10-12-2011 05:25 AM
Ali Raza,
I messed up with my original translation
Can you ammend the translation to
!
voice translation-rule 1
!###THIS TRANLATES I/C DIGITS
rule 1 /^[2-9]1/ /1/
Rule 2 /^1/ /1/
!
This should work
Regard
Alex
10-12-2011 10:10 PM
Hi Alex,
Problem still not resolved.
Best Regards,
Ali Raza
10-13-2011 02:34 AM
Ali Raza,
Now we have the translations added.
Can we have a new call with a new debug isdn q931
Can we also have a show run
Regards
Alex
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