cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
643
Views
0
Helpful
7
Replies

PRI Descending not working

I have a PRI that I would like to use channel 23 first and work my way down to channel 1.  I did some looking and found the command isdn bchan-number-order {ascending | descending} so I attempted to apply this to my interface serial0/1/0:23 and found that it didn't seem to change anything infact it looks like descending is supposed to be default but it has always used channel 1 first as far as I could tell.  Am I missing something else that needs to be done in order to use these in a descending order?

1 Accepted Solution

Accepted Solutions

hunt-scheme sequential both down

See this link for a little bit more information. B-channel selection for PRIs in a trunk group 



Response Signature


View solution in original post

7 Replies 7

Descending is the default and that means that it starts on the highest numbered channel, ie 31 for E1 and 23 for T1. If you could share your configuration it would be much easier to provide you help.



Response Signature


Here is my running config
Current configuration : 6437 bytes
!
! Last configuration change at 09:00:46 MDT Tue Apr 18 2023 by voice
!
version 16.6
service timestamps debug datetime msec
service timestamps log datetime msec
platform qfp utilization monitor load 80
no platform punt-keepalive disable-kernel-core
!
hostname
!
boot-start-marker
boot-end-marker
!
!
vrf definition Mgmt-intf
!
address-family ipv4
exit-address-family
!
address-family ipv6
exit-address-family
!
card type t1 0 1
logging buffered 100000000
!
no aaa new-model
clock timezone MST -7 0
clock summer-time MDT recurring
!
!
!
!
!
!
!
!
!
!
!
subscriber templating
!
!
multilink bundle-name authenticated
!
!
!
!
isdn switch-type primary-ni
!
!
trunk group nfasgroup
!
!
!
!
!
!
voice call send-alert
voice rtp send-recv
!
voice service voip
ip address trusted list
ipv4 X.X.X.X X.X.X.X
rtp-port range 20000 21000
address-hiding
mode border-element
allow-connections sip to sip
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
redirect ip2ip
fax protocol t38 version 0 ls-redundancy 0 hs-redundancy 0 fallback none
sip
rel1xx supported "rel100"
registrar server expires max 3600 min 3600
early-offer forced
midcall-signaling passthru
!
!
!
voice class server-group 1
ipv4 X.X.X.X preference 1
ipv4 X.X.X.X preference 2
ipv4 X.X.X.X preference 3
!
!
!
!
!
!
!
!
voice-card 0/1
no watchdog
!
voice-card 0/4
no watchdog
!
license udi pid ISR4331/K9 sn XXXXXXX
diagnostic bootup level minimal
spanning-tree extend system-id
!
!
redundancy
mode none
!
controller T1 0/1/0
threshold sd-ber 6
threshold sf-ber 3
framing esf
clock source line primary
linecode b8zs
cablelength long 0db
pri-group timeslots 1-24
trunk-group nfasgroup timeslots 1-24
!
controller T1 0/1/1
threshold sd-ber 6
threshold sf-ber 3
shutdown
framing esf
linecode b8zs
cablelength long 0db
pri-group timeslots 1-24
!
controller T1 0/1/2
threshold sd-ber 6
threshold sf-ber 3
framing esf
linecode b8zs
cablelength long 0db
!
controller T1 0/1/3
threshold sd-ber 6
threshold sf-ber 3
framing esf
linecode b8zs
cablelength long 0db
!
!
!
!
!
!
!
!
interface GigabitEthernet0/0/0
ip address X.X.X.X X.X.X.X
negotiation auto
!
interface GigabitEthernet0/0/1
no ip address
shutdown
negotiation auto
!
interface GigabitEthernet0/0/2
no ip address
shutdown
negotiation auto
!
interface Service-Engine0/1/0
no ip address
!
interface Serial0/1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
!
interface Serial0/1/1:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
!
interface Service-Engine0/4/0
no ip address
!
interface GigabitEthernet0
vrf forwarding Mgmt-intf
no ip address
shutdown
negotiation auto
!
ip forward-protocol nd
ip http server
ip http authentication local
no ip http secure-server
ip http client source-interface GigabitEthernet0/0/0
ip tftp source-interface GigabitEthernet0
ip route 0.0.0.0 0.0.0.0 X.X.X.X
!
!
!
!
!
!
control-plane
!
!
voice-port 0/1/0:23
!
voice-port 0/1/1:23
!
mgcp behavior rsip-range tgcp-only
mgcp behavior comedia-role none
mgcp behavior comedia-check-media-src disable
mgcp behavior comedia-sdp-force disable
!
mgcp profile default
!
!
!
!
dial-peer voice 1 pots
incoming called-number .
direct-inward-dial
!
dial-peer voice 2 voip
description inbound from CUCM
session protocol sipv2
session transport udp
incoming called-number .
dtmf-relay rtp-nte cisco-rtp
codec g711ulaw
no vad
!
dial-peer voice 10 voip
description Callmanager Outbound Calling
destination-pattern ..........$
b2bua
session protocol sipv2
session transport udp
session server-group 1
dtmf-relay rtp-nte cisco-rtp
codec g711ulaw
no vad
!
dial-peer voice 91 pots
description NA Outbound Calling
destination-pattern 91[2-9]..[2-9]......
port 0/1/0:23
forward-digits 11
!
dial-peer voice 911 pots
description 911 Emergancy
translation-profile outgoing changeton
destination-pattern 911
port 0/1/0:23
forward-digits 3
!
dial-peer voice 9911 pots
description 911 Emergancy
destination-pattern 9911
port 0/1/0:23
forward-digits 3
!
dial-peer voice 92 pots
description Local Outbound Calling
destination-pattern 9[2-9]..[2-9]......
port 0/1/0:23
forward-digits 10
!
dial-peer voice 9011 pots
description International Outbound Calling
destination-pattern 9011T
port 0/1/0:23
prefix 011
!
dial-peer voice 311 pots
description Services Outbound Calling
destination-pattern 9[2-8]11
port 0/1/0:23
forward-digits 3
!
!
line con 0
privilege level 15
transport preferred none
transport input none
stopbits 1
line aux 0
stopbits 1
line vty 0 4
privilege level 15
login local
length 0
transport input ssh
line vty 5 15
privilege level 15
login local
transport input ssh
!
network-clock synchronization automatic
wsma agent exec
!
wsma agent config
!
wsma agent filesys
!
wsma agent notify
!
!
end

When I do a Show isdn service you can see there is a call in but it is using the first channel.

PRI Channel Statistics:
ISDN Se0/1/0:23, Channel [1-24]
Configured Isdn Interface (dsl) 0
Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart 5=Maint_Pend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 3
Service State (0=Inservice 1=Maint 2=Outofservice 8=MaintPend 9=OOSPend)
Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4
State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2

Actually, as it turns out this configuration does work... I grabbed it from the wrong gateway.  Looks like the issue is on my other gateway I use a trunk group instead of port for outgoing calls.  As that is the case is there a way to program trunk groups to go in reverse channel order?

Yes, you do it in the global trunk configuration.



Response Signature


Looks like they do not have a descending there.  Just least-idle, least-used, longest-idle, random, round-robin, and sequential.  Or is there something else I am missing?

hunt-scheme sequential both down

See this link for a little bit more information. B-channel selection for PRIs in a trunk group 



Response Signature


Thanks so much for the help!