asterisk/tests
Kinsey Moore edcaa54019 CEL: Fix incorrect/missing extra field information
This corrects two issues with the extra field information in Asterisk
12+ in channel event logs.

It is possible to inject custom values into the dialstatus provided by
ast_channel_dial_type() Stasis messages that fall outside the
enumeration allowed for the DIALSTATUS channel variable. CEL now
filters for the allowed values and ignores other values.

The "hangupsource" extra field key is always blank if the far end
channel is a chan_pjsip channel. This is because the hangupsource is
never set for the pjsip channel driver. This change sets the
hangupsource whenever a hangup is queued for chan_pjsip channels.

This corrects an issue with the pjsip channel driver where the
hangupcause information was not being set properly.

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@418084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2014-07-07 01:22:44 +00:00
..
Makefile Title update 2012-10-14 21:56:13 +00:00
test_abstract_jb.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
test_acl.c Silence a warning message from older versions of GCC. 2012-07-24 19:12:09 +00: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 Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_aoc.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_app.c uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
test_ari.c ari:Add application/json parameter support 2013-11-27 15:48:39 +00:00
test_ari_model.c Fix module load errors for test_ari_model.so. 2013-09-16 18:36:22 +00:00
test_ast_format_str_reduce.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_astobj2.c astobj2: Additional refactoring to push impl specific code down into the impls. 2014-06-20 15:27:43 +00:00
test_astobj2_thrash.c Merged revisions 376341,376344-376345 via svnmerge from 2012-11-16 00:19:48 +00:00
test_bucket.c Fix bucket unit tests 2013-08-25 18:12:42 +00:00
test_cdr.c uniqueid: Fix chan_dahdi, sig_pri, sig_ss7, test_cdr, and test_cel compiler errors. 2014-03-07 19:19:04 +00:00
test_cel.c CEL: Fix incorrect/missing extra field information 2014-07-07 01:22:44 +00:00
test_channel_feature_hooks.c Bridging: Allow channels to define bridging hooks 2014-06-26 12:43:47 +00:00
test_config.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
test_db.c app_queue: Support persisting and loading of long member lists. 2012-10-01 20:36:25 +00:00
test_devicestate.c stasis cache: Enhance to keep track of an item from different entities. 2014-03-07 20:41:13 +00:00
test_dlinklists.c memory leaks: Memory leak cleanup patch by Corey Farrell (first set) 2013-10-23 20:10:30 +00:00
test_endpoints.c Few more menuselect fixes missed in r392777 2013-06-24 22:05:28 +00:00
test_event.c Refactor CEL to avoid using the event system core 2013-08-17 14:46:44 +00:00
test_expr.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_format_api.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
test_func_file.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_gosub.c Doxygen Updates Janitor Work 2012-09-22 20:43:30 +00:00
test_hashtab_thrash.c Tweak comment for why usleep is used. 2013-08-14 19:06:59 +00:00
test_heap.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_jitterbuf.c Doxygen comment tweaks. 2013-08-16 17:33:21 +00:00
test_json.c test_json: Fix deprecation warnings 2013-10-25 13:49:20 +00:00
test_linkedlists.c test_linkedlists: Fix memory leak 2013-10-24 19:57:04 +00:00
test_locale.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_logger.c Merged revisions 338556 via svnmerge from 2011-09-29 21:16:07 +00:00
test_netsock2.c Add a unit test for ast_sockaddr_split_hostport 2011-11-09 19:31:27 +00:00
test_optional_api.c optional_api: Fix linking problems between modules that export global symbols 2013-08-30 13:40:27 +00:00
test_pbx.c Merged revisions 337062 via svnmerge from 2011-09-20 21:05:42 +00:00
test_poll.c Add leading and trailing backslashes 2012-04-19 21:14:35 +00:00
test_res_stasis.c Update events to use Swagger 1.3 subtyping, and related aftermath 2013-07-03 16:32:41 +00:00
test_sched.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00: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_security_events.c Stasis: Update security events to use Stasis 2013-05-17 17:36:10 +00:00
test_skel.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_sorcery.c Prevent duplicate sorcery wizards from being applied to sorcery object types. 2014-04-02 18:57:29 +00:00
test_sorcery_astdb.c Prevent duplicate sorcery wizards from being applied to sorcery object types. 2014-04-02 18:57:29 +00:00
test_sorcery_realtime.c Prevent duplicate sorcery wizards from being applied to sorcery object types. 2014-04-02 18:57:29 +00:00
test_stasis.c stasis cache: Enhance to keep track of an item from different entities. 2014-03-07 20:41:13 +00:00
test_stasis_channels.c uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
test_stasis_endpoints.c test_stasis_endpoints: Remove expected channel snapshot 2014-06-15 21:42:45 +00:00
test_stringfields.c Add aggregate operations for stuctures with string fields 2013-02-07 15:16:44 +00:00
test_strings.c This patch adds a RESTful HTTP interface to Asterisk. 2013-04-22 14:58:53 +00:00
test_substitution.c uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
test_taskprocessor.c Multiple revisions 399887,400138,400178,400180-400181 2013-09-30 18:55:27 +00:00
test_threadpool.c Add a serializer interface to the threadpool 2013-02-12 21:45:59 +00:00
test_time.c Merged revisions 332177 via svnmerge from 2011-08-16 20:15:23 +00:00
test_uri.c res_http_websocket: Create a websocket client 2014-06-05 17:22:35 +00:00
test_utils.c res_pjsip_authenticator_digest: Fix md5 hash buffer 2014-01-03 21:13:30 +00:00
test_uuid.c Add uuid wrapper API call ast_uuid_generate_str(). 2013-03-28 23:59:20 +00:00
test_voicemail_api.c uniqueid: channel linkedid, ami, ari object creation with id's 2014-03-07 15:47:55 +00:00
test_websocket_client.c res_http_websocket: read/write string fixup 2014-06-16 16:22:33 +00:00
test_xml_escape.c Merged revisions 378935 via svnmerge from 2013-01-12 07:21:01 +00:00