summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-11Get ourselves the nice README from 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2713 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-11* Enable zaptel-perl by default.tzafrir
* Clunky shell xpp init functions replaced with better perl utilities. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2710 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-05Do not report channels in ZT_STATE_KEWL or ZT_STATE_AFTERKEWL (ie; battery ↵qwell
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/branches/1.2@2696 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-04Bourne shell scripts should not use >& . dash doesn't support it.tzafrir
And all of them simply supressed errors, so they were replaced with 2> /dev/null . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2689 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-04Set the default value for XPP_SYNC.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2687 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-03Fix a potential issue with the reversepolarity module option in wctdm.qwell
Issue 7191, patch by Thomas Andrews. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2683 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-03Fix for span shutdown issuemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2680 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-02Add support for the 2.6.22 kernel. (issue #10095 reported by Matti)file
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2675 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-02When running the optional xpp_startup, run it only when there aretzafrir
Astribank devices connected. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2673 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-26 * Fix unloading of xpp modules.tzafrir
* Add optional support for using the zaptel perl functions git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2670 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-26we need to export variables to sub-level make processes, otherwise the HPEC ↵kpfleming
binary won't always get included in the build git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2668 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-21readability fixes: Remove complex nesting. Move hpec init to a function.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2656 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-12Corrected test codejsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2644 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-12Added new PCI device IDjsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2642 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Add a couple of PCI idsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2638 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Make the version check optionalmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2633 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Revert earlier erred commitjsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2625 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Added new PCI device IDjsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2624 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-11Fixed SMP bugs on quad processor machines. Reduced memory usagejsloan
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2621 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-10* Add fxstest man page (from rev. 2611).tzafrir
* Fix charset warning in zttol.8, ztcfg.8 and ztmonitor.8 . (from rev. 2612) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2613 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-08Make sure the name is rightrussell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2599 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-08Make the checkstack target basically work for kernel 2.6.tzafrir
(It was totally broken) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2595 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) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2589 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07Remove useless backticks.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2587 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-07The -quit option to find is not supported on the version of find installed onrussell
Centos 4. Lame! Just remove it, as it isn't really necessary. (issue #9800, noahisaac) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2583 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-06Add 220/420 supportmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2573 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-06-01Fix for stack overflow on FC6 and VPM450M.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2550 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-18Remove silly got signal messagemattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2539 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17The makefile change needed for parport debugging (only used if parport tzafrir
debugging is enabled). Accedintally left out of previous commit. Has no effect by default. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2534 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17Reduce stack usage of VPM450M. Fix for FC6 load problems.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2531 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-17* Tested with zaptel-1.2.17.1tzafrir
* 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. * Debugfs code now disabled by default. * 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/branches/1.2@2529 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. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2520 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-04Init script clean-up; enable module-specific parameters tzafrir
(though modprobe.conf is the recomended method to pass arguments) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2494 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-02Uh, this wasn't installing: I put a colon in the MAN_PAGES set, and removed ↵murf
an 'exit 1' that prematurely stopped an installation. I'm weirded out. I hope this is a good mod git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2487 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-05-01Add zonedata information for the Philippines.russell
(issue #9525, reported and patched by loloski) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2482 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/branches/1.2@2475 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-29Beginning commit of rev. 3814:tzafrir
renaming xpd init scripts, as the protocol version has changed. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2473 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Fix for potential deadlock in wct4xxp drivermattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2469 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-28Fix for potential deadlock in driversmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2464 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-27Correct and remove (one of each) broken syntax examples.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2459 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Start fixing potential deadlock between device driver and zaptelmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2451 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-25Don't try to reference a variable on a channel that may not exist.qwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2443 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-24Backport pre-echocan debugging for ztmonitorqwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2434 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-13Fix several places where we treat confmode as a bitmask.qwell
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/branches/1.2@2422 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-11Fix buglet in memory corruption fix.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-04-07Fix for #9208. Thanks adomo and Tzafrir!mattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2398 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-30Fix an issue where an echo can was freed incorrectly in certain circumstances.qwell
Issue 9292, fix suggested by ddv2005. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2353 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-29Trim the HPEC readme that is included in zaptel to only include basic ↵russell
information as the one on the FTP site will always be the one that contains the full up to date information. Also, tweak some grammar in the additions to the init script. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2350 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-29Add a README for HPEC, and add support for HPEC in the init script.russell
(issue #9413, chozian) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2347 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-03-27When debug is enabled, ensure that "debug=1" gets passed to the zaptel module,russell
and not just the hardware modules. Also, run "ztcfg -s" at the beginning of the "stop" action of the script. (issue #7409, PCadach and tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2342 5390a7c7-147a-4af0-8ec9-7488f05a26cb