summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-06-28Fixes building with the kernel of RHEL 5.2. Closes issue #12889 .tzafrir
Merged revisions 4367 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4368 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-24minor Makefile fix to properly find zaptel.h (DAHDI-3)kpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4363 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-20Remove unnecessary udelay from read/write PCI routinesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4360 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-17fix various problems:kpfleming
- don't actually install hotplug firmware just because it has been downloaded... wait until hotplug-install is requested - ensure that tag files aren't removed and recreated unless the firmware file was successfully installed git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4356 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-15Muted DTMF PCM (from FXS modules) could "leak" to the next channel.tzafrir
(From xpp r5796). Merged revisions 4352 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4353 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-05Fixes a potential panic in Xorcom Astribanks devices if disconnectedtzafrir
when a userspace program still holds a channel open. Regression from changeset 4250 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4348 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-05Fixed type of flags parameter to spin_lock_irqsave functions. Fixessruffell
compilation issues on platforms where int and long do not have the same size. Closes issue #12787 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4345 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-03live_zap: Also use the BRI module if it's there.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4342 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-03Remove an unused variable from ztmonitor.c .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4339 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-29Change argument parsing for ztmonitor to use getopt. This adds more ↵bbryant
compatibility for loosely formatted arguments. (closes issue #12732) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4333 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-28Small documentation fix with regards to the latency module parametersruffell
identified by user ZX81. This closes issue #12721. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4321 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-22blink_mode was a boolean and changed to a channels bitmask. Now actuallytzafrir
changing the type from bool to unsigned long. (xpp r5756). Merged revisions 4314 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4315 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-20* Document Zaptel::Spantzafrir
* Minor changes to Zaptel::Xpp as well. (Documentation-only changes. xpp r5746,r5747) Merged revisions 4308 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4309 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-19* Zaptel-1.2.x does not have zt_alarm_channel(). Move up the backwardtzafrir
compatibility kludge so it actually affect code (failed compilation on zaptel-1.2 from Digium without (Closes issue #12654 ). * Cleanup a compile warning in xpp/card_global.c . * Fix regression in PRI init script (case of less than 4 modules). * Update changelog and bump version. Merged revisions 4304 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4305 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-16git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4301 ↵mattf
5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-16git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4300 ↵mattf
5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-15Add support for stereo output of receive and transmit streams in ztmonitor ↵mattf
(from Switchvox) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4296 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Allow hpec to build on older(?) 2.6 kernels.qwell
(closes issue #12623) Reported by: ricvil Patches: hpec_src.diff uploaded by tzafrir (license 46) Tested by: qwell, ricvil git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4290 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Wrong version number.tzafrir
Merged revisions 4286 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4289 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Temporarily revert revisions 4006 and 4009, until a better decision can be ↵qwell
made about channels on spans. Closes issue #12635 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4285 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Add MTP2 Signalling support to single span cardsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4279 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14XPP documentation fixes.tzafrir
Merged revisions 4271 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4272 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14The parameter print_dbg of xpp has chnaged to "debug".tzafrir
Merged revisions 4269 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4270 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-13xpp r5723: Includes, among others:tzafrir
* New firmware protocol version: 3.0 . * New numbers for the device types: (e.g. in card_init* scripts) - FXS: 1 (was: 3) - FXO: 2 (was: 4) - BRI: 3 (was: 6 for TE, 7 for NT) - PRI: 4 (was: 9) * Init scripts of FXS and FXO modules are now written in Perl as well (be sure to have File::Basename, e.g: perl-modules in Debian). * calibrate_slics merged into init_card_1_30 . * Module parameter print_dbg replaced with debug . Same meaning. * init_fxo_modes removed: content moved into init_card_2_30, verified at build time. * Code tested with sparse. Most warnings were fixed. * Set ZT_SIG_DACS for the bchans in the PRI and BRI modules to not get ignored by ztscan. * Handle null config_desc we get from some crazy USB controllers. * genzaptelconf: Fix reporting of empty slots in list mode. * xpp_blink can now blink a single analog port. * "slics" has been renamed "chipregs". * Fixed a small typo in fpga_load(8). * Fixed bashism in xpp_fxloader. Merged revisions 4264 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4266 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-13Ignore files generated when making README.html .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4265 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-13Remove old zaptel modules from the kernel modules directory before installingsruffell
the new ones. (Related to issue #12262) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4261 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-12* Write to zaptel.conf under our live/ directory .tzafrir
* Fix reading variables from live/live.conf . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4257 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-12Apparently this API changed in 2.6.18, not in 2.6.22mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4253 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-11Merge in kernel level MTP2 branch.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4250 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-04* Allow initialization of T1-s (r5665) .tzafrir
* Remove some false alarms on T1-s (r5669) . Merged revisions 4234 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4235 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-03Docuemnt the tonezones we currently have.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4232 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Remove some useless code that was merged from the stackcleanup branchmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4231 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Remove old schedule_timout code and replace with an msleepmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4230 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Move the checktiming parameter to a flag in checkflag as wellmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4227 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Switch to using bitflags instead of variables for stopdma fieldmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4224 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Fix for #12387. Cannot unload wct4xxp module on FC8mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4223 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-02Merge stack cleanup branch into 1.4. Also merge firmware load time fix for ↵mattf
wct4xxp driver. The stack cleanup branch reduces the amound of stack used by zaptel, nice for systems with 4K stacks enabled and where potential stack overflow is found git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4221 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-01Clarify a message. Some hardware doesn't provide timing, so this could be ↵qwell
confusing. (closes issue #12459) Reported by: panderson Patches: zaptel.init.patch uploaded by panderson (license 469) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4217 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-01Allow $(ARCH) to be overridden and pass on through $(KMAKE)twilson
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4213 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-25Since MF R2 tones are generated continuously, we need to not set the dialing ↵qwell
status. (closes issue #12526) Reported by: moy Patches: zaptel-mf-dialing-rev4195.patch uploaded by moy (license 222) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4196 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-25Based on a comment made by moy in #asterisk-dev, and the surrounding code in ↵qwell
these functions, I believe that this is what was actually intended in r4130. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4195 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-24Fixes a regression in versions 1.2.25 and 1.4.19 identified by korihor wheresruffell
the wctdm driver was no longer properly recognizing polarity reversals. (closes issue #12419) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4194 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-23A test for a specific #define in zconfig.h was done by invoking cpp .tzafrir
Sadly the change of CFLAGS handling in kernel 2.6.24 meant that it is no longer as easy to invoke cpp on our own. Impact: On kernel >= 2.6.24, xpd_bri never got built, even if the bri_dchan patch was applied. Fix: use a simpler grep instead. Hopefully noone passes it through other means. This should hopfully fix issue #12426 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4193 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-23Bumped into yet another incompatibility.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4192 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-23Updated to latest code, fixed bug in serial i/ojdixon
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4191 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-22Fixed problem preventing multiple channels from using multiple CTCSSjdixon
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4190 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-21Zaptel::Config::Default - don't die if no config file.tzafrir
(Accidentally left out of the merge from 1.2) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4187 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-19Fix compiler from complainingmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4185 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-19Remove unintentional svn property additionmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4184 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-19Partial fix for #9379. Fixes potential race condition in open and close ↵mattf
routines for zaptel devices git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@4183 5390a7c7-147a-4af0-8ec9-7488f05a26cb