keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about A400/800/1200 Analog Interface Card

a800p + FXOS 200 -> dahdi_genconf : Empty configuration -- no spans

12 years 6 months ago #7400 by apochekutov
Hi, i new in asterisk,
I will describe in detail your steps

I have openvox a800p with single OpenVox FXOS 200.

I follow
downloads.openvox.cn/pub/manuals/eng/A80...AHDI_User_Manual.pdf
instruction.

1. Install centos from CentOS-6.0-i386-minimal.iso
2. yum update
3. yum install pciutils wget make perl libxml2-devel
(these packages need to)

4. From instruction: lspci -vvvv
(this output after instalation)
Communication controller: Tiger Jet Network Inc. Tiger3XX Modem/ISDN interface
Subsystem: Device 9500:0003
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
...

From instruction:
yum install kernel-devel bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc gcc-c++

cd /usr/src/
wget http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/releases/1.3.3/openvox_dahdi-linux-complete-2.4.0+2.4.0.tar.gz
(i try openvox_dahdi-linux-complete-2.5.0.1+2.5.0.1.tar.gz, but make failed, 2.4.0 make success)

wget http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.8.0.tar.gz


tar -xvzf openvox_dahdi-linux-complete-2.4.0+2.4.0.tar.gz
cd dahdi-linux-complete-2.4.0+2.4.0
make
make install
make config

success


tar -xvzf asterisk-1.8.0.tar.gz
cd asterisk-1.8.0
./configure
make
make install
make samples

success

From instruction:

[root@localhost asterisk-1.8.0]# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans



i execute
cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 1 01:09:31 2011
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Global data

loadzone
= us
defaultzone
= us


and execute
cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 1 01:09:31 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;



"Empty configuration -- no spans" - this is not what I expected,
in instruction - in another


What should my next steps?

Thanks.

i] Last edited by apochekutov at 2011-10-1 17:20 [/i
12 years 6 months ago #7401 by Joe.Yung
Hi,
Please try to execute `modprobe dahdi` and `modprobe opvxa1200 debug=1` before peforming `dahdi_genconf `.

12 years 6 months ago #7402 by apochekutov
[root@localhost ~]# modprobe dahdi
[root@localhost ~]# modprobe opvxa1200 debug=1
[root@localhost ~]# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans
[root@localhost ~]#
12 years 6 months ago #7403 by apochekutov
I manual write /etc/dahdi/system.conf:

# Span 1
fxsks=1
fxoks=2

# Global data

loadzone = us
defaultzone=us


reboot and run:
[root@localhost ~]# dahdi_cfg -vv
DAHDI Tools Version - 2.4.0

DAHDI Version: 2.4.0
Echo Canceller(s):
Configuration
======================


Channel map:

Channel 01: FXS Kewlstart (Default) (Echo Canceler: none) (Slaves: 01)
Channel 02: FXO Kewlstart (Default) (Echo Canceler: none) (Slaves: 02)

2 channels to configure.

DAHDI_CHANCONFIG failed on channel 1: No such device or address (6)
12 years 6 months ago #7404 by apochekutov
Solved

Thanks: http://ubuntuforums.org/showthread.php?t=1491787
Thanks: http://www.spinics.net/lists/asterisk/msg141863.html

Solution:

echo 'blacklist netjet' >> /etc/modprobe.d/blacklist.conf
echo 'blacklist hisax' >> /etc/modprobe.d/blacklist.conf

rmmod hisax
rmmod netjet

service dahdi restart

[root@localhost ~]# dahdi_hardware
pci:0000:01:03.0 opvxa1200+ e159:0001 OpenVox A800P

[root@localhost ~]# dahdi_genconf -v
Default parameters from /etc/dahdi/genconf_parameters
Generating /etc/dahdi/system.conf
Generating /etc/asterisk/dahdi-channels.conf

[root@localhost ~]# cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 1 07:39:20 2011
# If you edit this file and execute /usr/sbin/dahdi_genconf again,
# your manual changes will be LOST.
# Dahdi Configuration File
#
# This file is parsed by the Dahdi Configurator, dahdi_cfg
#
# Span 1: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER)
# channel 1, OPVXA1200/12/0, no module.
# channel 2, OPVXA1200/12/1, no module.
fxsks=3
echocanceller=mg2,3
fxoks=4
echocanceller=mg2,4
# channel 5, OPVXA1200/12/4, no module.
# channel 6, OPVXA1200/12/5, no module.
# channel 7, OPVXA1200/12/6, no module.
# channel 8, OPVXA1200/12/7, no module.

# Global data

loadzone
= us
defaultzone
= us


[root@localhost ~]# cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Sat Oct 1 07:39:20 2011
; If you edit this file and execute /usr/sbin/dahdi_genconf again,
; your manual changes will be LOST.
; Dahdi Channels Configurations (chan_dahdi.conf)
;
; This is not intended to be a complete chan_dahdi.conf. Rather, it is intended
; to be #include-d by /etc/chan_dahdi.conf that will include the global settings
;

; Span 1: OPVXA1200/12 "OpenVox A1200P/A800P Board 13" (MASTER)
;;; line="3 OPVXA1200/12/2 FXSKS"
signalling=fxs_ks
callerid=asreceived
group=0
context=from-pstn
channel => 3
callerid=
group=
context=default

;;; line="4 OPVXA1200/12/3 FXOKS"
signalling=fxo_ks
callerid="Channel 4" <4004>
mailbox=4004
group=5
context=from-internal
channel => 4
callerid=
mailbox=
group=
context=default
11 years 1 month ago #8634 by sorenaa_s
I have the same problem, but I have't "hisax" or "hisax" module.

[root@rahimi ~]# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans


[root@rahimi ~]# dahdi_cfg -vvvvvv
DAHDI Tools Version - 2.6.1

DAHDI Version: 2.6.1
Echo Canceller(s): HWEC
Configuration
======================

Channel map:

0 channels to configure.

i] Last edited by sorenaa_s at 2013-3-3 21:21 [/i
Time to create page: 0.062 seconds
Powered by Kunena Forum