Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] ISDN Cause Code 47 Errors


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
dnoll at wi.rr.com
Guest





PostPosted: Wed Jan 22, 2014 10:27 am    Post subject: [asterisk-users] ISDN Cause Code 47 Errors Reply with quote

We fairly recently switched service providers for our 4 PRI circuits. Since that time, we started to notice some failed inbound calls. These calls terminate with an ISDN cause code 47 'resource unavailble'. Most of the time I see this error on the first or second channel on the second span in a trunk group (This is the providers trunk group for hunting, not an Asterisk trunk group).  All the PRIs are setup as individual spans, we are not using NFAS. If the provider sets the hunt method to 'least recently used channel', then I can receive calls on other channels on the secondary span, it is just the first 2 that consistently fail.


We have had occasion where the error occurs on first span. If enough calls come in at the same time, callers who happen to land on channel 3 or above are OK. When the problem happens on the first span, if we physically disconnect the first span(RED alarm), the calls hunt to the second span and all calls seem to process properly. The only way to clear the cause 47 errors from the first span is a power cycle on the provider equipment. Power cycling my equipment does not solve the problem, only when I cycle their equipment.


The provider says the cause 47 is coming from my equipment, yet the 'core set debug on' log, unless I am reading it wrong, says it is coming from their side.


I have a second server as a backup. Both servers have identical hardware and software. When switching to the backup server, the problem remains.


I had the same setup on the previous provider, except using NFAS, and did not have this problem.


Am I reading the log correctly?
Do I have something setup incorrectly?
Is there any way to get even lower level debugging on the PRI?
Has anyone ever had this problem and if so what was done to resolve it?


Thanks in advance for any insight,
Dale




=============
general config info
=============
There are two trunk groups for hunting by the provider  TG1 = spans 2 and 4, TG2 = spans 1 and 3
I have two dual port cards in the server. Each card has 1 span from each TG so the lost of a card will keep the other span operational.  The provider does the same across VWIC cards.

The spans do NOT use NFAS.





==================
My equipment/software:
==================
2x Digium TE210 dual T1/E1 with hw echo canceler and timing cable installed.
Asterisk 1.8.12
dahdi 2.5.0.1
libpri 1.4.12


==============
Provider equipment: 
============== 
Cisco 2821 with 2  VWIC2-@MFT-T1/E1




=======================
Log sample with ISDN debug on
=======================
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Protocol Discriminator: Q.931 (Cool  len=87
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent from originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Message Type: SETUP (5)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [04 03 80 90 a2]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Bearer Capability (len= 5) [ Ext: 1  Coding-Std: 0  Info transfer capability: Speech (0)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                                User information layer 1: u-Law (34)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [18 03 a9 83 82]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                       ChanSel: As indicated in following octets
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                       Ext: 1  Channel: 2 Type: CPE]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [1c 1d 9f 8b 01 00 a1 17 02 01 1f 02 01 00 80 0f 43 65 6c 6c 20 50 68 6f 6e 65 20 20 20 57 49]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Facility (len=31, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01, 0x1F, 0x02, 0x01, 0x00, 0x80, 0x0F, 'Cell Phone   WI' ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [28 0f 43 65 6c 6c 20 50 68 6f 6e 65 20 20 20 57 49]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Display (len=15) [ Cell Phone   WI ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [6c 0c 21 80 34 31 34 33 33 31 32 34 37 30]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                           Presentation: Presentation permitted, user number not screened (0)  'NPANXXXXXX' ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [70 08 c1 33 34 34 36 37 31 31]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '3446711' ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Making new call for cref 6918
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 Received message for call 0xb750d598 on link 0x9b33f2c TEI/SAPI 0/0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing Q.931 Call Setup
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 4 (cs0, Bearer Capability)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 24 (cs0, Channel Identification)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 28 (cs0, Facility)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 40 (cs0, Display)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 108 (cs0, Calling Party Number)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 112 (cs0, Called Party Number)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Delayed processing IE 28 (cs0, Facility)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 ASN.1 dump
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   Context Specific [11 0x0B] <8B> Len:1 <01>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     <00> - "~"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   Context Specific/C [1 0x01] <A1> Len:23 <17>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     Integer(2 0x02) <02> Len:1 <01>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4       <1F> - "~"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     Integer(2 0x02) <02> Len:1 <01>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4       <00> - "~"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     Context Specific [0 0x00] <80> Len:15 <0F>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4       <43 65 6C 6C 20 50 68 6F-6E 65 20 20 20 57 49> - "Cell Phone   WI"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 ASN.1 end
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   interpretation Context Specific [11 0x0B] = 0 0x0000
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 INVOKE Component Context Specific/C [1 0x01]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   invokeId Integer(2 0x02) = 31 0x001F
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   operationValue Integer(2 0x02) = 0 0x0000
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   operationValue = ROSE_QSIG_CallingName
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   callingName Name
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   namePresentationAllowedSimple Context Specific [0 0x00] =
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     <43 65 6C 6C 20 50 68 6F-6E 65 20 20 20 57 49> - "Cell Phone   WI"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:8281 post_handle_q931_message: Call 6918 enters state 6 (Call Present).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] Span 4: Processing event PRI_EVENT_RING
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:5477 q931_call_proceeding: Call 6918 enters state 9 (Incoming Call Proceeding).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > DL-DATA request
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=10
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CALL PROCEEDING (2)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 TEI=0 Transmitting N(S)=104, window is open V(A)=104 K=7
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=10
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CALL PROCEEDING (2)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > [18 03 a9 83 82]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       ChanSel: As indicated in following octets
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Channel: 2 Type: CPE]
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04]     -- Accepting call from 'NPANXXXXXX' to '3446711' on channel 0/2, span 4
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [3446711@from-pstn:1] NoOp("DAHDI/i4/NPANXXXXXX-bb7", "Seven digits: 3446711") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [3446711@from-pstn:2] GotoIf("DAHDI/i4/NPANXXXXXX-bb7", "0?local-overrides,4143446711,1") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [3446711@from-pstn:3] Goto("DAHDI/i4/NPANXXXXXX-bb7", "4143446711,1") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Goto (from-pstn,4143446711,1)
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:1] NoOp("DAHDI/i4/NPANXXXXXX-bb7", "IVR call") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:2] Set("DAHDI/i4/NPANXXXXXX-bb7", "GROUP()=INBOUND") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:3] Answer("DAHDI/i4/NPANXXXXXX-bb7", "") in new stack
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:5660 q931_connect: Call 6918 enters state 8 (Connect Request).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > DL-DATA request
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=14
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CONNECT (7)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 TEI=0 Transmitting N(S)=105, window is open V(A)=105 K=7
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=14
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CONNECT (7)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > [18 03 a9 83 82]
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       ChanSel: As indicated in following octets
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Channel: 2 Type: CPE]
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > [1e 02 81 82]
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: Private network serving the local user (1)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                               Ext: 1  Progress Description: Called equipment is non-ISDN. (2) ]
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:4] Wait("DAHDI/i4/NPANXXXXXX-bb7", "") in new stack
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Protocol Discriminator: Q.931 (Cool  len=9
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent from originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Message Type: RELEASE COMPLETE (90)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [08 02 80 af]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                  Ext: 1  Cause: Resource unavailable, unspecified (47), class = Network Congestion (resource unavailable) (2) ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 Received message for call 0xb750d598 on link 0x9b33f2c TEI/SAPI 0/0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 8 (cs0, Cause)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:8567 post_handle_q931_message: Call 6918 enters state 0 (Null).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] Span 4: Processing event PRI_EVENT_HANGUP
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04]     -- Span 4: Channel 0/2 got hangup, cause 47







==============
Dahdi system.conf
==============
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" B8ZS/ESF RED 

span=1,3,0,esf,b8zs

# termtype: unknown
bchan=1-23
dchan=24
echocanceller=hwec,1-23


# Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" B8ZS/ESF RED 
span=2,4,0,esf,b8zs
# termtype: unknown
bchan=25-47
dchan=48
echocanceller=hwec,25-47


# Span 3: TE2/1/1 "T2XXP (PCI) Card 1 Span 1" B8ZS/ESF RED 
span=3,1,0,esf,b8zs
# termtype: unknown
bchan=49-71
dchan=72
echocanceller=hwec,49-71


# Span 4: TE2/1/2 "T2XXP (PCI) Card 1 Span 2" (MASTER) B8ZS/ESF RED 
span=4,2,0,esf,b8zs
# termtype: unknown
bchan=73-95
dchan=96
echocanceller=hwec,73-95


# Global data


loadzone = us
defaultzone = us





============
chan_dahdi.conf
============
[trunkgroups]
; NFAS config
;trunkgroup => 1,24,72
;trunkgroup => 2,48,96
;spanmap => 1,1,0
;spanmap => 3,1,1
;spanmap => 2,2,0
;spanmap => 4,2,1




[channels]


usecallerid=yes
hidecallerid=no
callwaiting=no
usecallingpres=yes
callwaitingcallerid=no
threewaycalling=no
transfer=no
cancallforward=no
callreturn=no
rxgain=-3.0

txgain=0.0
immediate=no

faxdetect=no


#include dahdi-channels.conf





===============
dahdi-channels.conf
===============
; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" B8ZS/ESF RED 
; General Trunking
group=1
context=from-pstn
switchtype=national
signalling=pri_cpe
pridialplan=unknown
prilocaldialplan=national
relaxdtmf=no
echocancel=yes
echocancelwhenbridged=no
channel => 1-23


; Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" B8ZS/ESF 
; IVR Trunking 
group=2
context=from-pstn
switchtype=national
signalling=pri_cpe
pridialplan=unknown
prilocaldialplan=national
relaxdtmf=yes
echocancel=yes
echocancelwhenbridged=yes
channel => 25-47


; Span 3: TE2/1/1 "T2XXP (PCI) Card 1 Span 1" B8ZS/ESF
; General Trunking
group=1
context=from-pstn
switchtype=national
signalling=pri_cpe
pridialplan=unknown
prilocaldialplan=national
relaxdtmf=no
echocancel=yes
echocancelwhenbridged=no
channel => 49-68


group=3
echocancel=no
channel => 69-71


; Span 4: TE2/1/2 "T2XXP (PCI) Card 1 Span 2" (MASTER) B8ZS/ESF RED
; IVR Trunking
group=2
context=from-pstn
switchtype=national
signalling=pri_cpe
pridialplan=unknown
prilocaldialplan=national
relaxdtmf=yes
echocancel=yes
echocancelwhenbridged=yes
channel => 73-95







====================================================== "The truth speaks for itself. I'm just the messenger."     Lyta Alexander - Babylon 5 ======================================================
Back to top
rmudgett at digium.com
Guest





PostPosted: Wed Jan 22, 2014 12:28 pm    Post subject: [asterisk-users] ISDN Cause Code 47 Errors Reply with quote

On Mon, Jan 20, 2014 at 5:16 PM, Dale Noll <dnoll@wi.rr.com (dnoll@wi.rr.com)> wrote:
Quote:
We fairly recently switched service providers for our 4 PRI circuits. Since that time, we started to notice some failed inbound calls. These calls terminate with an ISDN cause code 47 'resource unavailble'. Most of the time I see this error on the first or second channel on the second span in a trunk group (This is the providers trunk group for hunting, not an Asterisk trunk group).  All the PRIs are setup as individual spans, we are not using NFAS. If the provider sets the hunt method to 'least recently used channel', then I can receive calls on other channels on the secondary span, it is just the first 2 that consistently fail.


We have had occasion where the error occurs on first span. If enough calls come in at the same time, callers who happen to land on channel 3 or above are OK. When the problem happens on the first span, if we physically disconnect the first span(RED alarm), the calls hunt to the second span and all calls seem to process properly. The only way to clear the cause 47 errors from the first span is a power cycle on the provider equipment. Power cycling my equipment does not solve the problem, only when I cycle their equipment.


The provider says the cause 47 is coming from my equipment, yet the 'core set debug on' log, unless I am reading it wrong, says it is coming from their side.


I have a second server as a backup. Both servers have identical hardware and software. When switching to the backup server, the problem remains.


I had the same setup on the previous provider, except using NFAS, and did not have this problem.


Am I reading the log correctly?



Yes.  Asterisk has accepted the selected channel and CONNECTed the
call.  It is the peer that is disconnecting the call with cause 47.  This really

appears to be a problem in the providers equipment.

 
Quote:
Do I have something setup incorrectly?



I don't see anything wrong.

 
Quote:
Is there any way to get even lower level debugging on the PRI?


 
Not really.  The problem is at layer 3 (Q.931) not layer 2 (Q.921).  Turning on

intense PRI debug will add nothing but noise to the debug log.


<snip>



Quote:
=======================Log sample with ISDN debug on
=======================
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Protocol Discriminator: Q.931 (Cool  len=87
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent from originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Message Type: SETUP (5)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [04 03 80 90 a2]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Bearer Capability (len= 5) [ Ext: 1  Coding-Std: 0  Info transfer capability: Speech (0)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                              Ext: 1  Trans mode/rate: 64kbps, circuit-mode (16)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                                User information layer 1: u-Law (34)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [18 03 a9 83 82]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                       ChanSel: As indicated in following octets
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                       Ext: 1  Channel: 2 Type: CPE]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [1c 1d 9f 8b 01 00 a1 17 02 01 1f 02 01 00 80 0f 43 65 6c 6c 20 50 68 6f 6e 65 20 20 20 57 49]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Facility (len=31, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x17, 0x02, 0x01, 0x1F, 0x02, 0x01, 0x00, 0x80, 0x0F, 'Cell Phone   WI' ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [28 0f 43 65 6c 6c 20 50 68 6f 6e 65 20 20 20 57 49]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Display (len=15) [ Cell Phone   WI ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [6c 0c 21 80 34 31 34 33 33 31 32 34 37 30]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                           Presentation: Presentation permitted, user number not screened (0)  'NPANXXXXXX' ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [70 08 c1 33 34 34 36 37 31 31]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Called Number (len=10) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)  '3446711' ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Making new call for cref 6918
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 Received message for call 0xb750d598 on link 0x9b33f2c TEI/SAPI 0/0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing Q.931 Call Setup
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 4 (cs0, Bearer Capability)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 24 (cs0, Channel Identification)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 28 (cs0, Facility)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 40 (cs0, Display)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 108 (cs0, Calling Party Number)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 112 (cs0, Called Party Number)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Delayed processing IE 28 (cs0, Facility)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 ASN.1 dump
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   Context Specific [11 0x0B] <8B> Len:1 <01>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     <00> - "~"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   Context Specific/C [1 0x01] <A1> Len:23 <17>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     Integer(2 0x02) <02> Len:1 <01>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4       <1F> - "~"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     Integer(2 0x02) <02> Len:1 <01>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4       <00> - "~"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     Context Specific [0 0x00] <80> Len:15 <0F>
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4       <43 65 6C 6C 20 50 68 6F-6E 65 20 20 20 57 49> - "Cell Phone   WI"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 ASN.1 end
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   interpretation Context Specific [11 0x0B] = 0 0x0000
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 INVOKE Component Context Specific/C [1 0x01]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   invokeId Integer(2 0x02) = 31 0x001F
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   operationValue Integer(2 0x02) = 0 0x0000
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   operationValue = ROSE_QSIG_CallingName
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   callingName Name
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4   namePresentationAllowedSimple Context Specific [0 0x00] =
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4     <43 65 6C 6C 20 50 68 6F-6E 65 20 20 20 57 49> - "Cell Phone   WI"
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:8281 post_handle_q931_message: Call 6918 enters state 6 (Call Present).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] Span 4: Processing event PRI_EVENT_RING
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:5477 q931_call_proceeding: Call 6918 enters state 9 (Incoming Call Proceeding).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > DL-DATA request
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=10
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CALL PROCEEDING (2)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 TEI=0 Transmitting N(S)=104, window is open V(A)=104 K=7
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=10
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CALL PROCEEDING (2)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > [18 03 a9 83 82]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       ChanSel: As indicated in following octets
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Channel: 2 Type: CPE]
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04]     -- Accepting call from 'NPANXXXXXX' to '3446711' on channel 0/2, span 4
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [3446711@from-pstn:1] NoOp("DAHDI/i4/NPANXXXXXX-bb7", "Seven digits: 3446711") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [3446711@from-pstn:2] GotoIf("DAHDI/i4/NPANXXXXXX-bb7", "0?local-overrides,4143446711,1") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [3446711@from-pstn:3] Goto("DAHDI/i4/NPANXXXXXX-bb7", "4143446711,1") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Goto (from-pstn,4143446711,1)
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:1] NoOp("DAHDI/i4/NPANXXXXXX-bb7", "IVR call") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:2] Set("DAHDI/i4/NPANXXXXXX-bb7", "GROUP()=INBOUND") in new stack
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:3] Answer("DAHDI/i4/NPANXXXXXX-bb7", "") in new stack
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:5660 q931_connect: Call 6918 enters state 8 (Connect Request).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > DL-DATA request
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=14
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CONNECT (7)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 TEI=0 Transmitting N(S)=105, window is open V(A)=105 K=7
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Protocol Discriminator: Q.931 (Cool  len=14
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent to originator)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Message Type: CONNECT (7)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > [18 03 a9 83 82]
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Channel ID (len= 5) [ Ext: 1  IntID: Implicit  Other(PRI)  Spare: 0  Exclusive  Dchan: 0
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       ChanSel: As indicated in following octets
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                       Ext: 1  Channel: 2 Type: CPE]
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > [1e 02 81 82]
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 > Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: Private network serving the local user (1)
[Jan 14 12:56:04] VERBOSE[12568] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 >                               Ext: 1  Progress Description: Called equipment is non-ISDN. (2) ]
[Jan 14 12:56:04] VERBOSE[12568] pbx.c: [Jan 14 12:56:04]     -- Executing [4143446711@from-pstn:4] Wait("DAHDI/i4/NPANXXXXXX-bb7", "") in new stack
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Protocol Discriminator: Q.931 (Cool  len=9
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent from originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Message Type: RELEASE COMPLETE (90)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [08 02 80 af]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                  Ext: 1  Cause: Resource unavailable, unspecified (47), class = Network Congestion (resource unavailable) (2) ]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 Received message for call 0xb750d598 on link 0x9b33f2c TEI/SAPI 0/0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 8 (cs0, Cause)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:8567 post_handle_q931_message: Call 6918 enters state 0 (Null).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] Span 4: Processing event PRI_EVENT_HANGUP
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04]     -- Span 4: Channel 0/2 got hangup, cause 47




Richard
Back to top
andres at telesip.net
Guest





PostPosted: Wed Jan 22, 2014 12:57 pm    Post subject: [asterisk-users] ISDN Cause Code 47 Errors Reply with quote

Quote:
Quote:
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent from originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Message Type: RELEASE COMPLETE (90)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [08 02 80 af]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: User (0)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Ext: 1 Cause: Resource unavailable, unspecified (47), class = Network Congestion (resource unavailable) (2) ]





My guess is your provider did not have a free voice channel to pass audio at some leg in the call. There could be multiple legs in the call and one of them had 'Network Congestion'.
Quote:
Quote:
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 Received message for call 0xb750d598 on link 0x9b33f2c TEI/SAPI 0/0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 8 (cs0, Cause)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:8567 post_handle_q931_message: Call 6918 enters state 0 (Null). Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] Span 4: Processing event PRI_EVENT_HANGUP
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] -- Span 4: Channel 0/2 got hangup, cause 47




Richard







--
Technical Support
http://www.cellroute.net
Back to top
dnoll at wi.rr.com
Guest





PostPosted: Thu Jan 23, 2014 10:32 am    Post subject: [asterisk-users] ISDN Cause Code 47 Errors Reply with quote

Thanks Richard and Andres.

I had come to the same conclusion, however the provider was fairly snarky in saying is was my equipment.


We were able to replace the Cisco 2800 with a Cisco 2900 series and the problem appears to have been resolved.


Thanks again, I always appreciate another set of eyes just in case I missed something.


Dale





On Wed, Jan 22, 2014 at 11:57 AM, Andres <andres@telesip.net (andres@telesip.net)> wrote:
Quote:

Quote:
Quote:
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < TEI=0 Call Ref: len= 2 (reference 6918/0x1B06) (Sent from originator)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Message Type: RELEASE COMPLETE (90)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < [08 02 80 af]
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 < Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0  Location: User (0)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 <                  Ext: 1  Cause: Resource unavailable, unspecified (47), class = Network Congestion (resource unavailable) (2) ]






My guess is your provider did not have a free voice channel to pass audio at some leg in the call.  There could be multiple legs in the call and one of them had 'Network Congestion'.
Quote:
Quote:
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 Received message for call 0xb750d598 on link 0x9b33f2c TEI/SAPI 0/0
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 -- Processing IE 8 (cs0, Cause)
[Jan 14 12:56:04] VERBOSE[13262] chan_dahdi.c: [Jan 14 12:56:04] PRI Span: 4 q931.c:8567 post_handle_q931_message: Call 6918 enters state 0 (Null).  Hold state: Idle
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04] Span 4: Processing event PRI_EVENT_HANGUP
[Jan 14 12:56:04] VERBOSE[13262] sig_pri.c: [Jan 14 12:56:04]     -- Span 4: Channel 0/2 got hangup, cause 47




Richard










Quote:
--
Technical Support
http://www.cellroute.net


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services