summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-08-17xpp: waitfor_xpds: Bugfix: '$((' produces a command. Ignore it.Tzafrir Cohen
Fixes a regression from the bashism fix of r6829 . xpp rev: 7323 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7021 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-16dahdi-perl: Add basic T1-CAS support for dahdi_genconfTzafrir Cohen
- Support added in generators of system.conf and of chan_dahdi.conf . - Some strange asumptions about being FXS/FXO depending on being timing provider/supplier. - New gen_cas() method for Chandahdi and System. - Now gen_digital() is a bit cleaner. - Call gen_cas(), gen_openr2(), gen_digital() according to the 'pri_connection_type' config (CAS, R2, PRI/BRI). xpp rev: 7307 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7019 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-16xpp: Dahdi::Config::Gen.pm: improvements in preperation for T1-CAS:Tzafrir Cohen
- New channo_range() method which returns range strings for any list of channel numbers (handle sorting, validation, etc.) - Reimplement bchan_range() as a small wrapper around channo_range(). - Another small wrapper is chan_range() that works on channel objects. - Also a parse_chan_range() does the reverse (from range string to a list of channel numbers). This isn't used at the moment. xpp rev: 7306 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7018 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-16dahdi-perl: chan_dahdi.conf generator can generate openr2 confTzafrir Cohen
If configured to use R2 ("pri_connection_type R2" in genconf_parameters), the chandahdi generator of dahdi_genconf will now generate configuration for the openr2 support in chan_dahdi. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7016 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-16xpp: A man page for astribank_is_startingTzafrir Cohen
xpp rev: 7321 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7014 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-16xpp: Dahdi::Hardware->rescan() - refresh hardware listTzafrir Cohen
Allow refreshing the list of hardware even after the initial scan. (E.g. a script that resets firmware for Astribanks) xpp rev: 7320 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7012 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13dahdi-perl: don't re-append '@' when testing the Astribank connector stringTzafrir Cohen
xpp rev: 7291 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7000 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13xpp_fxloader: Search for commands in our directory first.Tzafrir Cohen
This allows using scripts from /usr/share/dahdi as well. xpp rev: 7286 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6999 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13xpp: ignore more generated filesTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6993 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13xpp: Add astribank_is_starting:Tzafrir Cohen
astribank_is_running is used to tell when we may have an Astribank that is initializing (and may be re-enumerating and thus not listed as a device). It uses a semaphore as we can always write to one and we can't always write to a file. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6987 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13Another. Also ignore.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6984 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-13Test commit. Ignore.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6983 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-12xpp: cleanup gcc warnings and one real astribank_tool bugTzafrir Cohen
xpp rev: 7281 git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6976 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-08-12dahdi-perl: Remove a pointless whitespace in BRI strings listTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6975 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-27Pass correct channel number to DAHDI_GET_PARAMS when passing span numbers to ↵Sean Bright
dahdi_scan. When filtering, we weren't taking into account the number of channels in the spans that we were skipping. (closes issue #15553) Reported by: tony Patches: 20090723_issue15553.patch uploaded by seanbright (license 71) Tested by: seanbright git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6902 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-27Replaces typos "recieved" with "received" and "initilize" with "initialize".David Brooks
(closes issue #15571) Reported by: alecdavis git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6898 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-23Convert a series of preprocessor "#if 0" into a macro (PRINT_DEBUG).Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6888 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-23Pay attention to the return value of fwrite() to silence a compiler warning.Sean Bright
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6887 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-20tools: Add config.guess and config.sub from autotools-dev 20080123.1 Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6856 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-16Document attributes of a Dahdi::Xpp::Xpd object.Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6842 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-09xpp: Use CFLGAS and libs from autoconfTzafrir Cohen
Use CFLAGS and USB_{INCLUDE,LIB} from dahdi-tools's autoconf. (closes issue #15477) Reported by: pprindeville Patches: usb_use_libs.diff uploaded by tzafrir (license 46) Tested by: pprindeville git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6836 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-08Resolve a compiler warning in dahdi_monitor.Russell Bryant
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6834 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-06xpp: typos and such. Whitespace fixes in PCI.pmTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6832 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-06Dahdi::Config::Params allow item() method to be used without defaultsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6831 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-05Fix bashism in waitfor_xpdsTzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6829 a0bf4364-ded3-4de4-8d8a-66a801d63aff
2009-07-02Add the TC400P trascoder card to our hardware list (seanbright)Tzafrir Cohen
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6823 a0bf4364-ded3-4de4-8d8a-66a801d63aff
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