Skip to content
Snippets Groups Projects
user avatar
Richard Mudgett authored
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
03beadb6
History
Name Last commit Last update
..
acl.conf.sample
adsi.conf.sample
agents.conf.sample
alarmreceiver.conf.sample
alsa.conf.sample
amd.conf.sample
app_mysql.conf.sample
app_skel.conf.sample
ari.conf.sample
asterisk.adsi
asterisk.conf.sample
calendar.conf.sample
ccss.conf.sample
cdr.conf.sample
cdr_adaptive_odbc.conf.sample
cdr_custom.conf.sample
cdr_manager.conf.sample
cdr_mysql.conf.sample
cdr_odbc.conf.sample
cdr_pgsql.conf.sample
cdr_sqlite3_custom.conf.sample
cdr_syslog.conf.sample
cdr_tds.conf.sample
cel.conf.sample
cel_custom.conf.sample
cel_odbc.conf.sample
cel_pgsql.conf.sample
cel_sqlite3_custom.conf.sample
cel_tds.conf.sample
chan_dahdi.conf.sample
chan_mobile.conf.sample
cli.conf.sample
cli_aliases.conf.sample
cli_permissions.conf.sample
codecs.conf.sample
confbridge.conf.sample
config_test.conf.sample
console.conf.sample
dbsep.conf.sample
dnsmgr.conf.sample
dsp.conf.sample
dundi.conf.sample
enum.conf.sample
extconfig.conf.sample
extensions.ael.sample
extensions.conf.sample
extensions.lua.sample
extensions_minivm.conf.sample
features.conf.sample
festival.conf.sample
followme.conf.sample
func_odbc.conf.sample
gtalk.conf.sample
h323.conf.sample
hep.conf.sample
http.conf.sample
iax.conf.sample
iaxprov.conf.sample
indications.conf.sample
jabber.conf.sample
jingle.conf.sample
logger.conf.sample
manager.conf.sample
meetme.conf.sample
mgcp.conf.sample
minivm.conf.sample
misdn.conf.sample
modules.conf.sample
motif.conf.sample
musiconhold.conf.sample
muted.conf.sample
ooh323.conf.sample
osp.conf.sample
oss.conf.sample
phone.conf.sample
phoneprov.conf.sample
pjsip.conf.sample
pjsip_notify.conf.sample
queuerules.conf.sample
queues.conf.sample
res_config_mysql.conf.sample
res_config_sqlite.conf.sample
res_config_sqlite3.conf.sample
res_corosync.conf.sample
res_curl.conf.sample
res_fax.conf.sample
res_ldap.conf.sample
res_odbc.conf.sample
res_parking.conf.sample
res_pgsql.conf.sample
res_pktccops.conf.sample
res_snmp.conf.sample
res_stun_monitor.conf.sample
rtp.conf.sample
say.conf.sample
sip.conf.sample
sip_notify.conf.sample
skinny.conf.sample
sla.conf.sample
smdi.conf.sample