summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-04Experimenting with SOFT_RING again:tzafrir
* Poll R5 every 2 milliseconds; thresholds adjusted accordingly. * experimenting a reduced noring_threshhold (20ms) * Unset ring_sig[] for the FXO channel that is no longer being ringed. * Added ring_sig[] to the fxo struct: set when we need to check for reg 5 (instead of abusing the value of ring_thresh[]) * Don't increment ring_thresh/noring_thresh once they reached their threshold. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1382 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Fix problems with battery voltage fluctuations:tzafrir
- Use a higher voltage. - Add a software debounce counter. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1381 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Only display XORCOM_INTERNAL options if they can be used.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1380 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Show in /proc/xpp/XBUS-?/XPD-?/fxo_info also the noring_thresh[]tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1379 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Disable -DSOFT_RING: done in the FPGA now.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1378 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-02Fix a race condition when quickly reconnecting during a disconnect.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1377 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-01Add string conversion for hardware assisted D-channel to ztcfg (issue #7843 ↵file
reported by Matti, patch mysteriously appeared in my email from someone named angler... crazy that) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1376 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-31Merge in Zaptel VLDTMF support. This does currently have the bug where ↵file
dialtone briefly returns after a digit is being played, but that will be fixed shortly. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1374 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1368 via svnmerge from file
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1368 | file | 2006-08-27 18:58:06 -0400 (Sun, 27 Aug 2006) | 2 lines Copy the firmware from the new location ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1369 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27remove some leftover stuff from last night's mergekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1366 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1362-1363 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1362 | kpfleming | 2006-08-26 21:20:56 -0500 (Sat, 26 Aug 2006) | 2 lines it would probably help if we actually linked the Octasic API objects into the wct4xxp module :-) ........ r1363 | kpfleming | 2006-08-26 21:27:23 -0500 (Sat, 26 Aug 2006) | 2 lines ok... finally, this actually does build correctly for 2.4 kernels ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1364 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-27Merged revisions 1359 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1359 | kpfleming | 2006-08-26 21:02:42 -0500 (Sat, 26 Aug 2006) | 2 lines merge in new, cleaner Octasic API integration ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1361 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-26PARENTSRC is no longer neededrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1354 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-24Print the correct configuration information (issue #7795 reported by bender)file
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1348 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-24Actually populate sigcapmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1346 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-23update to reflect menuselect changesrussell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1344 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-22fix for kernel weirdness when transcode devices are closedkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1342 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-19be consistent with other projectskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1331 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-19update to work with latest menuselectkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1330 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-19Merged revisions 1327 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1327 | kpfleming | 2006-08-18 21:27:49 -0500 (Fri, 18 Aug 2006) | 2 lines don't report the VPM servicing more spans than the card actually has ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1328 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-18Add option to specify how long to let zttest run for (issue #7751 reported ↵file
by kshumard) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1324 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-16run ranlib on static librarykpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1320 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-16clean up libtonezone-related ruleskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1319 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-16Merged revisions 1317 via svnmerge from tilghman
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1317 | tilghman | 2006-08-15 20:36:34 -0500 (Tue, 15 Aug 2006) | 2 lines Bug 7624 - Debian lacks /var/lock/subsys ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1318 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-15Merged revisions 1315 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1315 | russell | 2006-08-15 18:06:13 -0400 (Tue, 15 Aug 2006) | 4 lines Ensure that fopen() is only called once for the debug output file to prevent excessive file descriptor leakage when this function is called many times in a loop. (issue #7203) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1316 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-15Merged revisions 1313 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1313 | russell | 2006-08-15 17:43:26 -0400 (Tue, 15 Aug 2006) | 4 lines fix erroneous check to see if PWD was set before setting it in the Zaptel Makefile. It should always be set. If not, it breaks the build when using recursive calls to make. (issue #7733, tzafrir) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1314 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-15Merged revisions 1311 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1311 | russell | 2006-08-15 17:30:49 -0400 (Tue, 15 Aug 2006) | 3 lines fix passing a 'w' to wait when using pulse dialing (issue #7738, hanabana) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1312 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-15Add support for looping back a single channelmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1310 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-14Merged revisions 1306 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1306 | kpfleming | 2006-08-14 15:40:55 -0500 (Mon, 14 Aug 2006) | 2 lines revert this change until a version that compiles on 2.4 kernels and older 2.6 kernels is made available and tested ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1307 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-14Merged revisions 1304 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1304 | russell | 2006-08-14 00:07:00 -0400 (Mon, 14 Aug 2006) | 3 lines fix potential deadlock found by kernel's lock checker (issue #7620, reported by smurfix, fixed by Corydon) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1305 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-14add a SHORT_FLASH_TIME option to zconfig.h for european phones with short flashrussell
times that sometimes get misinterpreted as a pulse digit 1 (issue #7365, gagravarr) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1303 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-14don't try to include menuselect.makeopts or makeopts if the target is clean,russell
distclean, or update (fixes issue #7723) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1302 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-14Merged revisions 1300 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1300 | russell | 2006-08-13 21:44:59 -0400 (Sun, 13 Aug 2006) | 2 lines add a note that ENABLE_TASKLETS is not implemented in wct4xxp (issue #7688) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1301 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-14Merged revisions 1298 via svnmerge from russell
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r1298 | russell | 2006-08-13 20:54:28 -0400 (Sun, 13 Aug 2006) | 3 lines the change from $(PWD) to $(SUBDIRS) breaks the build on some systems. So, just use them both ... (issue #7720) ........ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1299 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-13use AC_MSG_* instead of echo to support ./configure --silent (issue #7722)russell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1297 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-13use LDLIBS instead of LDFLAGS in various places (issue #7708, Mithraen)russell
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1296 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-12* Wait for /dev/zap/ctl to appear if udev takes its time creating it.tzafrir
* Try looking for ztcfg in /usr/sbin as well. * Also allow setting the location of ztcfg from environment. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1294 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* A delay loop waiting for a slow udev to generate /dev/zap/ctltzafrir
* Work around stupid call to ztcfg on modprobe (as inserted by zaptel install script) * -M now edits /etc/sysconfig/zaptel if it find that file and not /etc/modules * editing of /etc/sysconfig/zaptel: remove all lines that begin with MODULES=, and add MODULES="list of modules" to the end. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1293 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Show SOFT_RING compile status when xpd_fxo module is loaded.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1292 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Fix ring detection logic in FXO:tzafrir
Detect ring stop only when register 0x05 shows no ring voltage for enough samples. This is done via noring_thresh[]. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1291 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* Added support for readingconfiguration from /etc/sysconfig/zaptel .tzafrir
* Config file location can be overriden by environment. * Removed an obsolete function. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1290 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Solves spinlock-panic in CentOS 4.tzafrir
zt_transmit() was called in spinlock protected context. However, it may call back our hook setting code which tries to lock the same spinlock. As a safeguard, the same logic was applied to zt_receive(). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1289 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10card_fxo.c: Fix a potential bug: battery voltage is a 2's complement value.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1288 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Improve checking order in xpp_zap.ctzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1287 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Bugfix: should not call zaptel for unregistered XPD's.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1286 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* New SOFT_RING detection in FXO:tzafrir
- Poll register 0x05 on each DAA - When enough energy (value of 0x20|0x40 occurs enough times), raise the ringing[] flag. - When the value show no energy, lower the ringing[] flag. - When we get SIG_CHANGED of stop ringing -- stop polling. * More debugging messages for proc files git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1285 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10xbus-core.c: documentation updates.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1284 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10genzaptelconf: fixed typo that prevented getting caller ID on zaptel trunkstzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1283 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10Bugfix: the PROC_USBXPP_SUMMARY does not own xpp->proc_xbus_dir and shouldtzafrir
not nullify it (partial reversal of changeset:1225) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1282 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-10* xpp_fxloader: Allow loading just USB firmware with command 'usb'tzafrir
* xpp_fxloader: also add 'load' as an alias of 'xppdetect' * xpp_fxloader: and add a 'help' message. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1281 5390a7c7-147a-4af0-8ec9-7488f05a26cb