Commit Graph

3883 Commits (a1c94fece82f2445e538de0c93345d34c4abdf17)

Author SHA1 Message Date
Mark Michelson 99701cd1d1 Remove tasks from the taskprocessor and free them when taskprocessor is destroyed.
13 years ago
Mark Michelson a08847c270 Add some doxygen and remove an unnecessary unlock.
13 years ago
Mark Michelson bdd8da406b Address review board feedback from Matt and Richard
13 years ago
Automerge script f824b845ce Merged revisions 378458,378460 via svnmerge from
13 years ago
Automerge script b375abae50 Merged revisions 378374,378377,378384 via svnmerge from
13 years ago
Automerge script 675914bb17 Merged revisions 378322 via svnmerge from
13 years ago
Automerge script 5966364588 Merged revisions 378288 via svnmerge from
13 years ago
Automerge script 550581db83 Merged revisions 378166 via svnmerge from
13 years ago
Automerge script e0fa5cf52d Merged revisions 378122 via svnmerge from
13 years ago
Automerge script 84e6a9847a Merged revisions 378091,378095 via svnmerge from
13 years ago
Automerge script be4cc7b20b Merged revisions 378072,378074 via svnmerge from
13 years ago
Automerge script d4aeeecffa Merged revisions 378063-378064 via svnmerge from
13 years ago
Mark Michelson ece4c95798 Resolve conflict and reset automerge.
13 years ago
Automerge script 57d2e81d78 Merged revisions 377915 via svnmerge from
13 years ago
Automerge script 686cdd0e79 Merged revisions 377906 via svnmerge from
13 years ago
Mark Michelson 817a78075a Reset automerge property.
13 years ago
Mark Michelson f5e9cf5975 Add automerge property back after conflict.
13 years ago
Automerge script 090b9e09f7 Merged revisions 377809 via svnmerge from
13 years ago
Mark Michelson 7995bc63c7 Some general cleanup, plus we now send state changes when threads activate.
13 years ago
Mark Michelson 2abda64003 Add threadpool option version check into threadpool creation routine.
13 years ago
Mark Michelson 8760e32ae3 Add auto-increment option and accompanying test.
13 years ago
Mark Michelson 29fc122783 Some documentation fixes and function call name fixes.
13 years ago
Automerge script 605dcfad97 Merged revisions 377774 via svnmerge from
13 years ago
Automerge script 4abf332cf0 Merged revisions 377743 via svnmerge from
13 years ago
Automerge script 56a9f5b6cb Merged revisions 377707,377711 via svnmerge from
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 64deed062a Add threadpool options and accompanying test.
13 years ago
Mark Michelson 5dd22df050 Improve shutdown procedure.
13 years ago
Mark Michelson 03d617040a Add safeguards to ensure we don't improperly access a destroyed taskprocessor.
13 years ago
Automerge script 955307ef9f Merged revisions 377506,377512 via svnmerge from
13 years ago
Mark Michelson 7be7baba30 Remove unnecessary debugging and add some useful debugging.
13 years ago
Mark Michelson 293b18ecce Create longer thread destruction test.
13 years ago
Automerge script c75b8c5283 Merged revisions 377402 via svnmerge from
13 years ago
Mark Michelson b8f35bb197 Remove unsafe write of listener member.
13 years ago
Mark Michelson 3a25935f7d Fix infinite looping and crash problem.
13 years ago
Mark Michelson 4590bfd93d Add new threadpool test and fix some taskprocessor bugs.
13 years ago
Mark Michelson 9445402925 It helps if we actually assign the listener to the pool.
13 years ago
Mark Michelson c32634e0dd Add initial simple threadpool test.
13 years ago
Automerge script 95b571b390 Merged revisions 377324,377329-377330 via svnmerge from
13 years ago
Automerge script 521f9e8dfe Merged revisions 377245-377246 via svnmerge from
13 years ago
Mark Michelson cc63d2c380 Add better listener support.
13 years ago
Mark Michelson 2158005bdb Remove zombie state from threadpool altogether.
13 years ago
Mark Michelson c16371fab6 Simplify threadpool refcounting a bit.
13 years ago
Mark Michelson a37fb2e8c8 Add some doxygen and rearrange code.
13 years ago
Automerge script f40b6ad46d Merged revisions 377168 via svnmerge from
13 years ago
Automerge script d53adbe449 Merged revisions 377138 via svnmerge from
13 years ago
Automerge script aea70ddc83 Merged revisions 377107 via svnmerge from
13 years ago
Automerge script 1ba058bb7d Merged revisions 377072,377077 via svnmerge from
13 years ago
Mark Michelson 66fe664c00 Fix a few miscellaneous things
13 years ago
Automerge script f6f7774b19 Merged revisions 377035,377040 via svnmerge from
13 years ago
Mark Michelson e7ce12839d This now compiles.
13 years ago
Mark Michelson e044fa5fde Some more progress.
13 years ago
Mark Michelson ddde765c59 Commit some progress towards threadpools.
13 years ago
Automerge script 93ec26e40a Merged revisions 376820-376821 via svnmerge from
13 years ago
Automerge script 9b9da2938b Merged revisions 376791 via svnmerge from
13 years ago
Automerge script 1e1f6c7867 Merged revisions 376761 via svnmerge from
13 years ago
Automerge script b6ace287f0 Merged revisions 376728 via svnmerge from
13 years ago
Automerge script 8e7dd42f67 Merged revisions 376691 via svnmerge from
13 years ago
Automerge script 37ae4ad43f Merged revisions 376589 via svnmerge from
13 years ago
Automerge script d16d0200d2 Merged revisions 376575 via svnmerge from
13 years ago
Mark Michelson 86f1378ea0 Remove extra ast_backtrace() call I had in while debugging.
13 years ago
Mark Michelson e2196d7981 Get rid of trailing whitespace.
13 years ago
Mark Michelson f4328e109d Reorganize code and change behavior of ast_taskprocessor_execute() when taskprocessor is shutting down.
13 years ago
Automerge script abdfdf1cae Merged revisions 376472 via svnmerge from
13 years ago
Automerge script 0f95c6b380 Merged revisions 376447 via svnmerge from
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 748b374ac8 Merged revisions 376291 via svnmerge from
13 years ago
Automerge script 69ae9ff20d Merged revisions 376148,376169 via svnmerge from
13 years ago
Mark Michelson a4a48d9274 Add doxygen and constify some things.
13 years ago
Mark Michelson d5716ecae2 Genericize the allocation and destruction of taskprocessor listeners.
13 years ago
Mark Michelson 902a2d8919 Get rid of taskprocessor fields no longer necessary.
13 years ago
Mark Michelson 77725bf293 Move taskprocessors to use a listener model.
13 years ago
Automerge script f69513b85b Merged revisions 376049 via svnmerge from
13 years ago
Mark Michelson f2bb9afe17 Multiple revisions 375993-375994
13 years ago
Richard Mudgett 6ad0126425 Fix stuck DTMF when bridge is broken.
13 years ago
Matthew Jordan a0c363e227 Refactor ast_timer_ack to return an error and handle the error in timer users
13 years ago
Richard Mudgett 5336a97f25 Add safety NULL pointer check in module user references.
13 years ago
Matthew Jordan b6bac916f0 Don't attempt to purge sessions when no sessions exist
13 years ago
Matthew Jordan 4bd66cb96b Properly clean up manager resources on exit
13 years ago
Matthew Jordan a243f4f153 Properly finalize prepared SQLite3 statements to prevent memory leak
13 years ago
Matthew Jordan ff469e9d5d Fix memory leaks in XML documentation
13 years ago
Matthew Jordan 19282f682e Prevent multiple CDR batches from conflicting when scheduling the CDR write
13 years ago
Richard Mudgett f85db0e34d Things don't need to be that const.
13 years ago
Mark Michelson da85f8489f Make evaluation of channel variables consistently case-sensitive.
13 years ago
Richard Mudgett 8d65c777c8 Fix the Park 'r' option when a channel parks itself.
13 years ago
Jonathan Rose 3d540ef218 core: Fix a memory leak in app.c from an early return
13 years ago
Andrew Latham 6c20cf2d8a Doxygen Updates - Title update
13 years ago
Jonathan Rose 68c63d7965 manager: remove curses dependent stuff from r375103
13 years ago
Kinsey Moore 372e29620c Ensure Asterisk fails TCP/TLS SIP calls when certificate checking fails
13 years ago
Walter Doekes 6d57ecd48c Change a few warnings to debug and the inverse.
13 years ago
Jonathan Rose b2f9542f61 manager: Change display of 'manager show commands' and 'manager show command'
13 years ago
Mark Michelson e9ab568f88 Fix some potential misuses of ast_str in the code.
13 years ago
Andrew Latham b106b77041 Title update
13 years ago
Andrew Latham e51432027a Doxygen Clean ups
13 years ago
Mark Michelson c7b23cbb0a Do not use a FILE handle when doing SIP TCP reads.
13 years ago
Andrew Latham 7226606f77 Continue to group config files
13 years ago
Mark Michelson 825607e09b Don't make chan_sip export global symbols.
13 years ago
Matthew Jordan 5ac43a08ad Fix incorrect billing duration reported when batch mode is enabled
13 years ago
Kinsey Moore 357b733b66 Fix segfault regression from r370681
13 years ago
Richard Mudgett 9a0ff62452 Fix execution of 'i' extension due to uninitialized variable.
13 years ago
Matthew Jordan 6b5677a41d Trivial patch to make 'best_score' defined for all architectures.
13 years ago
Matthew Jordan 15b35972ff Update documentation for MessageSend application/command's From field for XMPP
13 years ago
David M. Lee 5f9f6f3867 Multiple revisions 374570,374581
13 years ago
Alec L Davis 90f8c90b10 dsp.c User Configurable DTMF_HITS_TO_BEGIN and DTMF_MISSES_TO_END
13 years ago
Alec L Davis 36405ae659 dsp.c fix incorrect DTMF Digit_Duration.
13 years ago
David M. Lee c5acf22cec Fix DBDelTree error codes for AMI, CLI and AGI
13 years ago
Joshua Colp d78f7f92b2 Add support for applying direct media ACLs between differing channel technologies.
13 years ago
Alec L Davis 4af961a03a dsp.c User configuration of DTMF_NORMAL_TWIST and DTMF_REVERSE_TWIST values
13 years ago
Matthew Jordan 9367893cff Destroy the generic_monitors container after the core_instances in ccss
13 years ago
Richard Mudgett 9b25076e83 Missed an astobj2.c debug tag.
13 years ago
Richard Mudgett 427abb240a * Add ref debug tags to astobj2.c ref usage.
13 years ago
Matthew Jordan bfe35ee0b0 Ensure Shutdown AMI event is still fired during Asterisk shutdown
13 years ago
Matthew Jordan ed3acdeb21 Fix findings from check-in on r374177
13 years ago
Matthew Jordan a094707d51 Fix a variety of ref counting issues
13 years ago
Andrew Latham 4e228fce03 Doxygen Cleanup
13 years ago
Sean Bright b9eeff1521 app_queue: Support persisting and loading of long member lists.
13 years ago
Sean Bright b3c739a842 Use ast_copy_string instead of strncpy to guarantee a NUL terminated string.
13 years ago
Richard Mudgett 154ee24ae8 Change core show help output format.
13 years ago
Richard Mudgett b5138fccf4 Add pause one second W dial modifier.
13 years ago
Brent Eagles 89d427ca24 Reset hangup flags on channels created through messages and cleanup globals
13 years ago
Richard Mudgett a8771e3953 Cleanup ast_dtmf_stream()
13 years ago
Joshua Colp 9e9f3b7609 loader: Ensure dependent modules are properly initialized.
13 years ago
Mark Michelson 4284ade5a6 Fix saying of date in Dutch.
13 years ago
Mark Michelson fdfb3ae5fa Allow for redirecting reasons to be set to arbitrary strings.
13 years ago
Andrew Latham fd98835f1f Doxygen Updates Janitor Work
13 years ago
Andrew Latham 6f61cb50c5 Doxygen Updates - janitor work
13 years ago
Alec L Davis 368b4c6166 dsp.c: remove more whitespace mentioned in review2107
13 years ago
Alec L Davis d3a23be26e dsp.c ast_dsp_call_progress use local short variable in loop, plus other cleanup
13 years ago
Joshua Colp e8380afc8a Add support for DTLS-SRTP to res_rtp_asterisk and chan_sip.
13 years ago
Richard Mudgett da5944fc56 Named call pickup groups. Fixes, missing functionality, and improvements.
13 years ago
Alec L Davis ed442248e5 dsp.c: remove whitespace mentioned in review2107
13 years ago
Sean Bright 9d4f8abdc6 Make the casing of CALL_ID in debug messages consistent to satisfy my OCD.
13 years ago
Sean Bright 54c531ff1c Don't crash when passing a NULL message to __astman_get_header.
13 years ago
Matthew Jordan f92bb6265c Resolve memory leaks in TLS initialization and TLS client connections
13 years ago
David M. Lee f97510b730 Fixed make clean when configured --disable-asteriskssl
13 years ago
David M. Lee 192e6a0f7a Fix timeouts for ast_waitfordigit[_full].
13 years ago
Richard Mudgett fb1d9a90a4 Enhance astobj2 to support other types of containers.
13 years ago
Jonathan Rose 1a79c9c182 logger: Add rotatestrategy option of 'none' which does not perform rotations
13 years ago
David M. Lee 5e84558123 Fixed r372696 when configured --disable-asteriskssl; properly install libasteriskssl.dylib on OS X.
13 years ago
Mark Michelson 8963829390 Fix inability to shutdown gracefully due to an unending channel reference.
13 years ago
Mark Michelson ae5aaefd88 Fix bad channel application data reference.
13 years ago
Kinsey Moore d96b832787 Deprecate chan_gtalk, chan_jingle, and res_jabber
13 years ago
Jonathan Rose 595cd83d03 Masquerade: Retain parkinglot settings made by CHANNEL function.
13 years ago
David M. Lee 569561b6f4 Add OPENSSL_INCLUDE to the CFLAGS for ssl.c and tcptls.c.
13 years ago
Richard Mudgett e315657287 Fix MALLOC_DEBUG version of ast_strndup().
13 years ago
Kinsey Moore edb290ca09 Correct documentation for ModuleLoad AMI action
13 years ago
Kinsey Moore 8fb1897e89 Ensure counts generated in manager_show_dialplan_helper are correct
13 years ago
Alec L Davis d39b417074 dsp.c: in ast_mf_detect_init incorrectly sets goertzel samples to 160, should be MF_GSIZE
13 years ago
Mark Michelson be500bbafb Re-fix sending unnegotiated payloads during a P2P RTP bridge.
13 years ago