asterisk/tests
Joshua Colp d6386a8f0c bridge: Add a deferred queue.
This change adds a deferred queue to bridging. If a bridge
technology determines that a frame can not be written and
should be deferred it can indicate back to bridging to do so.
Bridging will then requeue any deferred frames upon a new
channel joining the bridge.

This change has been leveraged for T.38 request negotiate
control frames. Without the deferred queue there is a race
condition between the bridge receiving the T.38 request
negotiate and the second channel joining and being in the
bridge. If the channel is not yet in the bridge then the T.38
negotiation fails.

A unit test has also been added that confirms that a T.38
request negotiate control frame is deferred when no other
channel is in the bridge and that it is requeued when a new
channel joins the bridge.

ASTERISK-26923

Change-Id: Ie05b08523f399eae579130f4a5f562a344d2e415
2017-06-13 17:06:15 -05:00
..
Makefile Title update 2012-10-14 21:56:13 +00:00
test_abstract_jb.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_acl.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_ami_security_events.sh Add an API for reporting security events, and a security event logging module. 2009-07-11 19:15:03 +00:00
test_amihooks.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_aoc.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_app.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_ari.c ari: Implement 'debug all' and request/response logging 2017-01-23 10:25:58 -07:00
test_ari_model.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_ast_format_str_reduce.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_astobj2.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_astobj2_thrash.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_astobj2_weaken.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_bridging.c bridge: Add a deferred queue. 2017-06-13 17:06:15 -05:00
test_bucket.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
test_callerid.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_cdr.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_cel.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_channel.c channel: Remove old epoll support and fixed max number of file descriptors. 2017-03-27 19:54:44 +00:00
test_channel_feature_hooks.c modules: change module LOAD_FAILUREs to LOAD_DECLINES 2017-04-12 15:57:21 -06:00
test_config.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_conversions.c core/conversions: Added string to unsigned integer and long conversions 2017-05-17 17:41:11 -05:00
test_core_codec.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_core_format.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_db.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_devicestate.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_dlinklists.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_dns.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_naptr.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_query_set.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_recurring.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_dns_srv.c tests_dns: Make DNS tests older nameser.h compatible 2016-12-08 07:22:33 +11:00
test_endpoints.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_event.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_expr.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_file.c file.c/__ast_file_read_dirs: Fix issues on filesystems without d_type 2016-11-15 21:21:59 -05:00
test_format_cache.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_format_cap.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_func_file.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_gosub.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_hashtab_thrash.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_heap.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_http_media_cache.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_jitterbuf.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_json.c test_json: Fix test names with reserved words 2017-05-30 09:49:09 -05:00
test_linkedlists.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_locale.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_logger.c logger: Added logger_queue_limit to the configuration options. 2017-05-08 16:49:13 -05:00
test_media_cache.c modules: change module LOAD_FAILUREs to LOAD_DECLINES (14) 2017-04-12 15:57:39 -06:00
test_message.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_named_lock.c lock: Add named lock capability 2016-04-08 13:52:02 -05:00
test_netsock2.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_optional_api.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_pbx.c unittests: Add a unit test that causes a SEGV and... 2017-05-24 15:58:18 -05:00
test_poll.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_res_pjsip_scheduler.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_res_stasis.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sched.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_scoped_lock.c ao2_iterator: Mini-audit of the ao2_iterator loops in the new code files. 2013-12-20 20:00:50 +00:00
test_sdp.c SDP: Make process possible multiple fmtp attributes per rtpmap. 2017-05-09 12:57:57 -05:00
test_security_events.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_skel.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery_astdb.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery_memory_cache_thrash.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_sorcery_realtime.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stasis.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stasis_channels.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stasis_endpoints.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_stream.c bridge_simple: Added support for streams 2017-05-03 16:36:22 -05:00
test_stringfields.c stringfields: Update extended string fields for master only. 2016-04-13 14:01:37 -06:00
test_strings.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_substitution.c LISTFILTER: Remove outdated ERROR message. 2017-01-22 17:56:15 -06:00
test_taskprocessor.c Multiple revisions 399887,400138,400178,400180-400181 2013-09-30 18:55:27 +00:00
test_threadpool.c Fix failing threadpool_auto_increment test. 2016-02-18 11:49:50 -06:00
test_time.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_uri.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_utils.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_uuid.c Add uuid wrapper API call ast_uuid_generate_str(). 2013-03-28 23:59:20 +00:00
test_vector.c vector: defaults and indexes 2017-04-26 13:23:39 -05:00
test_voicemail_api.c stream: Add stream topology to channel 2017-02-14 14:09:37 -07:00
test_websocket_client.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00
test_xml_escape.c Remove ASTERISK_REGISTER_FILE. 2016-10-27 09:53:55 -04:00