Commit Graph

445 Commits (0e157607957387ff211f4fa56eda58846617cb15)

Author SHA1 Message Date
David M. Lee c2bb638f1f Correct test_cel cleanup.
12 years ago
David M. Lee d3939686cd test_voicemail_api: fix warning found by gcc-4.8
12 years ago
David M. Lee 31a58b2604 Fixed some CEL test crashes
12 years ago
David M. Lee 951c87634f Fix int width problem for 32-bit
12 years ago
David M. Lee a75fd32212 ARI - channel recording support
12 years ago
David M. Lee c9a3d4562d Update events to use Swagger 1.3 subtyping, and related aftermath
12 years ago
David M. Lee dcf03554a0 Shuffle RESTful URL's around.
12 years ago
Kinsey Moore 6e3a5d2d48 Add CEL unit tests and do some cleanup
12 years ago
Matthew Jordan ca61a05506 Handle an originated channel being sent into a non-empty bridge
12 years ago
David M. Lee f33d074d1a Few more menuselect fixes missed in r392777
12 years ago
Joshua Colp c3f9ddc9ad Add missing ast_sorcery_generic_alloc conversions.
12 years ago
Joshua Colp a330d0867e Make sorcery details opaque and add extended fields.
12 years ago
Matthew Jordan da1f4f0c3d Fix the test_substitution test
12 years ago
Matthew Jordan 6258bbe7bd Update Asterisk's CDRs for the new bridging framework
12 years ago
David M. Lee dbdb2b1b3a Add vtable and methods for to_json and to_ami for Stasis messages
12 years ago
Kinsey Moore 63c7141421 Ensure that all unit tests compile with the cache clear rework in place
12 years ago
Kinsey Moore 759a7e4a30 Rework stasis cache clear events
12 years ago
Jonathan Rose b90bba7a30 Stasis: Update security events to use Stasis
12 years ago
Kinsey Moore 2a9cbd693e Move JSON event generators into separate modules
12 years ago
David M. Lee 4666079b05 Address unload order issues for res_stasis* modules
12 years ago
David M. Lee 07e2eb71e9 Fixed set-but-not-used warning caught by newer GCC
12 years ago
David M. Lee 0eb4cf8c19 Remove required type field from channel blobs
12 years ago
David M. Lee e06e519a90 Initial support for endpoints.
12 years ago
Joshua Colp 40074542bf Add support for observers and JSON objectset creation to sorcery.
12 years ago
David M. Lee e2cd14876f Just a couple of Stasis-HTTP nitpick fixes.
12 years ago
Joshua Colp 02be50b1ac Add support for a realtime sorcery module.
12 years ago
Mark Michelson 74f2318051 Merge the pimp_my_sip branch into trunk.
12 years ago
David M. Lee 1c21b8575b This patch adds a RESTful HTTP interface to Asterisk.
12 years ago
Kinsey Moore 191cf99ae1 Move device state distribution to Stasis-core
12 years ago
David M. Lee c599aca553 Moved core logic from app_stasis to res_stasis
12 years ago
Matthew Jordan b8d4e573f1 Add multi-channel Stasis messages; refactor Dial AMI events to Stasis
12 years ago
David M. Lee a2a53cc306 Stasis application WebSocket support
12 years ago
Joshua Colp 426095bc55 Add a res_sorcery_astdb module which uses the astdb to persist objects.
12 years ago
David M. Lee b23e8e1950 stasis: Fixed message ordering issues when forwarding
12 years ago
Richard Mudgett a1c94fece8 Add uuid wrapper API call ast_uuid_generate_str().
12 years ago
Kinsey Moore 71206544a7 Break the world. Stasis message type accessors should now all be named correctly.
12 years ago
David M. Lee cf9324b25e Move more channel events to Stasis; move res_json.c to main/json.c.
12 years ago
Joshua Colp 07d01e1c41 Pass the sorcery instance to wizards for CUD operations as well as retrieve.
12 years ago
David M. Lee 49e3489cac A simplistic router for stasis_message's.
12 years ago
Kinsey Moore ccb5526508 Take advantage of the fact that stasis_unsubscribe now returns NULL
12 years ago
Kinsey Moore c6b06e40dc Add message dump capability to stasis cache layer
12 years ago
David M. Lee 4edd8be35c This patch adds a new message bus API to Asterisk.
12 years ago
Joshua Colp a4f45a2c95 Add support for registering a sorcery handler which supports multiple fields using a regex.
12 years ago
Joshua Colp cce1c9547f Add support for retrieving multiple objects from sorcery using a regex on their id.
12 years ago
David M. Lee 222e8a3afb Add a serializer interface to the threadpool
12 years ago
David M. Lee f2b9c12704 Minor fixes to res_json and test_json.
12 years ago
Joshua Colp 27882b8599 Add additional functionality to the Sorcery API.
12 years ago
Kinsey Moore 67102c3d3f Add aggregate operations for stuctures with string fields
12 years ago
Joshua Colp ffaf79b1eb Fix an issue where building with DEBUG_FD_LEAKS enabled would not work due to sorcery using calls called "open" and "close".
12 years ago
Joshua Colp 734d864de2 Add a unit test which confirms the apply handler callback is called when it should be.
12 years ago
Joshua Colp 3fa4278a31 Merge the sorcery data access layer API.
12 years ago
Mark Michelson 84c50fde1f Address David's latest feedback on reviewboard:
12 years ago
Mark Michelson 967e380ba8 Make the threadpool listener opaque.
12 years ago
Mark Michelson 663479a558 Make ast_taskprocessor_listener opaque.
12 years ago
Mark Michelson c6bc51ef28 Make the initial size of the threadpool part of the options passed in.
12 years ago
Mark Michelson edc2e4dac0 Remove threadpool listener alloc and destroy callbacks.
12 years ago
Mark Michelson 65c7d6e2c3 Remove alloc and destroy callbacks from the taskprocessor.
12 years ago
Automerge script f7f7850f7a Merged revisions 378935 via svnmerge from
12 years ago
Automerge script 2c1720b4f7 Merged revisions 378915,378918 via svnmerge from
12 years ago
Mark Michelson bdd8da406b Address review board feedback from Matt and Richard
12 years ago
Mark Michelson f5e9cf5975 Add automerge property back after conflict.
13 years ago
Mark Michelson 8760e32ae3 Add auto-increment option and accompanying test.
13 years ago
Mark Michelson 1310e659bd Solve the issue about the "CHANGE THIS" and "XXX CHANGE THIS XXX" taskprocessor names.
13 years ago
Mark Michelson 90d76a5026 Make thread state waiting a little less ugly and not possible to lock up.
13 years ago
Mark Michelson 957cb0742b Improve timedwaits in tests to actually behave like they should.
13 years ago
Mark Michelson 64deed062a Add threadpool options and accompanying test.
13 years ago
Mark Michelson 5dd22df050 Improve shutdown procedure.
13 years ago
Mark Michelson b6a73bb451 Add some useful debugging in threadpool test failure conditions.
13 years ago
Mark Michelson 293b18ecce Create longer thread destruction test.
13 years ago
Mark Michelson 4deecdef72 Add a task distribution test.
13 years ago
Mark Michelson b353c80dc0 Add threadpool reactivation test.
13 years ago
Mark Michelson afdbd80bc3 Add a single-thread multi-task test.
13 years ago
Mark Michelson d9f4952b8a Add test where we create a thread and push a task.
13 years ago
Mark Michelson 2dc89eb485 Add test where we add a task then create a thread for it.
13 years ago
Mark Michelson f275c11e78 Add threadpool destruction test.
13 years ago
Mark Michelson ec29862a92 Fix up categories of threadpool tests.
13 years ago
Mark Michelson 4590bfd93d Add new threadpool test and fix some taskprocessor bugs.
13 years ago
Mark Michelson c32634e0dd Add initial simple threadpool test.
13 years ago
Automerge script d16d0200d2 Merged revisions 376575 via svnmerge from
13 years ago
Mark Michelson ff06346ea2 Add doxygen to taskprocessor tests.
13 years ago
Automerge script 558c108b92 Merged revisions 376457 via svnmerge from
13 years ago
Mark Michelson 623d741ba1 Restructure taskprocessor load test to test integrity of task execution.
13 years ago
Mark Michelson da0e2169de Add a second default taskprocessor test that executes 20000 tasks.
13 years ago
Mark Michelson f209bc6f9d Change the default taskprocessor test so it will never hang forever.
13 years ago
Mark Michelson ec68a15619 Test that shutdown callback is called when expected.
13 years ago
Mark Michelson 12de4198b8 Add a shutdown callback to taskprocessor listeners.
13 years ago
Automerge script e8898ec8ba Merged revisions 376341,376344-376345 via svnmerge from
13 years ago
Mark Michelson 426e8d1454 Refine the taskprocessor listener test a bit more.
13 years ago
Mark Michelson 7d84963667 Add a test that ensures that taskprocessor listener callbacks
13 years ago
Mark Michelson 6fc8d830f8 Add a basic taskprocessor test.
13 years ago
Andrew Latham b106b77041 Title update
13 years ago
Sean Bright b9eeff1521 app_queue: Support persisting and loading of long member lists.
13 years ago
Andrew Latham fd98835f1f Doxygen Updates Janitor Work
13 years ago
Richard Mudgett fb1d9a90a4 Enhance astobj2 to support other types of containers.
13 years ago
Mark Michelson 96de9ecf30 I forgot to add the unit tests for scoped locks earlier today.
13 years ago
Kinsey Moore 9b16c8b0f6 Clean up and ensure proper usage of alloca()
13 years ago
Russell Bryant ee04ec77b4 Fix ast_event_new unit test.
13 years ago
Kevin P. Fleming 39ae307bdb Silence a warning message from older versions of GCC.
13 years ago
Kevin P. Fleming 0385c0e9cb Allow permit/deny ACL lines to contain multiple items and negated entries.
13 years ago
Matthew Jordan b6a0ae0b35 Unit tests for the Jitter Buffer API; remove unnecessary resync
13 years ago
Terry Wilson a7dfafdc56 Handle deprecated (aliased) option names with the config options api
13 years ago
Terry Wilson 1609fca6bb Add the ability to set flags via the config options api
13 years ago
Jason Parker 6334142050 Multiple revisions 368963,368965
13 years ago
Terry Wilson 9f704b5d59 Fix reloading an unchanged file with the Config Options API
13 years ago
Terry Wilson aeeff8cfa2 Add default handler documentation and standardize acl handler
13 years ago
Mark Michelson 14a985560e Merge changes dealing with support for Digium phones.
13 years ago
Terry Wilson d54717c39e Add new config-parsing framework
13 years ago
Richard Mudgett d4fa095a64 Change ao2 global array to ao2 global object holder.
13 years ago
Richard Mudgett 005cd92e78 Fix type punned compiler warning in test_config.c
13 years ago
Michael L. Young fdf3cd0e2e Update security events unit tests
13 years ago
Terry Wilson f7c174ff84 Multiple revisions 364365,364369
13 years ago
Michael L. Young a011ae78dc Add leading and trailing backslashes
13 years ago
Michael L. Young 33c9161d1e Fix building security events test
13 years ago
Richard Mudgett 38e892b370 Add global ao2 array container.
13 years ago
Matthew Jordan a699bb72ad Add tests for main/jitterbuf.c
13 years ago
Terry Wilson 699d2bd705 Make hints for invalid SIP devices return Unavail, not idle
13 years ago
Tilghman Lesher 9af5c769c3 Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4.
13 years ago
Kinsey Moore 8d1bde49a9 Fix case-sensitivity for device-specific event subscriptions and CCSS
13 years ago
Terry Wilson a9d607a357 Opaquify ast_channel structs and lists
13 years ago
Richard Mudgett 50c8557f03 Add ability to clone ao2 containers.
13 years ago
Terry Wilson 6dcfd18308 Fix some tests that didn't get opaquification changes
13 years ago
Terry Wilson 34c55e8e7c Opaquify char * and char[] in ast_channel
13 years ago
Richard Mudgett f2c2d83c92 Audit of ao2_iterator_init() usage for v10.
13 years ago
Richard Mudgett ca41b4aba0 Doubly linked lists unit test and update to implementation.
14 years ago
Terry Wilson fa57bbe17c Add a unit test for ast_sockaddr_split_hostport
14 years ago
Richard Mudgett f7ce570c35 Fix AST_LIST_INSERT_BEFORE_CURRENT() updating the wrong variable.
14 years ago
Paul Belanger ca0f2acab7 Set 'core' support level for test_format_api.c
14 years ago
Paul Belanger dbb8332ff7 Merged revisions 338556 via svnmerge from
14 years ago
Jason Parker 930bd5660a Merged revisions 338552 via svnmerge from
14 years ago
Jason Parker a6c29b931e Merged revisions 338228 via svnmerge from
14 years ago
Richard Mudgett 55b70ae625 Merged revisions 337974 via svnmerge from
14 years ago
Kinsey Moore 486b6042f3 Merged revisions 337062 via svnmerge from
14 years ago
Paul Belanger 606ca8ee8c Merged revisions 332177 via svnmerge from
14 years ago
Terry Wilson 7b07828f2b Merged revisions 331659 via svnmerge from
14 years ago
Russell Bryant 6a15e95a32 astobj2: Avoid using temporary objects + ao2_find() with OBJ_POINTER.
14 years ago
Terry Wilson aada2733d6 Merged revisions 328992 via svnmerge from
14 years ago
Terry Wilson c26bb50cc3 Merged revisions 328717 via svnmerge from
14 years ago
Leif Madsen a525edea59 Merged revisions 328247 via svnmerge from
14 years ago
Tilghman Lesher 6ec3c929ab Merged revisions 327793 via svnmerge from
14 years ago
Matthew Nicholson 0852fddf33 use printf instead of echo -n in substitution test
14 years ago
Matthew Nicholson 7eda60dca1 Merged revisions 327512 via svnmerge from
14 years ago
Matthew Nicholson 2ac180275d Merged revisions 327106 via svnmerge from
14 years ago
Russell Bryant c952e1c0c5 Merged revisions 327046 via svnmerge from
14 years ago
Terry Wilson efd040cd11 Replace Berkeley DB with SQLite 3
14 years ago
Terry Wilson d7e2d2248c Merged revisions 324557 via svnmerge from
14 years ago
Terry Wilson 385b8c6f8b Merged revisions 324484 via svnmerge from
14 years ago
Richard Mudgett ab0c2cf441 Merged revisions 323990 via svnmerge from
14 years ago
Terry Wilson 9ef6b131d0 Merged revisions 323866 via svnmerge from
14 years ago
Terry Wilson 89b653cb81 Merged revisions 323859 via svnmerge from
14 years ago
Terry Wilson 17c3802b9f Merged revisions 323672 via svnmerge from
14 years ago
Richard Mudgett b2d0ea5fea Merged revisions 323669-323670 via svnmerge from
14 years ago
Terry Wilson 6017de6292 Merged revisions 322923 via svnmerge from
14 years ago
Richard Mudgett 85aa126b34 Merged revisions 321871 via svnmerge from
14 years ago
Russell Bryant 6357719a82 Fix some astobj2 iterator breakage, add another unit test.
14 years ago
Richard Mudgett 9fc0d9be66 Fix compiler warning.
14 years ago
David Vossel c26c190711 Asterisk media architecture conversion - no more format bitfields
14 years ago
Matthew Nicholson e706b5706e According to section 19.1.2 of RFC 3261:
14 years ago
Russell Bryant cc0b7e7df5 Some scheduler API cleanup and improvements.
15 years ago
Tilghman Lesher f5043262be Merged revisions 295078 via svnmerge from
15 years ago
Mark Michelson 3964b078dd Merged revisions 292741 via svnmerge from
15 years ago
Tilghman Lesher 6d0e383321 Merged revisions 289543,289581 via svnmerge from
15 years ago
Tilghman Lesher 7157b48150 Merged revisions 289104 via svnmerge from
15 years ago
Tilghman Lesher 336d2a1abd Merged revisions 285931 via svnmerge from
15 years ago
Tilghman Lesher 5eae9f44f7 Merged revisions 284597 via svnmerge from
15 years ago
Paul Belanger 9bbe763be5 Merged revisions 280446 via svnmerge from
15 years ago
Paul Belanger ee20d59ec5 Merged revisions 280414 via svnmerge from
15 years ago
Paul Belanger f1bb6dde75 Merged revisions 279442 via svnmerge from
15 years ago
David Vossel f805d00bbd make func_file unit test's category consistent with other tests
15 years ago
Mark Michelson d6cc7dd982 Remove the fe80🔢:1234 test case from test_acl.c
15 years ago
Mark Michelson 6fa79e8f77 Make ACLs IPv6-capable.
15 years ago
Matthew Nicholson 1fd618de5b updated devicestate test for device state changes
15 years ago
Tilghman Lesher e990f89a0e Fix trunk build for Mac OS X 10.6
15 years ago
Tilghman Lesher 832d1296c6 Remove the old stub files, preferring the optional_api method.
15 years ago
Richard Mudgett ec37ffbdaf ast_callerid restructuring
15 years ago
Tilghman Lesher 50d5f134c8 FILE() now supports line-mode and writing (altering) files.
15 years ago
Tilghman Lesher da8450323f Kill some startup warnings and errors and make some messages more helpful in tracking down the source.
15 years ago
Russell Bryant 6bb906f87c Fix an off by one error that caused a unit test to occasionally crash.
15 years ago
Richard Mudgett afd4454c44 Generic Advice of Charge.
15 years ago
Tilghman Lesher b0357dcc3e Support setting locale per-mailbox (changes date/time languages for email, pager messages).
15 years ago
Tilghman Lesher 8d6ee962c7 Add kqueue(2) implementation to Asterisk in various places.
15 years ago
Russell Bryant be77c44d45 Add test case for removing random elements from a heap.
15 years ago
Russell Bryant 52a8ddba51 Add ast_event subscription unit test and fix some ast_event API bugs.
15 years ago
Tilghman Lesher 8ced3317ed Merged revisions 257544 via svnmerge from
15 years ago
Russell Bryant 387f2eb733 test_substitution expects func_curl to be present to work.
15 years ago
Russell Bryant c78b29cb11 Add ASTERISK_FILE_VERSION() macro
15 years ago
Mark Michelson ae7b76a1b9 Fix some compiler errors that popped up after the CCSS merge.
15 years ago
Mark Michelson 49e2cd4291 Add unit test for testing ACL functionality.
15 years ago
Tzafrir Cohen 69f7901fc0 Change the name of the category 'TEST' to match the name of the subdir
15 years ago
Tilghman Lesher 91d6592e61 Switch to using intptr_t, as suggested by Kevin Fleming on the -dev list
15 years ago
Tilghman Lesher e93c16ccc6 Argh.
15 years ago
Tilghman Lesher 374e4e9d72 Fix bamboo compile error by calculating an integer with the same size as a pointer.
15 years ago
Tilghman Lesher ae5a398322 Mask out previous arguments on each nested invocation of Gosub.
15 years ago
Russell Bryant 1239a9792d Re-enable test_time on non-Linux.
15 years ago
Tilghman Lesher 385a40226a Fix test_time on Mac OS X (and other platforms without inotify)
15 years ago
Russell Bryant 477393db3c Disable this test on non-Linux for now.
15 years ago
Russell Bryant 1da59b1f7a Resolve compiler warning by paying attention to system() return value.
15 years ago
Tilghman Lesher 6f6a170380 Test script to verify that timezone cache is properly removed on zonefile alteration.
15 years ago
Tilghman Lesher c83f35d4a0 Fix tests on 32-bit systems.
15 years ago
Jeff Peeler 2d26a2da1f Add new unit test for stringfields.
15 years ago
Tilghman Lesher dd3176cc91 It's amazing what writing a test will find.
15 years ago
David Vossel 8429882ad8 base64 unit test
15 years ago
Russell Bryant 02a9366aed Add ASTERISK_FILE_VERSION macro.
15 years ago
Mark Michelson ecf4c97f83 Unit test for ast_str API.
15 years ago
Russell Bryant 29c57c6dac Tweak copyright and author lines.
15 years ago
Jeff Peeler 27a4cda821 Add support for GROUP_MATCH_COUNT regex matching on category
15 years ago
David Vossel e8d201e870 modified device2extension_test's category
15 years ago
David Vossel 5b0b04f2d8 unit test for combined device state mapping and device to exten state mapping
15 years ago
Mark Michelson 0d4a8f642d Add unit test for dialplan pattern matching.
15 years ago
David Vossel 6d9c531237 fixes some test description formatting inconsistencies so log file looks nice
15 years ago
David Vossel 9478670527 astobj2 unit test and bug fix
15 years ago
Russell Bryant 1321748c19 Add a test module for the event API, test_event.c.
15 years ago
Russell Bryant bbed34f764 Various updates to the unit test API.
15 years ago
Russell Bryant 38ed79a076 UNREGISTER instead of REGISTER in unload_module().
15 years ago
Russell Bryant fe19e1fbd3 Add a SHA1 test module.
15 years ago
Russell Bryant b0a0ee6bfe Remove unnecessary include, ast_md5_hash() comes from utils.h.
15 years ago
Russell Bryant c54ab1ae21 Add an MD5 test module.
15 years ago
Russell Bryant 0ea944df9e Fix a couple of spelling errors, and add format module dependencies.
15 years ago
Tilghman Lesher cf6592e58e Merge tests that verify the same thing. (Oops.)
15 years ago
David Vossel d16b89be17 RFC compliant uri and display-name encode/decode
15 years ago
Russell Bryant 2ce1ffc664 Log the variable name being tested.
15 years ago
Russell Bryant 3e0463107e Update test_substitution to show failures in the test log.
15 years ago
Tilghman Lesher 847b171f6b Fixing last errors in the conversion, though it appears that the AES_* functions are still broken.
15 years ago
Tilghman Lesher 8d58f5bf37 Using a dummy channel causes CDR() testing to fail.
15 years ago
Tilghman Lesher 114d259192 Wish I had gotten to the review before this got submitted, because there's failures we need to address.
15 years ago
Russell Bryant 6ab50cb0e8 Make unit test modules depend on TEST_FRAMEWORK instead of off by default.
15 years ago
Russell Bryant 8e50021376 Convert test_substitution module to the unit test API.
15 years ago
Tilghman Lesher f9f4f6aa3d The irony of not compile-testing a test program before committing is killing me.
16 years ago
Russell Bryant 2a6d62e94d Convert scheduler API entry order test to the test API.
16 years ago
Russell Bryant 8f4383d1fa Add test API usage example to test_skel.c.
16 years ago
Matthew Nicholson f92938ff67 Added a test for ast_format_reduce_str().
16 years ago
David Vossel 73cb2d507b Unit Test Framework API
16 years ago
David Brooks dfa1fa560d ami_testhooks.c automatically registers hook
16 years ago
David Brooks d87006ca1c AMI hook interface
16 years ago
Russell Bryant 4cf8a968fd Add an API for reporting security events, and a security event logging module.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Kevin P. Fleming d1e0b11343 Add ability for modules to dynamically register logger levels
16 years ago
Kevin P. Fleming 995d03a235 Minor changes in test modules
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
Russell Bryant 32cd7d1d60 Disable test modules by default.
16 years ago
Russell Bryant 989e617e1f Fix a regression in scheduler entry ordering, and add a regression test for it.
16 years ago
Mark Michelson 5d2a7dea85 Use constants from inttypes.h to clear up 32-bit compilation errors
16 years ago
Russell Bryant 044cf691fe Significantly improve scheduler performance under high load.
16 years ago
Russell Bryant 56b9180bd7 Add a test module for the heap implementation.
16 years ago
Steve Murphy 27891e6b4b Introducing doubly linked lists to trunk from branch team/murf/bug11210.
17 years ago
Kevin P. Fleming d83f08d1b4 add some simple infrastructure for modules to be used for testing parts of Asterisk
18 years ago