fxo en trixbox 2.6

Imagen de jorgeq

Forums: 

Les comento mi situacion:

Tengo una tarjeta FXO X101P de Digitnetworks la cual estoy queriendo montar sobre un Trixbox 2.6 pero que me da 1millon de problemas, he hecho lo siguiente principalmente:

1.- modprobe zaptel, modprobe wcfxo, ztcfg -vvv , y obtengo:

Zaptel Version: 1.4.10.1
Echo Canceller: OSLEC
Configuration
======================

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)

1 channels to configure.

con lo cual el zttool me dice que esta OK y sin alarmas y puede decirse que el sistema la ha reconocido. El problema es que mientras se esta generando el zaptel.conf (x la generacion de los modulos zaptel y wcfxo) el servicio asterisk se detiene y cuando lo reinicio me da:

asterisk dead but subsys locked

el servicio asterisk no puede ser reiniciado de ninguna manera, la unica opcion es hacer un genzaptelconf -su (unload de los modulos zaptel), con lo cual uso asterisk sin PSTN o muero en el intento.

He tratado tambien con los comandos setup-pstn, genzaptelconf -s -d pero con llego siempre al mismo resultado.. pOR fAvOr su ayuuuuda jeje.. gracias foro

ummm

Imagen de rickygm

nunca he usado tribox , pero en ves de generar el zaptel porque mejor no te lo haces mano ..

Muestranos tu

Imagen de RazaMetaL

Muestranos tu /etc/asterisk/zapata.conf para tener una idea mas clara y poder ayudarte de manera efectiva.

Trata de reproducir el error, pero echandole una mirada al log. Habilita el debub en /etc/asterisk/logger.conf y haz un tail -f /var/log/asterisk/full y muestranos el error que hace que asterisk "se muera".

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

Este link tiene información

Imagen de RazaMetaL

Este link tiene información importante:

[url]http://www.x100p.com/support/doc/novavox-asterisk-card-installation-issues.pdf[/url]

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

Gracias por responder, aqui

Imagen de jorgeq

Gracias por responder, aqui van los logs:

1.- al tener la tarjeta solo puesta en el pci (sin ejecutar comandos de configuracion)

[asterisk ~]# zztcfg -vvv
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

2.- al darle un genzaptelconf -s -d

[asterisk-jorgeq ~]# genzaptelconf -s -d
Stopping asterisk: [ OK ]
Starting asterisk: [ OK ]

3.- al darle un:

[asterisk-jorgeq ~]# ztcfg -vvv

Zaptel Version: 1.4.10.1
Echo Canceller: OSLEC
Configuration
======================

Channel map:

Channel 01: FXS Kewlstart (Default) (Slaves: 01)

1 channels to configure.

4.- ZAPATA.CONF

[asterisk-jorgeq ~]# more /etc/asterisk/zapata.conf
;
; Zapata telephony interface
;
; Configuration file

[trunkgroups]

[channels]

language=en
context=from-zaptel
#context=from-pstn
signalling=fxs_ks
rxwink=300 ; Atlas seems to use long (250ms) winks
;
; Whether or not to do distinctive ring detection on FXO lines
;
;usedistinctiveringdetection=yes

usecallerid=yes
hidecallerid=no
callwaiting=yes
usecallingpres=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=no
;echotraining=800
rxgain=0.0
txgain=0.0
group=0
callgroup=1
pickupgroup=1
immediate=no
channel => 1

;faxdetect=both
faxdetect=incoming
;faxdetect=outgoing
;faxdetect=no

;Include genzaptelconf configs
#include zapata-auto.conf

group=1

;Include AMP configs
#include zapata_additional.conf

signalling = fxs_ks
channel => 1

5.- una reiniciadita y PAS!! :

[asterisk-jorgeq ~]# service asterisk restart
Stopping asterisk: [ OK ]
Starting asterisk: [ OK ]
[asterisk-jorgeq ~]# service asterisk status
asterisk dead but subsys locked
[asterisk-jorgeq ~]#

6.- tail -f /var/log/asterisk/full

[Jan 4 12:24:29] ERROR[11816] asterisk.c: Asterisk has detected a problem with your Zaptel configuration and will shutdown for your protection. You have options:
1. You only have to compile Zaptel support into Asterisk if you need it. One option is to recompile without Zaptel support.
2. You only have to load Zaptel drivers if you want to take advantage of Zaptel services. One option is to unload zaptel modules if you don't need them.
3. If you need Zaptel services, you must correctly configure Zaptel.

7.- unos logs q pueden ayudar:

- lspci -vvv

04:05.0 Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Unknown device 8085:0003
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR-

Tienes que descargar zaptel,

Imagen de RazaMetaL

Tienes que descargar zaptel, compilarlo y también compilar nuevamente asterisk habilitando el canal zap.

-----

Visita este [url=http://www.sindominio.net/ayuda/preguntas-inteligentes.html]link[/url] :evil:

[img]http://www.bbspot.com/Images/News_Features/2003/01/os_quiz/debian.jpg[/img]

(adsbygoogle = window.adsbygoogle || []).push({});

Gracias RaZa.. pero al

Imagen de jorgeq

Gracias RaZa.. pero al decirme que compile asterisk, te refieres a bajar el .tar y darle un make??.. Ojo que ya tengo mi trixbox 2.6 corriendo sin otro problema mas que el del fxo.