Commit Graph

677 Commits (9aa3d2dd7ff0953d87840e5d0873404caa95186f)

Author SHA1 Message Date
Russell Bryant b11422fe8f Don't pass an empty string as the device name.
18 years ago
Tilghman Lesher 8770045be8 Fix the problem of notification of a device state change to a device with a '-'
18 years ago
Mark Michelson 8fded490ce Avoiding a potentially bad locking situation. ast_merge_contexts_and_delete writelocks the conlock, then
18 years ago
Russell Bryant 8b3f41409e Don't report a syntax error when an empty string is passed to ast_get_group.
18 years ago
Mark Michelson 5dc1371bf2 Fixing a typo in a comment.
18 years ago
Russell Bryant c03ccc41f2 Now that the contexts lock is a read/write lock, it should not be locked here
18 years ago
Russell Bryant 67df6e008d Use the constant that I really meant to use here ...
18 years ago
Russell Bryant c792659cc7 Change ast_translator_best_choice() to only pay attention to audio formats.
18 years ago
Kevin P. Fleming eb4d447b78 make this comment explain the situation in an even more explicit fashion
18 years ago
Tilghman Lesher 3c3eb75062 Workaround for what is probably a glibc bug (but we'll see this crop up again
18 years ago
Russell Bryant e6a8750fe7 Just in case the AST_FLAG_END_DTMF_ONLY flag was already set before starting
18 years ago
Russell Bryant 52df524ba0 When a channel is in autoservice, mark a flag on the channel that says that
18 years ago
Russell Bryant 1deba2c9ed Don't store DTMF BEGIN frames while a channel is in autoservice. It's just
18 years ago
Tilghman Lesher 540077b7b1 Race: we need to wait to queue a NewChannel event until after the channel is
18 years ago
Mark Michelson 8c7948fd44 Since we are freeing list elements within a list traversal, we need to use the safe
18 years ago
Russell Bryant 5977f8d5be Convert the contexts lock to a read/write lock to resolve a deadlock. This
18 years ago
Mark Michelson eac09a0cd0 Fixing Portuguese syntax for saying dates and times. Also some coding guidelines cleanup.
18 years ago
Tilghman Lesher 2f24e1b1bf Fix for restart-as-user problem reported via the -dev list
18 years ago
Mark Michelson 62fa8dfbfa Rework deadlock avoidance used in ast_write, since it meant that agent channels which were being monitored
18 years ago
Jason Parker 6fa23de8ac Missed a spot..
18 years ago
Jason Parker 7e7db434e4 What was I thinking when I wrote this masterpiece?
18 years ago
Joshua Colp 0a584613d6 Do not try to access information about a lock when printing out a trylock attempt. It is possible for the lock that it references to no longer be valid. This would have caused segfaults or deadlocks.
18 years ago
Russell Bryant 4965b39719 There are a lot of existing systems that #include non-existent files. So, to
18 years ago
Jason Parker 65cbfa5d0d Make application help text a little more clear about the use of extensions in a filename.
18 years ago
Jason Parker 8771f23fff If a typo is found in a config file, we previous continued on with what was already loaded.
18 years ago
Joshua Colp 7a1b94082c Fix potential memory leak with the dialed interfaces list if another memory allocation fails.
18 years ago
Joshua Colp bff4a0aa3c Add G729A as another possible payload name for G729. Some devices use this instead of G729, which is perfectly normal since the payload number itself is defined and can't be used by anything else so the name doesn't matter that much.
18 years ago
Jason Parker 16a03298e9 We need to make sure we free the input frame if we return a different frame in ast_dsp_process.
18 years ago
Russell Bryant b5463cd8d3 Make the lock protecting each thread's list of locks it currently holds
18 years ago
Russell Bryant ab117fecaa * Add a bit more of a verbose comment as to why a hangup frame needs to be
18 years ago
Mark Michelson 9dbdc103b0 Hangups that happen during autoservice were not processed appropriately. This is
18 years ago
Tilghman Lesher af01697791 At the end of a call, when we're reporting, RTCP may already be partially torn down, so check for NULL dereference
18 years ago
Russell Bryant 0522e3d872 Add a new module flag to indicate that a build sum is present. Modules built
18 years ago
Joshua Colp 6af6d06e75 Fix various in the udptl implementation. It could return empty modem frames, have an incorrect sequence number on packets, and display the wrong sequence number in the debug messages.
18 years ago
Olle Johansson 95dce3bbba Make sure logger is reloaded at general reload in the cli.
18 years ago
Russell Bryant a4137c3fbe Make the lock in the threadstorage debugging code untracked to avoid a deadlock
18 years ago
Russell Bryant 82257a7e33 When DEBUG_THREADS is enabled, we only have the details about who is holding
18 years ago
Russell Bryant 644c7a89e7 Make some changes to some additions I made recently for doing channel autoservice
18 years ago
Jason Parker 5376122015 If we fail to create a channel after allocating a timing fd, we need to make sure to close it.
18 years ago
Mark Michelson 7b052b78e1 A big one...
18 years ago
Joshua Colp bae731053f Do not create a smoother for G723.1 frames, they need to be left alone to their native 20/24 byte size.
18 years ago
Joshua Colp b18d1bdd1a Preserve the indication currently playing on a channel when a masquerade operation happens. (issue #BE-88)
18 years ago
Tilghman Lesher 763b1ccecc Clarify the return value on autoservice. Specifically, if you started
18 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
18 years ago
Tilghman Lesher 2c11f7d18e Use of "private" as a field name in a header file messes with C++ projects
18 years ago
Russell Bryant 2fc83c3db1 This set of changes is to make some callerID handling thread-safe.
18 years ago
Russell Bryant 1380790b60 Merge a change from team/russell/chan_refcount ...
18 years ago
Kevin P. Fleming fc5429da7c it is impossible to set permissions for manager accounts created by users.conf (reported internally, patched by me)
18 years ago
Mark Michelson 815d77f1f6 Removing some seemingly pointless code. This sets a channel variable for every priority
18 years ago
Russell Bryant d0cd120d47 - update documentation for some of the goto functions to note that they
18 years ago