VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
bertrand.lupart at lin... Guest
|
Posted: Thu Jan 15, 2015 1:06 pm Post subject: [asterisk-users] dahdi_genconf fails with "Empty config |
|
|
Hello,
I just installed a Debian Jessie box from scratch which sports a Digium TE435 digital card.
I installed the software, built and loaded the kernel modules:
# dpkg -l|grep dahdi
ii asterisk-dahdi 1:11.13.1~dfsg-2+b1 amd64 DAHDI devices support for the Asterisk PBX
ii dahdi 1:2.10.0.1-1 amd64 utilities for using the DAHDI kernel modules
ii dahdi-linux 1:2.10.0.1~dfsg-1 all DAHDI telephony interface - Linux userspace parts
ii dahdi-modules-3.16.0-4-amd64:amd64 1:2.10.0.1~dfsg-1+3.16.7-ckt2-1 amd64 DAHDI modules for Linux (kernel 3.16.0-4-amd64)
ii dahdi-source 1:2.10.0.1~dfsg-1 all DAHDI telephony interface - source code for kernel driver
# dahdi_hardware
pci:0000:0a:00.0 wcte43x+ d161:800e Wildcard TE435/235
# lsmod|grep -E 'dahdi|wct'
wcte43x 56864 0
oct612x 162715 1 wcte43x
dahdi 212318 2 oct612x,wcte43x
crc_ccitt 12347 1 dahdi
However, dahdi_genconf keeps finding no span:
# dahdi_genconf -vvv
Default parameters from /etc/dahdi/genconf_parameters
Empty configuration -- no spans
Generating /etc/dahdi/assigned-spans.conf
Empty configuration -- no spans
Generating /etc/dahdi/system.conf
Empty configuration -- no spans
Generating /etc/asterisk/dahdi-channels.conf
What am i missing?
Thank you,
--
Bertrand LUPART |
|
Back to top |
|
|
rmeyerriecks at digium... Guest
|
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Fri Jan 16, 2015 7:00 pm Post subject: [asterisk-users] dahdi_genconf fails with "Empty config |
|
|
On Thu, Jan 15, 2015 at 12:58:26PM -0600, Russ Meyerriecks wrote:
Quote: | On Thu, Jan 15, 2015 at 2:05 AM, Bertrand LUPART - Linkeo.com
<bertrand.lupart@linkeo.com> wrote:
Quote: | However, dahdi_genconf keeps finding no span:
What am i missing?
|
It looks like your driver is loaded correctly. My guess would be maybe
the dahdi-tools is packaged as an older version that doesn't know
about the newer te435 card. You could hand craft the config file using
the info in the card's manual
http://www.digium.com/sites/digium/files/quad-span-digital-card-user-manual.pdf
|
The error is "no spans".
What is the output of:
dahdi_span_assignment list
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
bertrand.lupart at lin... Guest
|
Posted: Sat Jan 17, 2015 3:31 am Post subject: [asterisk-users] dahdi_genconf fails with "Empty config |
|
|
Quote: | Quote: | Quote: | However, dahdi_genconf keeps finding no span:
What am i missing?
|
It looks like your driver is loaded correctly. My guess would be maybe
the dahdi-tools is packaged as an older version that doesn't know
about the newer te435 card. You could hand craft the config file using
the info in the card's manual
http://www.digium.com/sites/digium/files/quad-span-digital-card-user-manual.pdf
|
The error is "no spans".
What is the output of:
dahdi_span_assignment list
|
# /usr/sbin/dahdi_span_assignments list
1:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
2:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
3:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
4:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
--
Bertrand LUPART
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Sat Jan 17, 2015 9:31 am Post subject: [asterisk-users] dahdi_genconf fails with "Empty config |
|
|
On Sat, Jan 17, 2015 at 09:31:33AM +0100, Bertrand LUPART - Linkeo.com wrote:
Quote: | Quote: | Quote: | Quote: | However, dahdi_genconf keeps finding no span:
What am i missing?
|
It looks like your driver is loaded correctly. My guess would be maybe
the dahdi-tools is packaged as an older version that doesn't know
about the newer te435 card. You could hand craft the config file using
the info in the card's manual
http://www.digium.com/sites/digium/files/quad-span-digital-card-user-manual.pdf
|
The error is "no spans".
What is the output of:
dahdi_span_assignment list
|
# /usr/sbin/dahdi_span_assignments list
1:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
2:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
3:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
4:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
|
Interesting. Does the files /etc/dahdi/assigned-spans.conf exist?
Anyway, try:
dahdi_span_assignments auto
dahdi_genconf
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
bertrand.lupart at lin... Guest
|
Posted: Sat Jan 17, 2015 10:16 am Post subject: [asterisk-users] dahdi_genconf fails with "Empty config |
|
|
Quote: | Quote: | Quote: | Quote: | Quote: | However, dahdi_genconf keeps finding no span:
What am i missing?
|
It looks like your driver is loaded correctly. My guess would be maybe
the dahdi-tools is packaged as an older version that doesn't know
about the newer te435 card. You could hand craft the config file using
the info in the card's manual
http://www.digium.com/sites/digium/files/quad-span-digital-card-user-manual.pdf
|
The error is "no spans".
What is the output of:
dahdi_span_assignment list
|
# /usr/sbin/dahdi_span_assignments list
1:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
2:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
3:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
4:-:- [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
|
Interesting. Does the files /etc/dahdi/assigned-spans.conf exist?
|
Yes, it is:
$ ls -l /etc/dahdi/assigned-spans.conf*
-rw-r--r-- 1 root root 428 Jan 14 17:47 /etc/dahdi/assigned-spans.conf
-rw-r--r-- 1 root root 428 Jan 14 17:47 /etc/dahdi/assigned-spans.conf.bak
$ cat /etc/dahdi/assigned-spans.conf
#
# Autogenerated by /usr/sbin/dahdi_span_assignments on Wed 14 Jan 17:47:29 CET 2015
# Map devices + local spans to span + base channel number
# Device: [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
# Skipped unassigned local span 1
# Skipped unassigned local span 2
# Skipped unassigned local span 3
# Skipped unassigned local span 4
Quote: | Anyway, try:
dahdi_span_assignments auto
dahdi_genconf
|
$ sudo dahdi_span_assignments -v auto
auto-assign /sys/bus/dahdi_devices/devices/pci:0000:0a:00.0
$ sudo dahdi_genconf -v
Default parameters from /etc/dahdi/genconf_parameters
Generating /etc/dahdi/assigned-spans.conf
Generating /etc/dahdi/system.conf
Generating /etc/asterisk/dahdi-channels.conf
This seems to do the trick.
Did something gone wrong during the package installation? This could be investigated by reinstalling from scratch is this could be of any help.
$ cat /etc/dahdi/assigned-spans.conf
#
# Autogenerated by /usr/sbin/dahdi_span_assignments on Sat 17 Jan 16:08:48 CET 2015
# Map devices + local spans to span + base channel number
# Device: [1TE435F_-_DM06134700043_-_A_-_20131202] @PCI_Bus_10_Slot_01 /sys/devices/pci0000:00/0000:00:1c.0/0000:0a:00.0/pci:0000:0a:00.0
1TE435F_-_DM06134700043_-_A_-_20131202 1:1:1
1TE435F_-_DM06134700043_-_A_-_20131202 2:2:25
1TE435F_-_DM06134700043_-_A_-_20131202 3:3:49
1TE435F_-_DM06134700043_-_A_-_20131202 4:4:73
$ cat /etc/dahdi/system.conf
# Autogenerated by /usr/sbin/dahdi_genconf on Sat Jan 17 16:08:48 2015
# 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: WCTE4/0/1 "WCTE43X (PCI) Card 0 Span 1" (MASTER)
span=1,1,0,esf,b8zs
# termtype: te
bchan=1-23
dchan=24
echocanceller=oslec,1-23
# Span 2: WCTE4/0/2 "WCTE43X (PCI) Card 0 Span 2"
span=2,2,0,esf,b8zs
# termtype: te
bchan=25-47
dchan=48
echocanceller=oslec,25-47
# Span 3: WCTE4/0/3 "WCTE43X (PCI) Card 0 Span 3"
span=3,3,0,esf,b8zs
# termtype: te
bchan=49-71
dchan=72
echocanceller=oslec,49-71
# Span 4: WCTE4/0/4 "WCTE43X (PCI) Card 0 Span 4"
span=4,4,0,esf,b8zs
# termtype: te
bchan=73-95
dchan=96
echocanceller=oslec,73-95
# Global data
loadzone = fr
defaultzone = fr
$ cat /etc/asterisk/dahdi-channels.conf
; Autogenerated by /usr/sbin/dahdi_genconf on Sat Jan 17 16:08:48 2015
; 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: WCTE4/0/1 "WCTE43X (PCI) Card 0 Span 1" (MASTER)
group=0,11
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 1-23
context = default
group = 63
; Span 2: WCTE4/0/2 "WCTE43X (PCI) Card 0 Span 2"
group=0,12
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 25-47
context = default
group = 63
; Span 3: WCTE4/0/3 "WCTE43X (PCI) Card 0 Span 3"
group=0,13
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 49-71
context = default
group = 63
; Span 4: WCTE4/0/4 "WCTE43X (PCI) Card 0 Span 4"
group=0,14
context=from-pstn
switchtype = national
signalling = pri_cpe
channel => 73-95
context = default
group = 63
Thank you!
--
Bertrand LUPART
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|