Cisco – Troubleshoot T1 PRI
So we have been turning up a new PRI lately and had HUGE amounts of trouble with it. It all came down to the fact that the telco told us to use the wrong PRI type, but that’s the fix…the fun was in the journey. Here are the steps we took to resolve the issue.
We first do a show isdn status. You want to see MULTIPLE_FRAME_ESTABLISH. This means that everything is hunky dory.
Next we want to check the layer 3 ISDN info, so issue the debug isdn q931 command. Here you can see what would happen when we tried to make inbound calls.
As you can see, we were getting a disconnect message right after we received the status message from the telco. It just looks like the router no likey…but it turns out it was call manager that no likey.
If you issue the debug ccm-manager backhaul packets command, you would notice that the telco would send us status. Then the router would send an MGCP message to the callmanager. The callmanager would promptly reply with the disconnect message. The router would then pass this disconnect message to the telco. The line type was supposed to be NI2, so the router has the configuration set as such:
- network-clock-participate wic 1
- network-clock-select 1 T1 0/0
- voice-card 0
- dspfarm
- isdn switch-type primary-ni
- !
- controller T1 0/0
- framing esf
- linecode b8zs
- pri-group timeslots 1-24 service mgcp
- !
- mgcp
- mgcp call-agent 1.1.1.1 2427 service-type mgcp version 0.1
- mgcp dtmf-relay voip codec all mode out-of-band
- mgcp rtp unreachable timeout 1000 action notify
- mgcp modem passthrough voip mode nse
- mgcp package-capability rtp-package
- no mgcp package-capability res-package
- mgcp package-capability sst-package
- no mgcp package-capability fxr-package
- no mgcp timer receive-rtcp
- mgcp sdp simple
- mgcp fax t38 inhibit
- no mgcp explicit hookstate
- mgcp rtp payload-type g726r16 static
- !
- dial-peer voice 100 pots
- application mgcpapp
- port 0/0:23
- !
- interface Serial0/0:23
- description [CID]
- no ip address
- no logging event link-status
- isdn switch-type primary-ni !**this is for ni or ni2**
- isdn incoming-voice voice
- isdn bind-l3 ccm-manager
- no cdp enable
The fix was to set the pri type to 5E8 in the callmanager. Device -> Gateway -> MYGateway: PRI Type 5E8. Originally we had it set to NI2, as the carrier told us, but it doesn’t work that way. We would receive the status message which meant nothing to callmanager and we would disconnect.