summaryrefslogtreecommitdiff
path: root/fxotune.c
AgeCommit message (Collapse)Author
2008-02-15Fixes bug 11471. Replaced all instances of strncpy with zap_copy_string ↵jpeeler
(added to zaptel.h) to fix any off by one errors and ensure destination string is NULL terminated. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3833 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2008-01-09BIG fxotune update. New version which uses fourier analysis for echo return ↵mattf
loss measurement. Much more accurate than the old version, and can penetrate through background noise that may be on the line as well as noise caused by tones in the background such as reorder or congestion if the timing parameters aren't exactly right in the setup. If you have analog fxo modules, it is recommended that you run fxotune on them again with this latest version. You will definitely see even better results git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3640 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-10-20Update fxotune in 1.2 to be the same as fxotune in 1.4. Should have been ↵mattf
done a long time ago git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3179 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-08-21* Add an explicit mode to the callto open (the default one that is usedtzafrir
anyway). * Clarify error message. Closes #10505 on Zaptel 1.2. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2914 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-07-27Quick fix for could not fill input buffer errorsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2786 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31make it simpler for existing userspace apps to use the new zaptel.h that ↵kpfleming
requires linux/types.h git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2059 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2007-01-31merge support for the Digium TC400B hardware transcoderkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2057 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-08-15Ensure that fopen() is only called once for the debug output file to preventrussell
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/branches/1.2@1315 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-05-18Clear dialtone before running tests (issue #7136 reported and fixed by ↵file
trumpetinc) git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@1073 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2006-01-10Fix libtonezone naming scheme for minor numbersmattf
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@885 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-11-29remove extraneous svn:executable propertieskpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@837 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-10-05make fxotune not segfault when config file is not presentkpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@793 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-09-19Remove old notes/code. Fix so it works with debug disabledmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@771 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-09-14Create debug file in local directory instead of /tmpmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@768 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-09-14Enable the fxotune.vals output only if debug is setmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@767 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-09-14Revert "fix" for bug #5181mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@766 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-09-14create temp file safely (issue #5181)kpfleming
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@764 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-08-26Improvements to fxotune. It should work now :-)mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@748 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-08-11Let's generate a valid sample for our wave formmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@731 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-08-11Minor cosmetic updates to fxotunemattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@730 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-25Make the digit configurable again to break dialtone.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@597 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-25Taking out the digit break option. Shouldn't be necessary.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@595 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-25Fixed fxotune utility. It now can automatically find the best impedance andmattf
other values for the line. If you are having problems with echo on your FXO modules, take a look at this utility. It should fix most of your echo issues. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@594 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-11Fixed bug in processing code, also added support to output the data gathered ↵mattf
to a file git-svn-id: http://svn.digium.com/svn/zaptel/trunk@583 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-09Fix small typomarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@582 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-03inline would be bettermattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@578 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-02-02New impedance tuning algorithms.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@577 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-28Now it should work somewhat correctly :-)mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@574 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-17Working out a few bugs. Should be usable now.mattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@564 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-17Little changes, minor fixesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@563 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-15Fix FXOTUNE to know which zaptel.h to use (bug #3346)markster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@559 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-14Fix fxotune to find best echo pathmarkster
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@557 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-13Mark's magic touchesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@550 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-13Stupid little mistake. Curse myself for not compiling before committingmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@544 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-11More changesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@539 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-11Working out bugsmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@538 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-11Gathering all the various changes/fixes that I made this weekendmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@537 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-10Minor documentation updatesmattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@536 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2005-01-08More TDM card echo API modifications. Making the fxotune program automaticallymattf
find the correct coefficients for the module. Lots of neat stuff. git-svn-id: http://svn.digium.com/svn/zaptel/trunk@531 5390a7c7-147a-4af0-8ec9-7488f05a26cb
2004-12-30Small test program to set the echo cancellation mode on the FXO modulemattf
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@527 5390a7c7-147a-4af0-8ec9-7488f05a26cb