summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-02Officially declare we support all HFC-xS cards.Tzafrir Cohen
(closes issue #13897) Reported by: tzafrir Patches: wcb4xxp_extra_cards_dahdi-tools.diff uploaded by Odicha (license 700) The main fix is in commits the following commits to dahdi-linux: r6812, r6813, r6814, r6815, r6816, r6817, r6818 and r6821 Those include the contents of: wcb4xxp_extracards_leds_fixes.diff uploaded by Odicha (license 700) Tested by: zhulizhong, jdg, tzafrir, okrief, Odicha, opticron, vrban Many thanks for all the testing, patches and feedback from this issue. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6822 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-25dahdi_monitor: Remove a duplicate block from wavformat.h.Shaun Ruffell
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6720 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-25dahdi_monitor: I forgot to add waveformat.hShaun Ruffell
This should have been in the last commit. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6719 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-23Revert "dahdi.init: Define a default span configuration for digital cards."Shaun Ruffell
This reverts commit r6708. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6710 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-23dahdi_monitor: Allow dahdi_monitor to save recordings in wav format.Shaun Ruffell
This is a patch that will allow dahdi_monitor to save recordings directly in wav format for convenience. If the output files extension is '.wav', dahdi_monitor will add the wave header onto the output file. (closes issue #15307) Patch by: mspiceland git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6709 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-23dahdi.init: Define a default span configuration for digital cards.Shaun Ruffell
If there is a digital card in the system, and there is not a span configuration line in /etc/dahdi/system.conf, the init script will now create a temporary default one to use. On some installations, this will allow asterisk to start before dahdi is fully configured. This a temporary measure until DAHDI is always able to provide a timing source. (related to issue #13205) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6708 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-08Since this 'echo' is part of a larger statement, we don't need the @ symbol.Sean Bright
Cleans up an error I am seeing on Ubuntu. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6678 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-06-08Get rid of parallel build warnings from GNU make.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6677 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-28xpp: if $dahdi_hardware is empty, don't use it in an error messageTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6668 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-26Reword the message after 'make config' for the case no hardware foundTzafrir Cohen
Check the output of dahdi_hardware and give a different message for the case it found no hardware. (closes issue #14792) Reported by: Dovid Patches: dahdi_hardware_nodev_make.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6657 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-25Properly fix usage of waitfor_xpds in non-standard settings.Tzafrir Cohen
From xpp rev. 7137. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6655 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19dahdi-perl: make dahdi_genconf default to hardhdlcTzafrir Cohen
dahdi_genconf's 'bri_hardhdlc' parameter changes. Should generally work with no need for manual configuration unless you use a bristuffed driver (zaphfc, qozap). See notes in genconf_parameters. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6647 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19dahdi.init: moved test for astribanks into waitfor_xpdsTzafrir Cohen
If the system starts with an Astribank with no firmware, the firmware loading may take a while and the Astribank only becomes ready some time after the DAHDI init script starts. This means that the test at the beginning of xpp_startup() in dahdi.init fails to find an Astribank, and the init script simply continues ignoring this. This changeset moves the testing inside the script waitfor_xpds. The script now: 1. Tests for an Astribank using dahdi_hardware and exists immediately if none found. 2. A loop (of maximum 10 seconds) waits for the first Astribank to be detected by the driver. 3. Waiting for the initialization of all the Astribanks to complete (The original waitfor_xpds) The support for the old procfs iinterface has been removed, as it has never been used with DAHDI. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6646 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-19xpp: install astribank_allowTzafrir Cohen
As we install it, we need a matching man page. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6643 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-17A closer-to-reality users.conf generation moduleTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6632 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-16Fix typos in xpp documentationTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-14dahdi_cfg: Default to the us tonezone if not specified in system.conf.Shaun Ruffell
If there are not "loadzone" and "defaultzone" lines in /etc/dahdi/system.conf, default to the us zone. This mimics the behavior of older zaptel releases. DAHDI-29. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6619 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-13astribank_tool: Support 'reset' of pre-MPP protocol as fallbackTzafrir Cohen
As of USB firmware rev. 6926, the Astribank control connection protocol has changed in an incompatible manner. If astribank_tool fails to open a device when running a reset command, try to reset the device with the command from the old (pre-MPP) protocol (A single 0x20 byte). No support whatsoever for any other feature of the old protocol. From xpp rev. 7067. (previous commit was xpp rev. 7066). git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6617 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-13xpp: better error reporting when failing to talk to a pre-MPP Astribank.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6616 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-13dahdi-perl: Patterns for Rhino E1/T1 cards.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6613 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-12A few more chan_zap -> chan_dahdi in README.Astribank .Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6603 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-11DAHDI-perl: Fix detection of empty slots in Rhino cards.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6601 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-09Fix a broken linkTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6585 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-09documentation updates: xpp_order, new USB loading, and moreTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6583 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-05-08dahdi-perl: scan only "number" files under /proc .Tzafrir Cohen
(In case someone, such as dahdi_dynamic_ethmf adds there some other entries) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6579 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-27incorporate the autoconf 2.63 fixes here tooKevin P. Fleming
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6512 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-26Remove useless sample fileTzafrir Cohen
The sample xpp_order will be generated anyway when running 'dahdi_genconf xpporder' (see xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm) . No need to clutter the main DAHDI installation with it. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6492 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-23xpp: xpp_order is another config file that should go to /etc/dahdiTzafrir Cohen
Also slightly fix the sample config. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6476 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-22make sure '/etc/init.d/dahdi stop' ends with a newlineTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6442 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-21Yet another left-over DAHDI_PARAMS. ppp almost buildsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6429 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-21Dahdi::Config::Gen::Xpporder: use number rather than object in warningTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6427 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-21Correct error check for fopen() calls in dahdi_monitor.c.Sean Bright
dahdi_monitor.c was checking for an error calling fopen() by determining if the return value was less than 0. fopen(), however, returns a FILE * and returns NULL on failure. (closes issue #14894) Reported by: gknispel_proformatique Patches: dahdi_monitor_fix_check_fopen_result.patch uploaded by gknispel (license 261) git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6421 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-21Use correct return value type for getopt().Sean Bright
In dahdi_monitor.c, the return value of getopt() was being assigned to a char while the function actually returns an int. Fix suggested by reporter. (closes issue #14893) Reported by: gknispel_proformatique git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6420 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-21Whitespace and coding guidelines changesSean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6419 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-20xpp: twinstar-related perl improvementsTzafrir Cohen
* New generator Dahdi::Config::Gen::Xpporder can generate and xpp_order config for an existing setup. * Add more TwinStar related logic to Dahdi::Xpp::Mpp. Simplifies the twinstar utility accordingly. * twinstar_hook: for the multiple Astribanks case. * twinstar_setup: More logic tests. Now delegates configuration generation to dahdi_genconf (with new Xpporder generator). * dahdi_hardware: Show number of channels with -v git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6417 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-16xpp_fxloader: exit properly when run with incorrect argumentTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6375 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-10Move astribank_hook from linux to tools. Install it by defaultTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6344 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-07hexfile.c was accidentally left out of r6313Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6337 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02Support for Astribanks 116x: tools partTzafrir Cohen
* New USB firmware loading mechanism. - Incompatible with previous one: upgrade using fxload or hard reset - astribank_hexload is the new low-level loading tool - fpga_load remains for backward compatibility. - xpp/astribank_upgrade: automate upgrading using fxload * Much enhanced control protocol ("MPP") - astribank_tool is the low-level tool for that. * Support for the TwinStar (dual USB port) - Managed through astribank_tool - Wrapper perl modules and scripts provided * Allow explicit ordering of Astribanks - /etc/dahdi/xpp_order - explicit order of Astribanks on the system - The default sorter is now to use those and fall back to connectors (previous default). - An option to dahdi_registration to change sorting. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6313 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-04-02hdlcstress.c: add option -b not to stress BRI too muchTzafrir Cohen
Aparantly the HFC chip can't stand the heat of this test. Let's give it an occasional rest. Also add getopts support. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6292 a0bf4364-ded3-4de4-8d8a-66a801d63aff
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