[AsteriskBrasil] (cause 34 - Circuit/channel congestion)

Rodrigo Graeff delphusbsd em gmail.com
Segunda Julho 20 12:13:27 BRT 2009


Galera, um help, realmente fui pego de surpresa nessa:

INFO:

popspo*CLI> dahdi show status
Description                              Alarms     IRQ        bpviol
CRC4      
wanpipe1 card 0                          OK         0          0
0         
wanpipe2 card 1                          OK         0          0
0         
popspo*CLI> core show version 
Asterisk 1.4.25.1 built by root @ popspo.othos.com.br on a i686 running
Linux on 2009-07-20 14:13:20 UTC
popspo*CLI> pri show version 
libpri version: 1.4.10.1

DAHDI Tools Version - 2.1.0.2

wanpipe2.conf

[devices]
wanpipe2 = WAN_AFT_TE1, Comment

[interfaces]
w2g1 = wanpipe2, , TDM_VOICE, Comment

[wanpipe2]
CARD_TYPE       = AFT
S514CPU         = A
CommPort        = PRI
AUTO_PCISLOT    = NO
PCISLOT         = 4
PCIBUS          = 11
FE_MEDIA        = E1
FE_LCODE        = HDB3
FE_FRAME        = NCRC4
FE_LINE         = 2
TE_CLOCK        = NORMAL
TE_REF_CLOCK    = 0
TE_HIGHIMPEDANCE        = NO
TE_RX_SLEVEL    = 120
LBO             = 120OH
TE_SIG_MODE     = CCS
FE_TXTRISTATE   = NO
MTU             = 1500
UDPPORT         = 9000
TTL             = 255
IGNORE_FRONT_END = NO
TDMV_SPAN       = 2
TDMV_DCHAN      = 16
TDMV_HW_DTMF    = YES

[w2g1]
ACTIVE_CH       = ALL
TDMV_ECHO_OFF   = NO
TDMV_HWEC       = YES

system.conf (dahdi)
loadzone=br
defaultzone=br

#Sangoma A104 port 2 [slot:4 bus:11 span:2] <wanpipe2>
span=2,1,1,ccs,hdb3
bchan=32-46
bchan=48-62
dchan=47

chan_dahdi.conf (asterisk)
[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
relaxdtmf=yes
rxgain=3.5
txgain=3.5
callprogress=yes
progzone=br
language=br
immediate=no

;Sangoma A104 port 2 [slot:4 bus:11 span:2] <wanpipe2>
group=2
signalling=pri_cpe
switchtype=euroisdn
channel => 33-46
echocancel=no
channel => 32-46
channel => 48-62


Estou usando span2 e group=2 pois o span 1 e grupo=1 estão funcionando
OK porém sao padrao cas (mfcr2) e o asterisk disca legal para
dahdi/g1/exten  porém quando disco pro dahdi/g2/exten ganho o erro:

WARNING[26458]: app_dial.c:1272 dial_exec_full: Unable to create channel
of type 'DAHDI' (cause 34 - Circuit/channel congestion)

debug....

popspo*CLI> pri show span 2
Primary D-channel: 47
Status: Provisioned, Down, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: 0
Logical Channel Mapping: 0
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T309 Timer: -1
T313 Timer: 4000
N200 Counter: 3

popspo*CLI> dahdi show c
cadences  channels  channel   
popspo*CLI> dahdi show ch
channels  channel   
popspo*CLI> dahdi show channel 32
Channel: 32 
File Descriptor: 53
Span: 2
Extension: 
Dialing: no
Context: default
Caller ID: 
Calling TON: 0
Caller ID name: 
Destroy: 0
InAlarm: 1
Signalling Type: ISDN PRI
Radio: 0
Owner: <None>
Real: <None>
Callwait: <None>
Threeway: <None>
Confno: -1
Propagated Conference: -1
Real in conference: 0
DSP: noCLI> 
Relax DTMF: yes
Dialing/CallwaitCAS: 0/0
Default law: alaw
Fax Handled: no
Pulse phone: no
Echo Cancellation: 128 taps unless TDM bridged, currently OFF
PRI Flags: 
PRI Logical Span: Implicit
Hookstate (FXS only): Onhook

Desculpem pelo e-mail longo, porém preciso resolver esta pendẽncia,
qualquer ajuda será bem vinda.

Abraços,


-- 
Rodrigo A. Graeff
rgraeff em othos.com.br
                
Othos Telecomunicações
www.othos.com.br
+55 11 4063 6069 - 68406 
-- 
--
Rodrigo Graeff
http://www.delphus.org
1006 em sip.delphus.org
ICQ: 9636816




Mais detalhes sobre a lista de discussão AsteriskBrasil