Age | Commit message (Collapse) | Author |
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6668 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
From xpp rev. 7137.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6655 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
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
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6632 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6616 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6613 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6603 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6601 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6585 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6583 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6512 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
Also slightly fix the sample config.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6476 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6442 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6429 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6427 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6419 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* 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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6375 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6344 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6337 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* 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
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6283 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
anyway.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6282 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6278 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6272 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6261 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6189 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(closes issue #10450)
Reported by: msahinbas
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6187 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
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
|
|
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
|
|
(By Alessandro Zummo)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6107 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6078 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* 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
|
|
* 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
|
|
Fixed a regression from r6013 .
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6073 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|