msgbartop
msgbarbottom

21 Apr 16 PRI Error – L2IF_SendPkt Failed

Voice PRI Error on Cisco Router – TEI_ASSIGNED – **ERROR**: L2IF_SendPkt: idb is NULL – **ERROR**: process_rxdata:L2IF_SendPkt Failed

Recently I ran into a voice PRI issue. Customer was unable to make any calls and the command show isdn status displayed the following result:

Global ISDN Switchtype = primary-ni
ISDN Serial0/1/0:23 interface
dsl 0, interface ISDN Switchtype = primary-ni
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = TEI_ASSIGNED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x807FFFFF
Number of L2 Discards = 0, L2 Session ID = 33
Total Allocated ISDN CCBs = 0

After reviewing everything in the Cisco Call Manager and physical connectivity as well as verifying that circuit is good I decided to run a debug with the following command. debug isdn q921. I received the following output:

Apr 5 15:08:15.976: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:15.976: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:15.976: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:16.980: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:16.980: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:16.980: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:17.984: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:17.984: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:17.984: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:19.036: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:19.036: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:19.036: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:30.028: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:30.028: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:30.028: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:31.032: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:31.032: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:31.032: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:32.036: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:32.036: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:32.036: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed Apr 5 15:08:33.036: ISDN Se0/1/0:23 Q921: User RX <- SABMEp sapi=0 tei=0 Apr 5 15:08:33.036: ISDN Se0/1/0:23 **ERROR**: L2IF_SendPkt: idb is NULL Apr 5 15:08:33.036: ISDN Se0/1/0:23 **ERROR**: process_rxdata:L2IF_SendPkt Failed

After some research and looking at the router config this ended up being the culprit:

interface Serial0/1/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
isdn bind-l3 ccm-manager (THIS COMMAND WAS MISSING)
no cdp enable

After I added that command isdn bind-l3 ccm-manager back under the interface calls started to work and my show isdn status returned to MULTIPLE_FRAME_ESTABLISHED. You can see actually between the two results working one shows that q.931 is backhauled to CCM Manager however non working one does not say that.

Global ISDN Switchtype = primary-ni

%Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 0. Layer 3 output may not apply

ISDN Serial0/1/0:23 interface
dsl 0, interface ISDN Switchtype = primary-ni
L2 Protocol = Q.921 0x0000 L3 Protocol(s) = CCM MANAGER 0x0003
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0x807FFFFF
Number of L2 Discards = 0, L2 Session ID = 33
Total Allocated ISDN CCBs = 0

Tags: , , ,

Leave a Comment

WordPress SEO