>>>>> 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 > 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
