summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-19You need a space after [, since [ is an applicationqwell
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3529 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19There is an architectural issue with the way menuselect works in zaptel. Ifrussell
the menuselect.makeopts file gets automatically created when running make, then the Makefile does not get the contents of that file included. The bug exposed itself where libnewt was not found, but we tried to build it anyway. This hack prevents that from happening, but the larger issue needs to be addressed. It can be fixed once the actual building of the modules and userspace tools are done by sub Makefiles ... (closes issue #11199) Reported by: dimas Patches: newt_select_makefile.diff uploaded by tzafrir (license 46) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3528 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19eliminate a compiler warning and restore the ability to use HPEC (without ↵kpfleming
parameters for now) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3526 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-19add ability to provide parameters to echo cancelers on a per-channel basis, ↵kpfleming
and remove the three versions of the 'Mark' echo canceler (later replaced by KB1 and then by MG2) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3524 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18even though it's not very logical, having a 'next sample' number of zero for ↵kpfleming
a sample is valid, so restore the ability to set one git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3516 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18Enable xpp_usb in the sysconfig file as xpp no longer generates manytzafrir
interrupts when there's no hardware connected. Merged revisions 3514 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3515 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18remove some accidentally merged propertieskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3513 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18Block r3509 from 1.4 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3511 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-18xpp r5151:tzafrir
* xpd_pri: Basically ready. * PCM synchronization changes: - Each Astribank unit ticks independently. Each with its own PLL. - HOST synchronization is gone. Loading of xpp will no longer cause useless 250 ticks per second if you have no Astribank. - Synchronization from the zaptel sync master requires setting ZAPTEL as sync source (xpp_sync ZAPTEL). * rx_tasklet is now a parameter of the module xpp, rather than of xpp_usb. * New FPGA firmware: 5128 (1151) / 5122 (1141, 1131): - Fixes synchronization issues. - PRI module: E1 should now work. * perl module and utilities: - Modules no longer magically scan system on initialization. - Scanning is by calling explicit methods. - "Serial" has been renamed "Label". It is basically unique, but should be modifieble. - Some basic documentation of zaptel perl modules. * Default sort order of zt_registration is back to SORT_CONNCTOR. * zt_registration proc file now shows the number of span registered to if registered. Try: grep . /proc/xpp/XBUS-*/XPD-*/zt_registration * genzaptelconf: Allow using a custom command instead of /etc/init.d/asterisk to start/stop asterisk. * Fixed the typo "Slagish". Merged revisions 3506 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3508 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-17Detect some extra X101P clones out there.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3501 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-16Make sure the asciidoc menu is deep enough.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3495 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-16Simplify udev rules so they will be in line with ones provided bytzafrir
distributions and allow simple overriding of file permissions. Closes issue #11276 . Merged revisions 3493 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3494 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-14(merging dtmf-twister branch plus a few fixes)kpfleming
move DTMF/MF generation into tonezone.c (libtonezone) so that it can happen at runtime instead of compile time; this allows for DTMF/MF to be different on a zone-by-zone basis without requiring a recompile of Zaptel set DTMF 'twist' for Brazil (zone 'br') to 2dB git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3490 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-13Merged revisions 3475 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3475 | kpfleming | 2007-12-13 16:59:16 -0600 (Thu, 13 Dec 2007) | 2 lines remove some code that is not compatible with modern versions of pppd ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3476 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-13Show zaptel sync master in /proc/zaptel/N . Closes issue #10329 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3467 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-13Using live_zap now to crash^debug zaptel on other computers.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3466 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-13remove tone_zone_init() completely, since it just initializing the array to ↵kpfleming
contain all zero (NULL) entries and it will already be that way since it is a module-level static variable git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3461 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-13Convert a constant '0' return value to a void. From #10851 .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3460 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12If these are going to cause the script to exit, we really need to explain why.qwell
Issue 10902, patch by snuffy git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3455 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12remove duplicate setting of 'devicetype'... reported by tzafrir on #asterisk-devkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3449 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-12ztd-eth: Fix a cast warning on earlier 2.6 kernels.tzafrir
Merged revisions 3445 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3446 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3441 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3441 | mattf | 2007-12-11 17:08:07 -0600 (Tue, 11 Dec 2007) | 1 line Lower this to fix compatibility related bugs ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3442 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Use correct syntax for test comparisons.qwell
Closes issue #11519, reported and patched by eliel. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3438 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11A legacy Kbuild Makefile for xpp/ .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3435 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11This Makefile should be Kbuild. A legacy redirection will closelytzafrir
follow. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3434 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3430 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3430 | kpfleming | 2007-12-11 11:27:00 -0600 (Tue, 11 Dec 2007) | 4 lines coding guidelines cleanup report results of failure to initialize a VPMADT032 module all the way up the process, so that a card with a failed VPM won't be left in a partially-operational state clean up early exits from wctdm_init_one() to undo all previously completed steps ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3431 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3426 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3426 | kpfleming | 2007-12-11 10:37:28 -0600 (Tue, 11 Dec 2007) | 2 lines we don't need a message telling the user that they don't have a VPMADT032, that will only serve to confuse them ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3427 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11* uninstall-modules: put in build_tools, and remove language suffix.tzafrir
* Close bug #11511. * Some other cleanups of uninstall-modules. Merged revisions 3420,3424 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3425 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Fix and document zttest -c <count> .tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3421 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Rename Makefile.kernel26 to Kbuild (in subdirectories alone):tzafrir
* kernel 2.6 build system >= 2.6.9 will use this directly. * Kernels 2.6.0-2.6.8 will still use the legacy name 'Makefile'. * Also fix a typo in 1.4/wcte12xp/Makefile (already fixed in 1.2). * 1.4/wctc4xxp/Makefile should not include userspace targets in the Kbuild file - those have a different syntax. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3417 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Fix the typo for the case of using M= instead of SUBDIRS= .tzafrir
Merged revisions 3415 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3416 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3411 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3411 | mspiceland | 2007-12-10 18:53:29 -0600 (Mon, 10 Dec 2007) | 2 lines Reverting changes from 3405 so that I can do this the correct way. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3412 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3407 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3407 | mattf | 2007-12-10 18:21:56 -0600 (Mon, 10 Dec 2007) | 1 line Make sure we wait long enough for the VPMADT032 to boot before we interact with it again ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3408 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-11Merged revisions 3405 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3405 | mspiceland | 2007-12-10 18:07:19 -0600 (Mon, 10 Dec 2007) | 6 lines If we detect that we have a VPMADT032 module but there is an error during initialization, we don't proceed and register with Zaptel. This will prevent customers with faulty VPMADT032 modules from going undetected. Customers can always load with vpmsupport=0 to proceed with this error but will do so knowingly. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3406 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Merged revisions 3400 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3400 | mspiceland | 2007-12-10 17:01:23 -0600 (Mon, 10 Dec 2007) | 5 lines Small change to prevent scary messages (one's with "Failed" in them) to users without hardware echo cancellation modules installed. In case they actually have one instead, we still report some info in debug mode to help find where in the init the module failed for troubleshooting. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3402 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Don't build wctdm24xxp/ in 2.4:tzafrir
wctdm24xxp/base.c needs <linux/workqueue.h> . git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3399 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10* Add a list of userspace subdirectories (just like for kernel).tzafrir
* Make it saner to enable/disable them. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3396 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10report 'location' for cards supported by wct4xxp using the 'order' switches ↵kpfleming
on the card when possible git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3393 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Merged revisions 3389 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3389 | kpfleming | 2007-12-10 11:24:59 -0600 (Mon, 10 Dec 2007) | 2 lines remove explicit references to 5.3kb/s mode in wctc4xxp driver, as the driver can now accept both 5.3kb/s and 6.3kb/s (but will still only generate 6.3kb/s) ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3390 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10fix firmware object names for non-hotplug firmware for wctc4xxp, wcte12xp ↵kpfleming
and wctdm24xxp add VPM reporting in 'devicetype' to wcte12xp fix VPM reporting in 'devicetype' for wctdm24xxp so it actually works git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3388 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Merged revisions 3386 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3386 | kpfleming | 2007-12-10 11:02:17 -0600 (Mon, 10 Dec 2007) | 2 lines cosmetic fix for TE120P cards ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3387 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10for broken analog ports, retain the signaling type that would have been ↵kpfleming
supported if the port wasn't broken in ztscan, report the port types of analog ports instead of the signaling type git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3383 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-10Do document ZAPTEL_SYNC_TICK.tzafrir
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3382 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-09Ignore some generated files.tzafrir
Merged revisions 3377 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3378 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Merged revisions 3373 via svnmerge from mspiceland
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3373 | mspiceland | 2007-12-08 16:39:28 -0600 (Sat, 08 Dec 2007) | 2 lines Verbose vpm test block should only be printed in debug mode. ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3374 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Merged revisions 3370 via svnmerge from mattf
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3370 | mattf | 2007-12-08 13:52:33 -0600 (Sat, 08 Dec 2007) | 1 line Add GPL disclaimers to some headers without them ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3371 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08revert an unnecessary changekpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3367 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Merged revisions 3365 via svnmerge from kpfleming
https://origsvn.digium.com/svn/zaptel/branches/1.2 ........ r3365 | kpfleming | 2007-12-08 11:04:11 -0600 (Sat, 08 Dec 2007) | 5 lines clean up firmware handling across wct4xxp, wctc4xxp, wctdm24xxp and wcte12xp drivers to use consistent methods add non-hotplug firmware loading support to wctdm24xxp and wcte12xp add license and copyright headers to various files that did not have them clean up header inclusion in some files ........ git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3366 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Adding back Kevin's change that was lost on my last merge. ↵mspiceland
\------------------------------------------------------------------------ r3343 | kpfleming | 2007-12-07 13:39:05 -0600 (Fri, 07 Dec 2007) | 2 lines as suggested by tzafrir on asterisk-dev, remove some code duplication when handling ZT_SPANCONFIG git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3362 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-12-08Moving wcte12xp driver into a subdirectory and adding support for the Digium ↵mspiceland
TE121 and TE122 cards. These cards support the Digium VPMADT032 module. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3356 5390a7c7-147a-4af0-8ec9-7488f05a26cb