asterisk/utils
Richard Mudgett 03beadb6e9 internal_timing: Remove the option and always make it enabled if a timing module is loaded.
The masquerade supertest frequently fails because either the local channel
chain doesn't completely optimize out or the DTMF handshake doesn't
completely get accross.  Local channel optimization requires frames
flowing to trigger when optimization can happen.  When optimization
happens the media frame that triggered the optimization is dropped.
Sending DTMF requires frames to flow in the other direction for timing
purposes while sending nothing.  If internal timing is not enabled when
MOH is playing, Asterisk switches to received timing when an audio frame
is received.  With optimization dropping media frames and MOH not sending
frames unless it receives frames, occasionaly there are no more frames
being passed and the test fails.

* The asterisk command line -I option and the asterisk.conf
internal_timing option are removed.  Asterisk now always uses internal
timing when needed if any timing module is loaded.  The issue
ASTERISK-14861 did this quite awhile ago in v1.4 but effectively is broken
if other internal timing modules besides DAHDI are used.  The
ast_read_generator_actions() now only does received timing if it has no
choice for frame generators like MOH, silence, and playback streaming.

* Cleaned up some code dealing with frame generators in
ast_deactivate_generator(), generator_write_format_change(),
ast_activate_generator(), and ast_channel_stop_silence_generator().

* Removed ast_internal_timing_enabled(), AST_OPT_FLAG_INTERNAL_TIMING, and
ast_opt_internal_timing.

ASTERISK-22846 #close
Reported by: Matt Jordan

Review: https://reviewboard.asterisk.org/r/3414/
........

Merged revisions 411715 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 411716 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 411717 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@411724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-04-04 19:19:55 +00:00
..
db1-ast Replace Berkeley DB with SQLite 3 2011-07-06 20:58:12 +00:00
Makefile Make the AEL load process less chatty. 2014-03-21 15:50:11 +00:00
ael_main.c Revert -r411073. It didn't help and blew up the system. 2014-03-25 15:47:17 +00:00
astcanary.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
astdb2bdb.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astdb2sqlite3.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astman.1 remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
astman.c Fix memory stomping bug in astman. 2014-02-27 16:26:18 +00:00
check_expr.c Fixed utils directory breakage from r398748, this time with extra hate. 2013-09-10 17:50:13 +00:00
clicompat.c Put clicompat-r2.patch back in 2013-10-25 17:32:17 +00:00
conf2ael.c Revert -r411073. It didn't help and blew up the system. 2014-03-25 15:47:17 +00:00
expr2.testinput Merged revisions 179807 via svnmerge from 2009-03-03 22:12:02 +00:00
extconf.c internal_timing: Remove the option and always make it enabled if a timing module is loaded. 2014-04-04 19:19:55 +00:00
frame.c AST-2009-005 2009-08-10 19:20:57 +00:00
frame.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
muted.c Doxygen Updates 2012-10-14 21:57:42 +00:00
refcounter.c Put clicompat-r2.patch back in 2013-10-25 17:32:17 +00:00
smsq.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
stereorize.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
streamplayer.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
utils.xml Migrate hashtest/hashtest2 to be unit tests. 2012-11-16 00:08:00 +00:00