Problemas arrancando asterisk

36 views
Skip to first unread message

voip crazy

unread,
Jul 1, 2009, 8:51:08 AM7/1/09
to aster...@googlegroups.com
Al intentar arrancar el asterisk-rsp, he obtenido el siguiente error.
Tambien he probado con el asterisk 1.4.24 sin parchear y el error es
el mismo

clotilde:~# asterisk -vvvvvvvvvc
Asterisk 1.4.24, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <mark...@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
== Parsing '/etc/asterisk/asterisk.conf': Found
== Parsing '/etc/asterisk/extconfig.conf': Found
== Parsing '/etc/asterisk/logger.conf': Found
Asterisk Event Logger Started /var/log/asterisk/event_log
clotilde:~#

No entiendo por que s e produce este error,

Este es el contenido del fichero /var/log/asterisk/event_log, el cual
veo adecuado.

;
; Logging Configuration
;
; In this file, you configure logging to files or to
; the syslog system.
;
; For each file, specify what to log.
;
; For console logging, you set options at start of
; Asterisk with -v for verbose and -d for debug
; See 'asterisk -h' for more information.
;
; Directory for log files is configures in asterisk.conf
; option astlogdir
;
[logfiles]
;
; Format is "filename" and then "levels" of debugging to be included:
; debug
; notice
; warning
; error
; verbose
;
; Special filename "console" represents the system console
;
;debug => debug
;console => notice,warning,error
;console => notice,warning,error,debug
messages => notice,warning,error
full => notice,warning,error,debug,verbose
event_log => notice,warning,error

;syslog keyword : This special keyword logs to syslog facility
;
syslog.local0 => notice,warning,error

Revisando el fichero full, veo el siguiente error.

[Jul 1 14:35:15] VERBOSE[5451] logger.c: Asterisk Event Logger
Started /var/log/asterisk/event_log
[Jul 1 14:35:15] ERROR[5451] asterisk.c: Asterisk has detected a
problem with your DAHDI configuration and will shutdown for your
protection. You have options:
1. You only have to compile DAHDI support into Asterisk if you
need it. One option is to recompile without DAHDI support.
2. You only have to load DAHDI drivers if you want to take
advantage of DAHDI services. One option is to unload DAHDI modules if
you don't need them.
3. If you need Zaptel services, you must correctly configure DAHDI.

A continuación os envío la salida de lsmod. Comentaros tambien que en
esta máquina estamos configurando una tarjeta de Sangoma de cuatro
primarios, por eso tiene cargados los módulos "wanpipe".

clotilde:~# lsmod
Module Size Used by
wanec 302076 0
af_wanpipe 31192 0
wanpipe 483168 0
wanrouter 38496 3 wanec,af_wanpipe,wanpipe
dahdi 187388 1 wanpipe
crc_ccitt 2560 1 dahdi
sdladrv 87872 2 wanpipe,wanrouter
ppdev 9156 0
parport_pc 26852 0
lp 11428 0
parport 34248 3 ppdev,parport_pc,lp
ipv6 238372 74
dm_snapshot 16996 0
dm_mirror 21184 0
dm_mod 52800 2 dm_snapshot,dm_mirror
loop 17284 0
i2c_amd756 6724 0
psmouse 36432 0
serio_raw 7172 0
i2c_core 24128 1 i2c_amd756
pcspkr 3392 0
amd_rng 3268 0
shpchp 31572 0
pci_hotplug 29696 1 shpchp
evdev 9792 0
ext3 121928 1
jbd 55656 1 ext3
mbcache 8772 1 ext3
floppy 54628 0
tg3 100612 0
ohci_hcd 20036 0
usbcore 119624 2 ohci_hcd
thermal 13896 0
processor 31304 1 thermal
fan 5252 0
cciss 56772 3

Fichero /etc/dahdi/system.conf

cat /etc/dahdi/system.conf
#autogenerated by /usr/sbin/wancfg_dahdi do not hand edit
#autogenrated on 2009-07-01
#Dahdi Channels Configurations
#For detailed Dahdi options, view /etc/dahdi/system.conf.bak
loadzone=es
defaultzone=es

#Sangoma A104 port 1 [slot:13 bus:5 span:1] <wanpipe1>
span=1,0,0,ccs,hdb3,crc4
bchan=1-15,17-31
hardhdlc=16

#Sangoma A104 port 2 [slot:13 bus:5 span:2] <wanpipe2>
span=2,0,0,ccs,hdb3,crc4
bchan=32-46,48-62
hardhdlc=47

#Sangoma A104 port 3 [slot:13 bus:5 span:3] <wanpipe3>
span=3,0,0,ccs,hdb3,crc4
bchan=63-77,79-93
hardhdlc=78

#Sangoma A104 port 4 [slot:13 bus:5 span:4] <wanpipe4>
span=4,0,0,ccs,hdb3,crc4
bchan=94-108,110-124
hardhdlc=109

Y Fichero /etc/asterisk/chan_dahdi.conf muestra lo siguinte.

[trunkgroups]

[channels]
context=default
usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
canpark=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no

;Sangoma A104 port 1 [slot:13 bus:5 span:1] <wanpipe1>
switchtype=euroisdn
context=from-pstn
group=0
echocancel=no
signalling=pri_cpe
channel =>1-15,17-31

;Sangoma A104 port 2 [slot:13 bus:5 span:2] <wanpipe2>
switchtype=euroisdn
context=from-pstn
group=0
echocancel=no
signalling=pri_cpe
channel =>32-46,48-62

;Sangoma A104 port 3 [slot:13 bus:5 span:3] <wanpipe3>
switchtype=euroisdn
context=from-pstn
group=0
echocancel=no
signalling=pri_cpe
channel =>63-77,79-93

;Sangoma A104 port 4 [slot:13 bus:5 span:4] <wanpipe4>
switchtype=euroisdn
context=from-pstn
group=0
echocancel=no
signalling=pri_cpe

Por que se produce este error?
Alguien conoce como solucionar este error? Cualquier ayuda será bienvenida.

Gracias por anticipado.

Un saludo.

VoipCrazy

Jorge Eduardo Silva Jackson

unread,
Jul 1, 2009, 9:05:26 AM7/1/09
to aster...@googlegroups.com
Que error???

TxivaSad

unread,
Jul 1, 2009, 11:00:35 AM7/1/09
to asterisk-es
Pega el cat /proc/dahdi/ loquesea
y el cat /proc/interrupts

Asterisk no te carga dahdi por algun error en la configuración.
Para asterisk, reinicia dahdi y vuelve a arrancar asterisk a ver.

On 1 Jul, 15:05, Jorge Eduardo Silva Jackson <sysc...@gmail.com>
wrote:
> Que error???
>
> On Wed, 2009-07-01 at 14:51 +0200, voip crazy wrote:
> > Al intentar arrancar el asterisk-rsp, he obtenido el siguiente error.
> > Tambien he probado con el asterisk 1.4.24 sin parchear y el error es
> > el mismo
>
> > clotilde:~# asterisk  -vvvvvvvvvc
> > Asterisk 1.4.24, Copyright (C) 1999 - 2008 Digium, Inc. and others.
> > Created by Mark Spencer <marks...@digium.com>
Reply all
Reply to author
Forward
0 new messages