Hello,
Asterisk simply don't start after i use modprobe opvxg4xx.
if i remove opvxg4xx(and only zaptel remain) i can start asterisk but ofcource i cannot use the cards.
PS: i have two cards installed
LOGS:
ztcfg -vvv
Zaptel Version: 1.4.12.1
Echo Canceller: MG2
Configuration
======================
SPAN 1: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 2: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 3: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 4: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 5: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 6: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 7: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
SPAN 8: CCS/ AMI Build-out: 0 db (CSU)/0-133 feet (DSX-1)
Channel map:
Channel 01: Clear channel (Default) (Slaves: 01)
Channel 02: D-channel (Default) (Slaves: 02)
Channel 03: Clear channel (Default) (Slaves: 03)
Channel 04: D-channel (Default) (Slaves: 04)
Channel 05: Clear channel (Default) (Slaves: 05)
Channel 06: D-channel (Default) (Slaves: 06)
Channel 07: Clear channel (Default) (Slaves: 07)
Channel 08: D-channel (Default) (Slaves: 08)
Channel 09: Clear channel (Default) (Slaves: 09)
Channel 10: D-channel (Default) (Slaves: 10)
Channel 11: Clear channel (Default) (Slaves: 11)
Channel 12: D-channel (Default) (Slaves: 12)
Channel 13: Clear channel (Default) (Slaves: 13)
Channel 14: D-channel (Default) (Slaves: 14)
Channel 15: Clear channel (Default) (Slaves: 15)
Channel 16: D-channel (Default) (Slaves: 16)
16 channels to configure.
zaptel.conf was generated using genzaptelconf, but i also tried to use the one from the wiki
here is the file:
cat zaptel.conf
# Autogenerated by /usr/sbin/genzaptelconf -- do not hand edit
# Zaptel Configuration File
#
# This file is parsed by the Zaptel Configurator, ztcfg
#
# It must be in the module loading order
# Span 1: opvxg4xx/0/1 "OpenVox G400P GSM/CDMA PCI Card 0" (MASTER)
span=1,0,0,ccs,ami
# termtype: te
bchan=1-1
dchan=2
# Span 2: opvxg4xx/0/2 "OpenVox G400P GSM/CDMA PCI Card 0"
span=2,0,0,ccs,ami
# termtype: te
bchan=3-3
dchan=4
# Span 3: opvxg4xx/0/3 "OpenVox G400P GSM/CDMA PCI Card 0"
span=3,0,0,ccs,ami
# termtype: te
bchan=5-5
dchan=6
# Span 4: opvxg4xx/0/4 "OpenVox G400P GSM/CDMA PCI Card 0"
span=4,0,0,ccs,ami
# termtype: te
bchan=7-7
dchan=8
# Span 5: opvxg4xx/1/1 "OpenVox G400P GSM/CDMA PCI Card 1"
span=5,0,0,ccs,ami
# termtype: te
bchan=9-9
dchan=10
# Span 6: opvxg4xx/1/2 "OpenVox G400P GSM/CDMA PCI Card 1"
span=6,0,0,ccs,ami
# termtype: te
bchan=11-11
dchan=12
# Span 7: opvxg4xx/1/3 "OpenVox G400P GSM/CDMA PCI Card 1"
span=7,0,0,ccs,ami
# termtype: te
bchan=13-13
dchan=14
# Span 8: opvxg4xx/1/4 "OpenVox G400P GSM/CDMA PCI Card 1"
span=8,0,0,ccs,ami
# termtype: te
bchan=15-15
dchan=16
# Global data
loadzone = us
defaultzone = us
cat zapata.conf
[channels]
txgain = 0.0
rxgain = 0.0
signalling = gsm
context = from-gsm
echocancel=no
relaxdtmf=yes
; slot A
channel => 1
; slot B
channel=> 3
; slot C
channel => 5
; slot D
channel => 7
ls /dev/zap
1 10 11 12 13 14 15 16 2 3 4 5 6 7 8 9 channel ctl pseudo timer
asterisk -vvvvg
Asterisk 1.4.26.2-BRIstuffed-0.4.0-RC3h, Copyright (C) 1999 - 2008 Digium, Inc. and others.
Created by Mark Spencer <
markster@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
[Jul 24 19:07:32] ERROR[31226]: asterisk.c:3090 main: 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.
can you please tell me why asterisk is not starting?