Commit Graph

2422 Commits (863ef8d7d292fa20fa8ca7dbeda59cb111ed4e4a)

Author SHA1 Message Date
Mark Michelson d105c24a57 Changing an inaccurate debug message to be less inaccurate. Under the circumstances, this
19 years ago
Mark Michelson 891b3bab2a Make realtime queues accessible from the QUEUE_MEMBER_COUNT function.
19 years ago
Russell Bryant bd5b8a4014 Update the SLAStation application to account for the case where the SLA thread
19 years ago
Mark Michelson dc6e3e9d5d Reverting commit made in revision 89205 since it is unnecessary.
19 years ago
Mark Michelson 4155b5f984 Some sanity checking for MixMonitor. If only 1 argument is given, then the args.options
19 years ago
Mark Michelson 9f5cf47a6f I made this same adjustment in trunk to fix a bug, and it makes sense to do it in 1.4 as
19 years ago
Tilghman Lesher 45c16cc29b The member refcount must be incremented, to avoid using it after deallocation.
19 years ago
Luigi Rizzo a0edff2477 Rename ast_string_field_free_pool to ast_string_field_free_memory,
19 years ago
Joshua Colp f66e8c91ea Fix up commit for my Zap channel with spies in Meetme fix. (thanks Tony Mountifield!)
19 years ago
Joshua Colp 7ee6cdf0c7 If a Zap channel contains a spy or a spy is added take it out of the conference in kernel space and make it go through Asterisk so the spy gets audio from both sides.
19 years ago
Joshua Colp 06e768e60d Return 1.4 to a state where it builds. Changing the arguments to a function and not changing where they are used is bad, mmmk?
19 years ago
BJ Weschke c0d2b5b16d Fix issue where the recorded name wasn't getting removed correctly.
19 years ago
Mark Michelson a4c50fdd7b Removing a completely unnecessary quota check from IMAP code.
19 years ago
Joshua Colp 27ab9bdd82 Make sure res is a positive value before performing the check to determine whether the user stopped it or not.
19 years ago
Mark Michelson 222302c0a2 Account for the fact that sometimes headers may be terminated with \r\n instead of just \n
19 years ago
TransNexus OSP Development 36ffd8e75b Fixed OSP module did not report source/devinfo IP in correct format.
19 years ago
Mark Michelson c9935ba132 If a non-existent file is specified to be played either as a periodic announcement
19 years ago
Mark Michelson cb55155ef1 Changing the strategy field of the call_queue struct to be signed instead of unsigned,
19 years ago
Mark Michelson 1ced2ef939 Adding deprecated warning to monitor-join option, since the plan is to
19 years ago
Mark Michelson eb154e963c Trying to remove a non-dynamic queue member via dynamic means can lead to some
19 years ago
Russell Bryant f192689840 Remove a pointless lock.
19 years ago
Mark Michelson 661aa4ba35 Fixing a double free which happens in the statechange thread.
19 years ago
Joshua Colp ed25613860 Check to make sure a value has been given to the VMCOUNT dialplan function.
19 years ago
Russell Bryant d63883be92 Ensure that no pending state changes are leaked when the device state change
19 years ago
Russell Bryant 87dc20fc03 Previously, app_queue created a thread to handle every single device state
19 years ago
Tilghman Lesher 47b21bae6e Don't execute a gosub if the arguments is zero-len (not just NULL)
19 years ago
Mark Michelson deb480f124 A bunch of changes from sprintf to snprintf.
19 years ago
Joshua Colp 3151af0015 Close voicemail message description file if duration did not meet the minimum, or else we will eventually run out of file descriptors.
19 years ago
Mark Michelson 74cc6754af Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good.
19 years ago
Joshua Colp 03a7b06959 Create a duplicate of the channel's member name as the tab completion stuff will free it.
19 years ago
Russell Bryant db1ab4db58 Simplify the CAN_EARLY_BRIDGE macro a bit.
19 years ago
Joshua Colp e7f6101587 Only attempt early bridging if the options given to Dial() permit it.
19 years ago
Jason Parker f1467addf7 If # is pressed after dialing an extension in DISA, stop trying to collect more digits.
19 years ago
Russell Bryant 47dc1101eb The System() and TrySystem() applications can take a substantial amount of
19 years ago
Joshua Colp 2187f79e54 Protect the CDR record from modification by pbx_exec so that the application data contains the Queue data.
19 years ago
Russell Bryant 0728297127 Change the description of app_flash to note how it can be a useful tool instead
19 years ago
Joshua Colp 88cfb003df Initialize a variable to NULL to make the world happy.
19 years ago
Mark Michelson 3d1a567df0 Moving the logic for handling an empty membername to the create_member function so that there is a common place
19 years ago
Kevin P. Fleming a809a030d9 there is no need for conditional logic to select ->interface or ->membername, snince ->membername will always be populated
19 years ago
Russell Bryant 82a6309168 Put a memset in ast_localtime() instead of a couple places in app_voicemail
19 years ago
Russell Bryant a67e593e66 Initialize some memory to fix crashes when leaving voicemail. This problem
19 years ago
Kevin P. Fleming 43c2cf7938 fix a couple of places where a logical member name (if specified) was not used, but instead the direct interface was listed
19 years ago
Mark Michelson e53d7231dd Crap, I broke the build. Fixed.
19 years ago
Mark Michelson c7b6c42ef5 Adding member name field to manager events where they were missing before
19 years ago
Jim Dixon 903fba1b1d Fixed problem with changes made to cdr functionality
19 years ago
Jim Dixon 1a9fc13dbe Added channel driver for USB Radio device and
19 years ago
Mark Michelson d6b1a0bfd6 Preemptively fixing a possible segfault. It is possible that queuename is NULL
19 years ago
Mark Michelson 1cf6ee98e0 Added logic to handle the unlikely case that someone has two queues with the same name.
19 years ago
Dwayne M. Hubbard e2611d2f54 remove a race condition for the creation of recordthread's, and fix a small memory leak. This closes issue# 10636
19 years ago
Mark Michelson 39d628adcf Accidentally committed changes to app_voicemail which do NOT need to be in the 1.4 branch yet. reverting...
19 years ago
Mark Michelson da18cece2c We should only initialize a realtime queue when it is allocated, not every time we access it. This prevents the members ao2_container
19 years ago
Russell Bryant 3e11102ef8 Fix incorrect uses of ao2_find(). Every one of these calls was reading bogus
19 years ago
Russell Bryant 56b7a100bc Fix another missing unref of member objects. This one was pointed out by Marta.
19 years ago
Mark Michelson 4f36c859ad All instances of ao2_iterators which were just named 'i' have been renamed
19 years ago
Russell Bryant 808ed0e44e Add a couple more missing unrefs of queue member objects
19 years ago
Russell Bryant aa3a71d3bf Add a missing unref of a queue member in an error handling block
19 years ago
Russell Bryant ffa6e7123b Document why membercount can not simply be replaced by ao2_container_count()
19 years ago
Tilghman Lesher 4913548485 Convert struct member to use refcounts (closes issue #10199)
19 years ago
Jason Parker d73c04d892 Allow the MEMBERINTERFACE variable to be used as the mixmonitor filename.
19 years ago
Joshua Colp e73fa2ba6f (closes issue #10122)
19 years ago
Mark Michelson 76ffc54255 Fixes an issue where valid DTMF had to be pressed twice to exit a queue if a member's phone
19 years ago
Mark Michelson fbbf1e2056 Fixing the build...
19 years ago
Mark Michelson f5cc747662 Reverting behavior of QUEUE_MEMBER_COUNT to only count members who are logged in
19 years ago
Jason Parker e805ee3d40 Rather than attempt to play a file, we can just check whether it exists.
19 years ago
Mark Michelson 6ed2b5c1b2 Changed a comment to be more accurate.
19 years ago
Mark Michelson 687f798f19 Fixed broken behavior of a reload on realtime queues. Prior to this patch, if a reload was issued and
19 years ago
Jason Parker 86c32ff0ef Re-order dial options to be in line with the existing alpha order.
19 years ago
Mark Michelson 0589a7e1d0 Removing an extraneous (and possibly misleading) log message. Firstly, if the announce file isn't found, the
19 years ago
Mark Michelson 4c16fcaa97 Changed some manager event messages to reflect whether a queue member is a realtime member or not
19 years ago
Mark Michelson dbe2d229a5 This patch, in essence, will correctly pause a realtime queue member and reflect those
19 years ago
Mark Michelson 872ab1519e Changed some tabs to spaces
19 years ago
Mark Michelson 2772c71560 This fix creates a more accurate way of detecting whether realtime members were deleted.
19 years ago
Mark Michelson 214d980f86 Resolve a potential deadlock. In this case, a single queue is locked, then the queue list. In changethread(), the queue list is
19 years ago
Mark Michelson fe5489eead Found a case where the queue's membercount is off. It does not take into account dynamic members on a reload.
19 years ago
Dwayne M. Hubbard 5155d31036 An empty string is an empty callerid ... so zap it. This closes issue #10502, which was pointed out by dswartz. Thank you, and may the swartz be with you
19 years ago
BJ Weschke 318f0f6e46 A minor correction to the available logic of autofill. If a queue member is paused, they're not really "available" so don't count them as such. Somewhat related to issue #10155
19 years ago
Mark Michelson 09fc9c894e Fix a possible crash in IMAP voicemail.
19 years ago
Russell Bryant 108326e3d1 Fix the build of app_queue
19 years ago
Mark Michelson 6268d2d7ec After a discussion on #asterisk-dev, it was decided that this should be in 1.4 as well.
19 years ago
Mark Michelson d66e174242 Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity to change
19 years ago
Mark Michelson 7c7ec6a1da Ukrainian language voicemail support.
19 years ago
Tilghman Lesher e6768adf1b Missing curly braces. Oops. (Reported by snuffy via IRC)
19 years ago
Tilghman Lesher d0469e3c42 Don't allocate vmu for messagecount when we could just use the stack instead (closes issue #10490)
19 years ago
Mark Michelson 403ee9194c Patch allows for more seamless transition from file storage voicemail to ODBC storage voicemail.
19 years ago
Mark Michelson ec2f24b901 base_encode is not trying to open a log file, so we should not call it a log file in the warning.
19 years ago
Mark Michelson 176f95680b Fixed an error in the Russian language voicemail intro.
19 years ago
Joshua Colp 924c88d3d0 Instead of accepting a single DTMF character accept a full string.
19 years ago
Joshua Colp 4f8857d608 Add an API call to allow the engine to know that DTMF was received.
19 years ago
Mark Michelson 7133eb1368 Improved a bit of logic regarding comma-separated mailboxes in has_voicemail. Also added some braces to some compound if statements
19 years ago
Mark Michelson 48d9158cdd Removing some extra debug code I left in my last commit
19 years ago
Mark Michelson fd5f948092 Quite a few changes regarding IMAP storage.
19 years ago
Russell Bryant f2bf48ce42 add a comment to indicate that inboxcount for ODBC_STORAGE needs to be fixed to support multiple mailboxes
19 years ago
Russell Bryant e019aff438 Fix subscriptions to multiple mailboxes for ODBC_STORAGE. Also, leave a
19 years ago
Russell Bryant 1996c3a71d Fix a problem with the combination of the 'F' option to pass DTMF through a
19 years ago
Mark Michelson c97cdff67d Fixed some compiler warnings so that compiling with dev-mode and IMAP storage would not have any errors.
19 years ago
Mark Michelson f8c70a5799 Changing a bit of logic so that someone will NEVER exit the queue on timeout unless they have enabled the 'n' option.
19 years ago
Mark Michelson dcfb651931 The logic behind inboxcount's return value was reversed in has_voicemail and message_count.
19 years ago
Tilghman Lesher 57996e930e Reconnection doesn't happen automatically when a DB goes down (fixes issue #9389)
19 years ago
Russell Bryant 76f4f0218c (closes issue #10194)
19 years ago
Tilghman Lesher 9b71e8eef2 Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def)
19 years ago