summaryrefslogtreecommitdiff
path: root/xpp
AgeCommit message (Collapse)Author
2006-12-01 r1671@boole: tzafrir | 2006-12-01 01:30:24 +0200tzafrir
r2806@boole: oron | 2006-11-27 16:54:06 +0200 Fixed panic in ticket:147 merged code from changeset:2802 changeset:2804 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1678 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1670@boole: tzafrir | 2006-12-01 01:29:57 +0200tzafrir
r2794@boole: oron | 2006-11-26 14:24:15 +0200 Remove all SOFT_RING code (unused for a long time). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1677 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1668@boole: tzafrir | 2006-11-30 23:48:25 +0200tzafrir
r2832@boole: tzafrir | 2006-11-29 11:06:06 +0200 Add parameter xpp_ec to the module xpp (xpp_zap.c). Defaults to 1. If 0, module will use Zaptel echo canceller even with XPP_EC_CHUNK. Parameter is read-only for now: cannot be set through /sys/modules. (Merge of changeset:2830) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1676 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1667@boole: tzafrir | 2006-11-30 23:46:46 +0200tzafrir
r2831@boole: tzafrir | 2006-11-29 11:05:08 +0200 genzaptelconf: A list of countries for which to use busydetect. (backport of changeset:2829) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1675 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-12-01 r1666@boole: tzafrir | 2006-11-30 23:46:11 +0200tzafrir
r2817@boole: oron | 2006-11-28 13:39:47 +0200 Maintenance branch for asterisk-1.2.x git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1674 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-21Typo: SBINDIR -> BINDIR .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1623 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-11init_card[34]_23: merge from 2654,2655.tzafrir
* Redirect stderr to /dev/null. Without any redirection, it may fail with exitval=4 . Probably, fd 2 is closed and the shell (or sed which is used in the scripts) tries to write to it (or do some other I/O related syscall) which fails. * make XPP_BASE handling identical in the two scripts. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1590 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-08Fixed a typo in the "wctdm reimplementation".tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1571 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-06Fixes for card init scripts from rev 2633:tzafrir
* Don't log card init scripts to /tmp/results . * Document how to trace, though. * init_card_4_23: don't re-open the slics file. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1558 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-06Merging xpp driver release 1.2 (rev. 2569), originally team/tzafrir/xpp_1.2tzafrir
* Should build well. Almost final. * genzaptelconf: Also work when zap_autoreg=0 * README.Astribank updated for rev. 1.2. * xpp/utils/Makefile: Use $< with cc -c * Get xpp/utils configuration from autoconf (without changesin top dir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1557 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-11-01instead of setting HOSTCC and CC directly in the Makefile, use the informationrussell
provided by the configure script (issue #8055, tzafrir) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@1547 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Moving firmwares back where they were.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1455 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-09Bugfix: Shorten max lines < MAX_PROC_WRITEtzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1453 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Move firmwares to a separate subdirectory.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1424 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fix problems reported by sparsetzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1423 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06A hacked udev support for xpp_fxloader.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1420 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06FPGA firmware rev. 2008tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1419 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06* fpga_load.c: fix a size error. Now works on amd64 .tzafrir
* fpga_load -vvv now dumps the transmitted packet. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1418 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Remove unused data member.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1417 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fixes for 2.6.8 compilation:tzafrir
* Replace the completion variable with two atomic counters and a wait queue the xbus_poll() code is revamped to use this. * genzaptelconf: Adapt to different module parameter location in sysfs . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1416 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Fix a possible return from xbus_core without releasing xbus->in_use .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1414 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06genzaptelconf: allow passing the names of the produced files from the tzafrir
environment. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1412 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Cleanup the unused non-RBS code:tzafrir
* remove all non WITH_RBS code. No need for the define. * unused recv_errors and seq_errors. * CID_START_TICKS, CID_STOP_TICKS cid_timer from trunk/ git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1411 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06More cleanup:tzafrir
xpp_zap.c: * Remove old and long unused character device interface. * Show some extra fields in XPD summary proc file. * Move atomic_dec() to correct position card_fxs.c: Remove unused label. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1409 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Begin merging a small set of clean-ups:tzafrir
* __do_sethook() was gone and merged into do_sethook(). * Use DAA_RING_REGISTER constant instead of a number. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1408 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06Better USB error handling: move "pending_writes" check earlier.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1407 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-06* genzaptelconf: remove duplicate test for location of ztcfgtzafrir
* genzaptelconf: really add the option -R (suppress restarting Asterisk in the end) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1405 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Don't throw a SLIC_REPLY packet just because we're not registered yet.tzafrir
Test for ring control and such will be done in update_line_status(). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1399 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05SPAN_REGISTERED() should not rely on zaptel ZT_FLAG_REGISTERED sincetzafrir
zaptel set it before registration is finished. (right: xpp needs to replicate zaptel's bookkeeping here). git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1397 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Rate limit error messages for USB URBs.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1396 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-05Raw xbus command proc interface (Compile-time option. Desabled by default).tzafrir
(most of this fix got accidentally into in xbus-core.c in prev. commit) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1395 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04* Re-add calibrate_slics to the FXS initialization processtzafrir
* xpp/utils: Build and install init_fxo_modes . Data is based on data from wctdm.c . TODO: a separate daa.h? * Fail the script if automatic calibration has failed. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1394 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04FXO caller-id now works.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1393 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Workaround spurious rings described in ticket:102 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1392 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Rename the bitmask xpd->hookstate into xpd->offhook (for readability).tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1391 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Move all zt_hooksig(...{OFF,ON}HOOK) calls into update_line_status() tzafrir
in xpp_zap.c git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1390 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Finally not using SOFT_RING.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1389 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Send ring signalling to zaptel directly from card_fxo.c:tzafrir
no need to xpp_ring_generate() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1388 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Fix FXO polling (separate poll_counter for each unit)tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1387 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Remove obsolete rapid configuration code.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1386 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04* Deleted the internal changelog of genzaptelconf.tzafrir
* bumped up internal version to 0.5.5 . git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1385 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04genzaptelconf: handle the case of zap_autoreg=0 tzafrir
(FIXME: code copied from zaptel.init) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1384 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-09-04Minor code cleanup: No more SETHOOK method. It's only used in FXO, sotzafrir
now it's an internal function: __do_sethook() git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1383 5390a7c7-147a-4af0-8ec9-7488f05a26cb
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-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