summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-11A more robust modules loading order, IMHO.tzafrir
If this breaks, the first thing to try is to remove faulty run of zaptel from modprobe.conf . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2716 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11Get the README from 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2715 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-05Merged revisions 2697 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 Closes issue 7612. ................ r2697 | qwell | 2007-07-05 13:10:29 -0500 (Thu, 05 Jul 2007) | 13 lines Merged revisions 2696 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2696 | qwell | 2007-07-05 13:08:53 -0500 (Thu, 05 Jul 2007) | 5 lines Do not report channels in ZT_STATE_KEWL or ZT_STATE_AFTERKEWL (ie; battery drop) states as available. This becomes more likely if ZT_KEWLTIME or ZT_AFTERKEWLTIME are set to higher values. Issue 7612, patch by rbraun. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2698 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-05The zaptel.h patch from part of #9909 . Commited as asterisk-devtzafrir
discussion concluded in favour. It has been tested mostly on zaptel 1.2 and also on 1.4 and applies cleanly on both. The Asterisk patch is safe to apply and requires no extra autoconf settings, as it is ifdef-ed on the new #define from the zaptel patch. The xpp patch is will be updated on the driver on our upcoming driver update. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2692 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-04* Fix unloading of xpp modules.tzafrir
* Initialize the Astribank (xpp) using the zaptel-perl utilities. (in trunk they are installed by default) (From branches/1.2 changesset:2670 and changeset:2673) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2686 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-03Merged revisions 2684 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 Closes issue #7191 ................ r2684 | qwell | 2007-07-03 13:58:24 -0500 (Tue, 03 Jul 2007) | 12 lines Merged revisions 2683 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2683 | qwell | 2007-07-03 13:57:42 -0500 (Tue, 03 Jul 2007) | 4 lines Fix a potential issue with the reversepolarity module option in wctdm. Issue 7191, patch by Thomas Andrews. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2685 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-03Fix shutdown issuemattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2682 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-02Merged revisions 2676 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2676 | file | 2007-07-02 12:58:23 -0300 (Mon, 02 Jul 2007) | 10 lines Merged revisions 2675 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2675 | file | 2007-07-02 12:56:18 -0300 (Mon, 02 Jul 2007) | 2 lines Add support for the 2.6.22 kernel. (issue #10095 reported by Matti) ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2677 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-02Blocked revisions 2671 via svnmergefile
........ r2671 | file | 2007-07-02 10:46:37 -0300 (Mon, 02 Jul 2007) | 2 lines Nobody ever updated the wctc4xxp stuff to use the in-tree firmware management stuff... 'tsk 'tsk. (issue #10093 reported by snuffy) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2672 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-21zaptel.init:tzafrir
* Reduce nesting in hpec startup by moving it to a function. * Fix a syntax error in hpec startup. * Remove ztcfg -s from shutdown. * Someone with a dynamic span, please test the suggested replacement (remmed-out). * Reduced nesting in wait_for_xpp . Ignore some generated man pages in xpp/utils Merges: r2657 - r2660 from brnaches/1.4 . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2661 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Merged revisions 2639 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2639 | mattf | 2007-06-11 17:18:24 -0500 (Mon, 11 Jun 2007) | 9 lines Merged revisions 2638 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2638 | mattf | 2007-06-11 17:17:14 -0500 (Mon, 11 Jun 2007) | 1 line Add a couple of PCI ids ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2640 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Merged revisions 2634 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2634 | mattf | 2007-06-11 17:12:04 -0500 (Mon, 11 Jun 2007) | 9 lines Merged revisions 2633 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2633 | mattf | 2007-06-11 17:10:59 -0500 (Mon, 11 Jun 2007) | 1 line Make the version check optional ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2637 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Merged revisions 2635 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2635 | qwell | 2007-06-11 17:12:27 -0500 (Mon, 11 Jun 2007) | 6 lines Remove a file from the tree that hasn't been used in a very long time. The last time this file changed was in revision 79. It is also not referenced anywhere in the tree, and doesn't even compile... Issue 9923, reported by tzafrir. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2636 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-10* fxotune man page is up-to-date for 1.4.tzafrir
* fxtest man page. (crev. 2611) * ó is non-printable on non-UTF-8 locales. Replaced with \['o] to make lintian happy. (rev. 2612) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2614 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-08Merged revisions 2601 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2601 | russell | 2007-06-08 10:58:34 -0500 (Fri, 08 Jun 2007) | 9 lines Merged revisions 2599 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2599 | russell | 2007-06-08 10:57:18 -0500 (Fri, 08 Jun 2007) | 1 line Make sure the name is right ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2602 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07Some XPP bugfixes:tzafrir
* Fix FXO power denial detection (changeset:4054) * Incorrect data type could cause FXO module to go off-hook (changeset:4048) * xpp_fxloader: fix the error message when you want to disable automatic firmware loading... (changeset:4060) Merged from: branches/1.2 r2589 git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2592 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-06Make the file more readable and make it easier to override permissions.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2581 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-06Add 220/420 supportmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2575 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-05* >& does not work with all /bin/sh shells (specifically not /bin/dash , tzafrir
occasionally used as /bin/sh in Debian / Ubuntu). * Removed some unnecessary 2>/dev/null . If ztcfg failed, the user should know, and have the data to fix the problem. * Removing ztcfg -s from the stop target. Who needs it? git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2572 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-05Add an uninstall target (Bug 9752, lathama)tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2571 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-01Merged revisions 2551 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2551 | mattf | 2007-06-01 12:06:29 -0500 (Fri, 01 Jun 2007) | 10 lines Merged revisions 2550 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2550 | mattf | 2007-06-01 11:56:09 -0500 (Fri, 01 Jun 2007) | 2 lines Fix for stack overflow on FC6 and VPM450M. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2552 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-18Let's not overload our minor numbers. Fixes error on unload on systems with ↵mattf
more than 250 devices. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2542 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-18Remove silly got signal message.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2541 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17XPP revision 3965:tzafrir
* Tested with zaptel-1.2.17.1 * Add D-Channel TX, RX and BAD frames count in /proc/xpp/XBUS-*/XPD-*/bri_info * Adjust output of xpp_sync script. Pad for 8 port BRI. * Added a debugging module parport_debug (not compiled by default). * Added an optional patch to zaptel: - compiles only if ZAPTEL_SYNC_TICK is defined - Allow interested driver to register for "sync" notification. - Does not affect drivers that do not use this feature. * Added external synchronization feature: - Only if ZAPTEL_SYNC_TICK feature is compiled in - Than XPP may be synchronized by another card (e.g: an Astribank with FXS can be synchronized by a Digium PRI card). - May be enabled/disabled in runtime via the 'sync_tick_active' module parameter to the xpp.ko module. * Fixed a potential bug in D-Channel hexdump printing. * New visual indications in BRI leds: - Constant ON RED/GREEN: Shows the port type -- NT/TE. - Very fast "double blink": Layer1 work, no D-Channel yet. - Steady blinking (1/2 sec): D-Channel trafic detected. * xpp_fxloader moved to /usr/share/zaptel . * adj_clock removed: never really used. * Now we have Zaptel::Hardware and a sample zaptel_hardware script (not (installed by default). * We also have a sample perl zapconf (not installed by default) which aims at replacing genzaptelconf (sans the modules detection). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2537 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Merged revisions 2532 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2532 | mattf | 2007-05-17 15:35:57 -0500 (Thu, 17 May 2007) | 1 line Reduce stack usage of VPM450M. Fix for FC6 module load problems ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2533 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Merged revisions 2527 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2527 | qwell | 2007-05-17 13:46:28 -0500 (Thu, 17 May 2007) | 5 lines Fix problem with chan_misdn not being built in Asterisk, due to missing suppserv. Update to new tarballs from misdn.org and allow versioning in Makefile. Issue 9064. ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2528 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Add support for "Timed Agressive Echo Cancellation" for mg2 and kb1.qwell
Issue 9703, patch by SoloFlyer. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2526 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Merged revisions 2524 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2524 | file | 2007-05-17 12:49:56 -0400 (Thu, 17 May 2007) | 2 lines Allow the fxotune config file to be specified instead of hardcoded. (issue #8444 reported by pupeno, patch by tzafrir) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2525 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17The debugfs code seems to have some bad sideeffects when badly used.tzafrir
So don't enable it by default. (From chabgeset 2520) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2523 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-16Make sure debug messages are only on when debug is enabledmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2519 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-16Make sure the leds aren't updating every framer interruptmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2518 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-16Enable framer only interruptsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2517 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-16Optimize this further. We actually should check the framer ASAP, so that ↵mattf
its interrupt gets cleared git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2516 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-10Make sure it's a high priority taskletmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2505 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-01Merged revisions 2483 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2483 | russell | 2007-05-01 11:22:02 -0500 (Tue, 01 May 2007) | 11 lines Merged revisions 2482 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2482 | russell | 2007-05-01 11:20:50 -0500 (Tue, 01 May 2007) | 3 lines Add zonedata information for the Philippines. (issue #9525, reported and patched by loloski) ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2484 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-30Merged revisions 2480 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.4 ........ r2480 | kpfleming | 2007-04-30 19:07:21 -0400 (Mon, 30 Apr 2007) | 2 lines eliminate bogus warning message during script startup with no HPEC licenses ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2481 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29Do install the perl stuff.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2479 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29xpp rev. 3814:tzafrir
* Protocol no. 2.6: syncing improvements. * Support for 8-port Astribank BRI. * Firmware unloading now works: rmmod xpp_usb; /etc/hotplug/usb/xpp_fxloader reset * Defaults of kernel parameters are now part of parameter description. * World-readable kernel parameters. * No need for extra patch beyond bristuff for Astribank BRI. * Default poll intervals changed: 500 in BRI and FXO. * Allow changing FXS polls interval at run time. * BRI initalization fixed on SUSE (path to logger). * When using the SUSE zaptel rpm package, set modules_var=ZAPTEL_MODULES in /etc/sysconfig/zaptel . * zt_registration not verbose by default. * xpp_sync warns if FXO is sync slave. * Fixed genzaptelconf -z (zapscan output emulation). * PCM fixes. * Solves "multiple ticks" bug. No need for pcm_tasklets workaround. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2478 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Enable slip debugging by default, as well as add a parameter to report slips ↵mattf
in /proc/zaptel/x git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2472 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Make sure we use the locked version since we don't own reglock here.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2468 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Merged revisions 2465 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2465 | mattf | 2007-04-28 14:11:20 -0500 (Sat, 28 Apr 2007) | 10 lines Merged revisions 2464 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2464 | mattf | 2007-04-28 14:04:50 -0500 (Sat, 28 Apr 2007) | 2 lines Fix for potential deadlock in drivers ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2466 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Fix potential deadlock as well as reduce our locked time.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2463 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-27Merged revisions 2460 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2460 | qwell | 2007-04-27 14:06:12 -0500 (Fri, 27 Apr 2007) | 10 lines Merged revisions 2459 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2459 | qwell | 2007-04-27 14:05:25 -0500 (Fri, 27 Apr 2007) | 2 lines Correct and remove (one of each) broken syntax examples. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2461 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25fix style in ztmonitor's code:tzafrir
* Use getopts for parsing the options. * Fix incorrect test for "no output stream". * Give names to some numbered file descriptors. * A separate usage message function. That is being used. * The sox message is back, and gives a working command. * clean-ups. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2454 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Fix potential deadlock in driver-zaptel interactionmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2453 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Merged revisions 2444 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2444 | qwell | 2007-04-25 10:36:17 -0500 (Wed, 25 Apr 2007) | 10 lines Merged revisions 2443 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2443 | qwell | 2007-04-25 10:35:34 -0500 (Wed, 25 Apr 2007) | 2 lines Don't try to reference a variable on a channel that may not exist. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2445 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-24merge (manually) ztmonitor pre-echocan debuggingqwell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2436 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-13Merged revisions 2423 via svnmerge from qwell
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2423 | qwell | 2007-04-13 18:14:33 -0500 (Fri, 13 Apr 2007) | 22 lines Merged revisions 2422 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2422 | qwell | 2007-04-13 18:12:23 -0500 (Fri, 13 Apr 2007) | 14 lines Fix several places where we treat confmode as a bitmask. It is a bitmask...sort of.. I'll explain.. confmode is used for 2 different things. It defines both the "mode" and the "flags" of the conference. The "mode" part is in 0x00FF and is NOT bitwise. The "flag" part is in 0xFF00 and *IS* bitwise. Confused yet? Good. So, when we want to check the "mode" of the conference, we need to check only within 0xFF. There were several places where this was not happening - but due to luck, it worked (...sort of). That's what this patch fixes. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-11Merged revisions 2406 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.4 ................ r2406 | mattf | 2007-04-11 14:03:50 -0500 (Wed, 11 Apr 2007) | 12 lines Merged revisions 2405 via svnmerge from https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r2405 | mattf | 2007-04-11 14:01:21 -0500 (Wed, 11 Apr 2007) | 4 lines Fix buglet in memory corruption fix. ........ ................ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-07chan variables are accessed without a lock, so they could change underneath ↵mattf
us. Make sure we use a local variable for access to them. (#9208) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@2396 5390a7c7-147a-4af0-8ec9-7488f05a26cb