[asterisk-ss7] Error: cause 34 - Circuit/channel congestion

Marcus Vinicius marc_mcs10 at yahoo.com.br
Fri Sep 28 09:16:01 CDT 2012


Hi,

I have 5 E1 with libss7 1.0.2 and Asterisk 1.8.10.1. 
The first one is with one telco and the others are with another telco.

I noticed that after some weeks running, four of my circuit stop working. I can't make calls. But I can receive calls without problem. 
When this happens, I can't see any IAM message on outgoing calls.

When I try to make calls, I receive: 

    -- Executing [1030851732342778 at from-sip:1] Goto("SIP/Rede-00000e9a", "telefonica-ld85,0851732342778,1") in new stack
    -- Goto (telefonica-ld85,0851732342778,1)
    -- Executing [0851732342778 at telefonica-ld85:1] Set("SIP/Rede-00000e9a", "CALLERPRES()=allowed") in new stack
    -- Executing [0851732342778 at telefonica-ld85:2] Dial("SIP/Rede-00000e9a", "DAHDI/r2/0851732342778,200") in new stack
[Sep 27 17:03:44] WARNING[1072]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [0851732342778 at telefonica-ld85:3] Dial("SIP/Rede-00000e9a", "DAHDI/r12/0851732342778,200") in new stack
[Sep 27 17:03:44] WARNING[1072]: app_dial.c:2218 dial_exec_full: Unable to create channel of type 'DAHDI' (cause 34 - Circuit/channel congestion)
  == Everyone is busy/congested at this time (1:0/1/0)
    -- Executing [0851732342778 at telefonica-ld85:4] Hangup("SIP/Rede-00000e9a", "") in new stack
  == Spawn extension (telefonica-ld85, 0851732342778, 4) exited non-zero on 'SIP/Rede-00000e9a'

I receive this error: "cause 34 - Circuit/channel congestion", but Asterisk didn't even send the IAM message.

My linkset is UP all the time: 

SRR-JT-MGA01*CLI> dahdi show status
Description                              Alarms  IRQ    bpviol CRC    Fra Codi Options  LBO
AP408 Card 1 Span 1                      OK      0      0      0      CCS HDB3          0 db (CSU)/0-133 feet (DSX-1)
AP408 Card 1 Span 2                      OK      0      0      0      CCS HDB3          0 db (CSU)/0-133 feet (DSX-1)
AP408 Card 1 Span 3                      OK      0      0      0      CCS HDB3          0 db (CSU)/0-133 feet (DSX-1)
AP408 Card 1 Span 4                      OK      0      0      0      CCS HDB3          0 db (CSU)/0-133 feet (DSX-1)
AP408 Card 1 Span 5                      OK      0      0      0      CCS HDB3          0 db (CSU)/0-133 feet (DSX-1)


SRR-JT-MGA01*CLI> ss7 show linkset 3
SS7 linkset 3 status: Up


SRR-JT-MGA01*CLI> dahdi show channels  group 2
   Chan Extension  Context         Language   MOH Interpret        Blocked    State
     32            from-pstn-02    br         default                         In Service
     33            from-pstn-02    br         default                         In Service
     34            from-pstn-02    br         default                         In Service
     35            from-pstn-02    br         default                         In Service
     36            from-pstn-02    br         default                         In Service
     37            from-pstn-02    br         default                         In Service
     38            from-pstn-02    br         default                         In Service
     39            from-pstn-02    br         default                         In Service
     40            from-pstn-02    br         default                         In Service
     41            from-pstn-02    br         default                         In Service
     42            from-pstn-02    br         default                         In Service
     43            from-pstn-02    br         default                         In Service
     44            from-pstn-02    br         default                         In Service
     45            from-pstn-02    br         default                         In Service
     46            from-pstn-02    br         default                         In Service
     47            from-pstn-02    br         default                         In Service
    125            from-pstn-05    br         default                         In Service
    126            from-pstn-05    br         default                         In Service
    127            from-pstn-05    br         default                         In Service
    128            from-pstn-05    br         default                         In Service
    129            from-pstn-05    br         default                         In Service
    130            from-pstn-05    br         default                         In Service
    131            from-pstn-05    br         default                         In Service
    132            from-pstn-05    br         default                         In Service
    133            from-pstn-05    br         default                         In Service
    134            from-pstn-05    br         default                         In Service
    135            from-pstn-05    br         default                         In Service
    136            from-pstn-05    br         default                         In Service
    137            from-pstn-05    br         default                         In Service
    138            from-pstn-05    br         default                         In Service
    139            from-pstn-05    br         default                         In Service
    140            from-pstn-05    br         default                         In Service


To solve this issue, I need to make a "dahdi restart" command. 

After this, all come back to normally.

But after several weeks (maybe five or six) I have the same problem again.

Anyone knows how can I make a more specific debug to diagnostic this?


Config: 

; SS7 GENERAL CONFIG
signalling=ss7
ss7type=itu
ss7_called_nai=dynamic
ss7_calling_nai=dynamic
networkindicator=national

; ===== ===== THIS LINKSET WORKS WITH NO PROBLEM ALL THE TIME ===== ===== ;
linkset=1

;span 1
pointcode=781
defaultdpc=678
adjpointcode=678
context=from-pstn-01

group=1
cicbeginswith=1
channel=>1-15

group=11
cicbeginswith=301
channel=>17-31
sigchan=16


; ===== ===== THIS LINKSET STOPS WORKING AFTER SOME WEEKS ===== ===== ;
linkset=3
pointcode=882

; span 2
defaultdpc=2561
context=from-pstn-02

group=2
cicbeginswith=1
channel=>32-47

group=12
cicbeginswith=17
channel=>48-62

; span 3
defaultdpc=3993
context=from-pstn-03

group=3
cicbeginswith=1
channel=>63-77

group=13
cicbeginswith=17
channel=>79-93


; span 4
defaultdpc=3994
context=from-pstn-04

group=3,4
cicbeginswith=1
channel=>94-108

group=13,4
cicbeginswith=17
channel=>110-124


; span 5
defaultdpc=3995
context=from-pstn-05

group=2,5
cicbeginswith=1
channel=>125-140

group=12,5
cicbeginswith=17
channel=>141-155

adjpointcode=223
sigchan=109
sigchan=78



Thanks a lot,


--
Marcus Vinícius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-ss7/attachments/20120928/6adf1871/attachment-0001.htm>


More information about the asterisk-ss7 mailing list