summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-11-25Fixing issue #13954 in zaptel 1.2.svn_1.2tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4587 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-18xpp_pri: Fix T1 CRC initializationtzafrir
Clock synchronization when sync is not from first port. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4583 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-11-16Fixed USB firmware that caused some bad bioses to hang on boot.tzafrir
The BIOSes included in a number of motherboards could hang from an Astribank firmware newer than 1.2.20.1 / 1.4.5.1 . This was due to an some incorrect USB information in the firmware. This firmware fixes it. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4580 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-25XPP firmware: Only send out CAS D-channel messages when in CAS mode.tzafrir
From xpp rev 6163. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4544 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09Zaptel.pm: Fix sample program (perldoc-only fix).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4533 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: Bugfix: Display data_high in /proc/xpp/*/chipregs:tzafrir
* This byte wasn't shown even if do_datah bit was set. * Also converged all terminology to "sub-register" and not "indirect" * Changed accordingly '[WR]I' to [WR]S' in code. * Still allow usage of '[WR]I' but with deprecation NOTICE() * Convert init_card_* scripts * Adapt show_regs and write_regs script accordingly. * Leave FXS internal macros with ...INDIRECT... because that's the terminology of the SLIC. * You should use both the newer driver and init script. Specifically: newer init script will fail to work with older BRI and FXS xpp driver loaded. From xpp rev. 6117. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4520 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: FXO: Add caller-id workaround for ESTI-DTMF (for #9096)tzafrir
* Also rename the CID_STYLE_* constants to formal names. From Xorcom Rev. 6115. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4519 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: FXO: cleanup opermode verification code (from DAHDI):tzafrir
* Add proper '-v' option to init_card_2_30 and use it in * xortel/Makefile * Use $mismatches as in DAHDI (minimize diffs). From xpp rev. 6108. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4518 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09xpp-zaptel: fix init_card_2_30 opermode verificationtzafrir
* In case of any diff, exit with non-zero status so the build fails. * Print filename:lineno of missing or changed lines. * Fix two countries (typos fixed in COLOMBIA and CYPRUS). From xpp rev. 6107. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4517 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-09Fix another path to an uninitialized SUB config provided to us from thetzafrir
controller. From xpp rev. 6071. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4516 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-08Minor FXS/FXO type fixes in case probe was not done.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4512 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-03We're not "tor". Update error message if we failed to register major no.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4510 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-09-03Before creating a device, register the major number.tzafrir
Otherwise we need to clean-up those devices in case of failure, and we don't. This fixes the case of accidentally loading zaptel after loading dahdi (Already fixed in DAHDI). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4509 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-20Mark xpp_fxloader as executable.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4494 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-17Zaptel-perl: fix leftovers from r4475 (handling of spaces)tzafrir
While r4767 solved some parsing problems of channels with "strange" encoding names, it introduced a new problem (e.g.: "RED" after "(In use)" which is fixed here. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4488 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-14Update changelog for xpp rev. 6055.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4486 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-14xpp: FXO: display signed voltage values (from xpp r6055)tzafrir
This is only an issue with the displayed value. In case you wondered why you have battery voltage of more than 220V. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4484 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-12Zaptel-perl: more robust parsing of channel signalling types.tzafrir
Parse them from a list rather thna fusing a regex of a "word". git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4475 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-11* pcmtx_chan debugging parameter now refers to a zaptel channel number.tzafrir
* Do initialize xsp. Closes issue #13276 . * xbus_core_shutdown can't be __exit as it is used in initilization as well. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4473 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: fxo: fix caller-id CID_STYLE_PASS_ALWAYS.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4468 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: preliminary CAS support.tzafrir
Uses newer firmware (5975) for the 1151 alone. (From r4463 in branches/1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4467 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: reset a reserved protocol field.tzafrir
(From r4462 in branches/1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4466 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-07xpp: debuggging parameter pcmtx_chan now refers to a zap channel number.tzafrir
Also fix a typo in card_fxs. (From r4461 in branches/1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4465 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Remove obsolete calibrate_slics. Clean more in utils Makefile.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4458 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Add channel alarms in Zaptel-perl and lszaptel specifically.tzafrir
* Zaptel::Chans now provides a method alarms() for a list (or number of) alarms. * lszaptel uses it for a more correct display of channel status. * Also update PCI hardware list. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4455 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Minor BRI initlization improvements.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4454 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Kbuild: A more robust check for the bri_dchan patch.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4453 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Make it formally bashism.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4452 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-04Firmware update: 5959 (DTMF and BRI ID)tzafrir
(From DAHDI rev. 4695) * Fix some cases of double digits. * Fix some rare cases of a BRI unit providing incorrect directionality. * Extra debugging code in card_fxs.c to trace future DTMF issues. * Properly note DAHDI (as opposed to Zaptel) ioctls. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4451 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-03Use the wrapper CLASS_DEV_DESTROY rather than class_device_destroytzafrir
explicitly. Should help with kernels < 2.6.13 and kernels >= 2.6.26 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4448 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-03Fix build on kernels 2.6.2-2.6.13: class_simple_device_removetzafrir
This function only needs the device as its parameter. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4447 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-08-01Fix detection of ringing on FXO ports. This change was made to wctdm in 1.4russell
in revision 4096, but when that code got backported to 1.2 in rev 4132, the change was not made. I found it just by comparing the differences in the drivers between 1.2 and 1.4. (closes issue #13188) Reported by: pyves Patches: 20080731__issue13188_revert4123z12.diff uploaded by bbryant (license 36) issue13188.patch1.txt uploaded by russell (license 2) Tested by: russell, bbryant git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4442 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-21Fix building zaptel 1.2 with kernel 2.6.26. Taken from DAHDI-linux rev.tzafrir
4522. For issue #12944 . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-10PCM: A bugfix that was reintroduced in r4352:tzafrir
After this change, the echo-canceler buffers were not cleared in some cases. As a result when one FXS is put ONHOOK, the other side could hear noise for a second or two until full disconnect is done. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-08A case where we didn't switch to low power at the end of a ring.tzafrir
ISsue may prevents ONHOOK detection. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4394 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-07-07Default ring debounce timer should be higher to properly catch calleridmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4390 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-28Fixes building with the kernel of RHEL 5.2. Closes issue #12889 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4367 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-06-15Muted DTMF PCM (from FXS modules) could "leak" to the next channel.tzafrir
(From xpp r5796). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4352 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.2@4345 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). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4314 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-20* Document Zaptel::Spantzafrir
* Minor changes to Zaptel::Xpp as well. (Documentation-only changes. xpp r5746,r5747) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4308 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4304 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14Wrong version number.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4286 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14XPP documentation fixes.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4271 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-14The parameter print_dbg of xpp has chnaged to "debug".tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4269 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4264 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-04* Allow initialization of T1-s (r5665) .tzafrir
* Remove some false alarms on T1-s (r5669) . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4234 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-05-04A 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 fix issue #12426 . (Backport of r4193 from branches/1.4) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4233 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.2@4194 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-04-17ztdynamic_chanfree.diff from bug #12406 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4174 5390a7c7-147a-4af0-8ec9-7488f05a26cb