summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-02Install genconf_parameters on 'make install' as wellTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6283 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02xpp_usb should not be blacklisted: it does not register automaticallyTzafrir Cohen
anyway. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6282 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-01Implement 'dahdi_genconf modules' (generate /etc/dahdi/modules)Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6278 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-29dahdi_genconf: Set the context same as groups.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6272 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-26s/zap/dahdi/ again in dahd_scan.8Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6261 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-26when /etc/dahdi/system.conf does not have an echo canceller defined for a ↵Kevin P. Fleming
channel, but the channel previously had one assigned, running dahdi_cfg does not remove the assigned echo canceller from the channel as it should. this commit changes that behavior, so that every channel with a defined signaling mode is updated to have the proper (or no) echo canceller assigned. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6259 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-22dahdi-perl: "allow" hand-editing of generated filesTzafrir Cohen
Rework the text added by dahdi_genconf generators to say that you can hand-edit files. But just don't complain if they get mysteriously overriden when it is run again :-) (closes issue #14569) Reported by: jtodd git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6215 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-17Remove remnants of -p option, since it no longer exists.Jason Parker
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6189 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-17Add tone definitions for Turkey.Russell Bryant
(closes issue #10450) Reported by: msahinbas git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6187 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-17Use LIBS instead of LDFLAGS directly in tools MakefileTzafrir Cohen
The Makefile of dahdi-tools set the variable LDFLAGS directly, rather than adding to LIBS. This does not allow placing LIBS after all the linked objects. (closes issue #14638) Reported by: Chainsaw Patches: dahdi-tools-2.1.0.2-asneeded.patch uploaded by Chainsaw (license 723) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6185 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-16dahdi.init: call xpp_sync a bit later.Tzafrir Cohen
xpp_sync needs to only be called after dahdi_cfg was run, because the application of system.conf may change the priority of a PRI module span (If it is a sync provider, "NT", priority is lower). Also some documentation-only changes for xpp_sync. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6167 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-09Fix detection of channels of dynamic spans in Dahdi::ChansTzafrir Cohen
Fix the pattern detection of channels belonging to dynamic (dahdi_dynamic) spans in perl programs that use Dahdi::Chans (e.g.: lsdahdi) (closes issue #14630) Reported by: tamiel Patches: 20090309-perl5-Dahdi-Chans.diff uploaded by tamiel (license 712) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6110 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-07Detect Sangoma USB FXO device; fix detection of Sangoma DAHDI channelsTzafrir Cohen
(By Alessandro Zummo) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6107 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-05Fix a typo in shutting down dynamic spans in dahdi.initTzafrir Cohen
Fixes shutdown_dynamic() in the dahdi init.d script. Not enabling it by default just yet (the second half of the patch) until we get some further confirmation that such a shutdown is always good. (from issue #14603) Reported by: tamiel Patches: 20090304_dahdi.init.patch uploaded by tamiel (license 712) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6095 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-03Include sample genconf_parameters in dahdi-tools README.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6078 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-03genconf_parameters: Add option fxo_default_start; Document genconf_parametersTzafrir Cohen
* Add a dqahdi_genconf option fxo_default_start, equivalent of fxs_default_start. * Set all trunks in group 'group_lines' rather than hard-coded 0 (for TE) and 6 (for NT). * Document all parameters in genconf_parameters. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6077 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-02dahdi_genconf: configuration handling cleanup.Tzafrir Cohen
* Parsing genconf_parameters is now in Dahdi::Config::Params All hard-coded defaults are there too (in the item() method). * Dahdi::Config::Genconf is gone (merged into Dahdi::Config::Gen) All semantic mapping is in the constructor. * dahdi_genconf is now lean and mean. * Add some implementation docs into these files. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6075 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-02dahdi-perl: Do generate 'echocanceller' in system.confTzafrir Cohen
Fixed a regression from r6013 . git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6073 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-02dahdi-perl: Remove an obsolete and unused module GenconfDefaults.pmTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6072 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-02README.Astribank: Killed one remaining /sys/devices/xppTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6071 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-01More README updatesTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6058 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-01xpp-dahdi: freepbx code generation; better procfs compatibilityTzafrir Cohen
* dahdi_genconf -F will generate chan_dahdi.conf for freepbx (like genzaptelconf -F) * Better procfs compatibility for xpp modules. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6057 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-01dahdi-perl: more defensive coding and some docsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6056 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-01Dahdi.pm: the sample code should actually work.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6055 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-03-01fpga_load.c: Flush USB device buffer on startup. Tzafrir Cohen
Fixes some firmware loading issues. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6054 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-26Add PCI IDs of another HFC-S card that zaphfc can handle.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6043 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-25Fix a typo for detecting zaphfc.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6041 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-18Remove 8 bit restriction on setting indirect registersDoug Bailey
(closes issue #14323) Reported by: alecdavis Patches: fxstest_setindirect.diff.txt uploaded by alecdavis (license 585) Tested by: alecdavis git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6022 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-13Rework dahdi_genconf to have separate configuration generation modules.Tzafrir Cohen
'dahdi_genconf foo bar' will use the modules Dahdi::Config::Gen::Foo and Dahdi::Config::Gen::Bar to generate configuraion files. Extra formats can thus be added without modifying dahdi_genconf and independently of DAHDI. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6013 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-02-08dahdi_genconf: do reset default files list when command-line has filesTzafrir Cohen
This fixes a regression that was added whwn handling of R2 was added. Originally: Xorcom rev 6683. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5984 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-28Use the dahdihpec_enable tool instead of the zaphpec_enable.Shaun Ruffell
Issue: DAHDI-233 patch by: cmoye git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5886 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-27Break VMWI ioctl calls into two separate calls to maintain old revision ↵Doug Bailey
compatibility (issue #14104) Reported by: alecdavis Tested by: dbailey git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5827 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-25Whitespace changes only (nothing functional).Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5809 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-25Use the debian commands on Gentoo.Sean Bright
(closes issue #14277) Reported by: darren1713 Patches: dahdi.init.txt uploaded by darren1713 (license 116) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5808 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-22Alec Davis change to modify vmwi test to use new ioctl call structure and ↵Doug Bailey
enhance functionality (issue #14104) Reported by: alecdavis Patches: mwiioctl_structure_fxstest.diff.txt uploaded by dbailey (license ) Tested by: alecdavis, dbailey git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5800 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-20dahdi_genconf: Finally set $fxs_default_start = 'ks' rather than 'ls'Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5768 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19Add test to excercise VMWI Doug Bailey
Enhance polarity test by making sure the line is in an active state before testing (issue #14104) Reported by: alecdavis Patches: dahditools-14104.diff.txt uploaded by dbailey (license ) Tested by: alecdavis git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5728 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19dahdi-tools: Delete test binaries on 'make clean'Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5707 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19xpp_sync xpd order fix.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5706 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-19Dahdi-perl: Do detect Astribank PRI modules.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5705 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-18XPP tool updates to match r5663: sysfs migration.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5671 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-16Properly detect GENERIC_HDLC_VERSION on various kernel versions.Sean Bright
(closes issue #14150) Reported by: ccesario Patches: 20090115__bug14150.diff.txt uploaded by seanbright (license 71) Tested by: ccesario git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5662 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-15Add an extra output format, 'asterisk': make the configuration readableTzafrir Cohen
for an Asterisk configuration parser. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5661 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-14Whitespace and coding guidelines changes only.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5660 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-14Fix some uninitialized variable warnings that were causing hdlctest to notSean Bright
compile. Tested the program as well and it appears to work correctly. (closes issue #13906) Reported by: tzafrir git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5659 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-14This commit deserves no comment.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5657 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-13The problem with using dahdi_copy_string here is that it is guaranteed to NULLSean Bright
terminate the destination string, which in this case was not correct. So revert back to using strncpy and also decrease the buffer by 1 since it was reserving an extra byte behind NULL for some reason. Fix suggested by reporter. (closes issue #14103) Reported by: gork git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5656 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-06d00d must be in small capsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5643 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-01-03Dahdi::Span: Remove an over-general span header "pri" pattern.Tzafrir Cohen
Should fix #14061 . git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5626 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2008-12-16Add ability to use sine tables for systems that don't have efficient ↵Doug Bailey
floating point Add the ability to print out the best results found during tuning Some format cleanup git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5555 a0bf4364-ded3-4de4-8d8a-66a801d63aff