Commit Graph

2454 Commits (c27732c38cd5732c261588a5a5e77a1b90891208)

Author SHA1 Message Date
Mark Michelson 1ced2ef939 Adding deprecated warning to monitor-join option, since the plan is to
18 years ago
Mark Michelson eb154e963c Trying to remove a non-dynamic queue member via dynamic means can lead to some
18 years ago
Russell Bryant f192689840 Remove a pointless lock.
18 years ago
Mark Michelson 661aa4ba35 Fixing a double free which happens in the statechange thread.
18 years ago
Joshua Colp ed25613860 Check to make sure a value has been given to the VMCOUNT dialplan function.
18 years ago
Russell Bryant d63883be92 Ensure that no pending state changes are leaked when the device state change
18 years ago
Russell Bryant 87dc20fc03 Previously, app_queue created a thread to handle every single device state
18 years ago
Tilghman Lesher 47b21bae6e Don't execute a gosub if the arguments is zero-len (not just NULL)
18 years ago
Mark Michelson deb480f124 A bunch of changes from sprintf to snprintf.
18 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.
18 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.
18 years ago
Joshua Colp 03a7b06959 Create a duplicate of the channel's member name as the tab completion stuff will free it.
18 years ago
Russell Bryant db1ab4db58 Simplify the CAN_EARLY_BRIDGE macro a bit.
18 years ago
Joshua Colp e7f6101587 Only attempt early bridging if the options given to Dial() permit it.
18 years ago
Jason Parker f1467addf7 If # is pressed after dialing an extension in DISA, stop trying to collect more digits.
18 years ago
Russell Bryant 47dc1101eb The System() and TrySystem() applications can take a substantial amount of
18 years ago
Joshua Colp 2187f79e54 Protect the CDR record from modification by pbx_exec so that the application data contains the Queue data.
18 years ago
Russell Bryant 0728297127 Change the description of app_flash to note how it can be a useful tool instead
18 years ago
Joshua Colp 88cfb003df Initialize a variable to NULL to make the world happy.
18 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
18 years ago
Kevin P. Fleming a809a030d9 there is no need for conditional logic to select ->interface or ->membername, snince ->membername will always be populated
18 years ago
Russell Bryant 82a6309168 Put a memset in ast_localtime() instead of a couple places in app_voicemail
18 years ago
Russell Bryant a67e593e66 Initialize some memory to fix crashes when leaving voicemail. This problem
18 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
18 years ago
Mark Michelson e53d7231dd Crap, I broke the build. Fixed.
18 years ago
Mark Michelson c7b6c42ef5 Adding member name field to manager events where they were missing before
18 years ago
Jim Dixon 903fba1b1d Fixed problem with changes made to cdr functionality
18 years ago
Jim Dixon 1a9fc13dbe Added channel driver for USB Radio device and
18 years ago
Mark Michelson d6b1a0bfd6 Preemptively fixing a possible segfault. It is possible that queuename is NULL
18 years ago
Mark Michelson 1cf6ee98e0 Added logic to handle the unlikely case that someone has two queues with the same name.
18 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
18 years ago
Mark Michelson 39d628adcf Accidentally committed changes to app_voicemail which do NOT need to be in the 1.4 branch yet. reverting...
18 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
18 years ago
Russell Bryant 3e11102ef8 Fix incorrect uses of ao2_find(). Every one of these calls was reading bogus
18 years ago
Russell Bryant 56b7a100bc Fix another missing unref of member objects. This one was pointed out by Marta.
18 years ago
Mark Michelson 4f36c859ad All instances of ao2_iterators which were just named 'i' have been renamed
18 years ago
Russell Bryant 808ed0e44e Add a couple more missing unrefs of queue member objects
18 years ago
Russell Bryant aa3a71d3bf Add a missing unref of a queue member in an error handling block
18 years ago
Russell Bryant ffa6e7123b Document why membercount can not simply be replaced by ao2_container_count()
18 years ago
Tilghman Lesher 4913548485 Convert struct member to use refcounts (closes issue #10199)
18 years ago
Jason Parker d73c04d892 Allow the MEMBERINTERFACE variable to be used as the mixmonitor filename.
18 years ago
Joshua Colp e73fa2ba6f (closes issue #10122)
18 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
18 years ago
Mark Michelson fbbf1e2056 Fixing the build...
18 years ago
Mark Michelson f5cc747662 Reverting behavior of QUEUE_MEMBER_COUNT to only count members who are logged in
18 years ago
Jason Parker e805ee3d40 Rather than attempt to play a file, we can just check whether it exists.
18 years ago
Mark Michelson 6ed2b5c1b2 Changed a comment to be more accurate.
18 years ago
Mark Michelson 687f798f19 Fixed broken behavior of a reload on realtime queues. Prior to this patch, if a reload was issued and
18 years ago
Jason Parker 86c32ff0ef Re-order dial options to be in line with the existing alpha order.
18 years ago
Mark Michelson 0589a7e1d0 Removing an extraneous (and possibly misleading) log message. Firstly, if the announce file isn't found, the
18 years ago
Mark Michelson 4c16fcaa97 Changed some manager event messages to reflect whether a queue member is a realtime member or not
18 years ago
Mark Michelson dbe2d229a5 This patch, in essence, will correctly pause a realtime queue member and reflect those
18 years ago
Mark Michelson 872ab1519e Changed some tabs to spaces
18 years ago
Mark Michelson 2772c71560 This fix creates a more accurate way of detecting whether realtime members were deleted.
18 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
18 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.
18 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
18 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
18 years ago
Mark Michelson 09fc9c894e Fix a possible crash in IMAP voicemail.
18 years ago
Russell Bryant 108326e3d1 Fix the build of app_queue
18 years ago
Mark Michelson 6268d2d7ec After a discussion on #asterisk-dev, it was decided that this should be in 1.4 as well.
18 years ago
Mark Michelson d66e174242 Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity to change
18 years ago
Mark Michelson 7c7ec6a1da Ukrainian language voicemail support.
18 years ago
Tilghman Lesher e6768adf1b Missing curly braces. Oops. (Reported by snuffy via IRC)
18 years ago
Tilghman Lesher d0469e3c42 Don't allocate vmu for messagecount when we could just use the stack instead (closes issue #10490)
18 years ago
Mark Michelson 403ee9194c Patch allows for more seamless transition from file storage voicemail to ODBC storage voicemail.
18 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.
18 years ago
Mark Michelson 176f95680b Fixed an error in the Russian language voicemail intro.
18 years ago
Joshua Colp 924c88d3d0 Instead of accepting a single DTMF character accept a full string.
18 years ago
Joshua Colp 4f8857d608 Add an API call to allow the engine to know that DTMF was received.
18 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
18 years ago
Mark Michelson 48d9158cdd Removing some extra debug code I left in my last commit
18 years ago
Mark Michelson fd5f948092 Quite a few changes regarding IMAP storage.
18 years ago
Russell Bryant f2bf48ce42 add a comment to indicate that inboxcount for ODBC_STORAGE needs to be fixed to support multiple mailboxes
18 years ago
Russell Bryant e019aff438 Fix subscriptions to multiple mailboxes for ODBC_STORAGE. Also, leave a
18 years ago
Russell Bryant 1996c3a71d Fix a problem with the combination of the 'F' option to pass DTMF through a
18 years ago
Mark Michelson c97cdff67d Fixed some compiler warnings so that compiling with dev-mode and IMAP storage would not have any errors.
18 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.
18 years ago
Mark Michelson dcfb651931 The logic behind inboxcount's return value was reversed in has_voicemail and message_count.
18 years ago
Tilghman Lesher 57996e930e Reconnection doesn't happen automatically when a DB goes down (fixes issue #9389)
18 years ago
Russell Bryant 76f4f0218c (closes issue #10194)
18 years ago
Tilghman Lesher 9b71e8eef2 Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def)
19 years ago
Joshua Colp 68c221f69a Add some fixes for building on Solaris.
19 years ago
Mark Michelson 5739eba48e Fixes an issue I introduced to queues wherein a queue with joinempty=yes would kick people out of the queue because of erroneously
19 years ago
Mark Michelson 7e6f78d95e If a queue uses dynamic realtime members, then the member list should be updated after each attempt to call the queue.
19 years ago
Jim Dixon 93c169da6f Much newer version, 0.70 with much additions
19 years ago
Joshua Colp ef742da9a6 Merged revisions 77767 via svnmerge from
19 years ago
Steve Murphy 17e2aff7de This fix solves problem with intense squelch noise when someone joins conf in bug 9430; We repro'd the problem with meetme opts of 'CciMo'; Josh Colp supplied this patch, and I'm applying it. It looks like playing the recorded username will louse up the next thing played into the channel. Josh rearranged the code so as to start things over before playing data directly into the conference.
19 years ago
Joshua Colp 7bd5646815 (closes issue #10303)
19 years ago
Mark Michelson ad4eb1b347 Added a membercount variable to call_queue struct which keeps track of the number of logged in members in a particular queue.
19 years ago
Tilghman Lesher 3630b5e477 It was our stated intention for 1.4 that files created in app_voicemail should
19 years ago
Joshua Colp 1fc0771298 Allow app_morsecode to build on PPC Linux by putting the value of the digit char in an int.
19 years ago
Mark Michelson 7fd9d67e7a When using users.conf for the entries in the directory, if multiple users had the same last name, only the first user listed would be available
19 years ago
Joshua Colp 34b000a0e7 Move makeannouncement variable declaration to proper place.
19 years ago
Mark Michelson 049fb8d98e The diff on this looks pretty big but all I did was remove a pointless if statement (always evaluates true).
19 years ago
Mark Michelson 1f9e2457dd Changes in handling return values of several functions in app_queue. This all started as a fix for issue #10008
19 years ago
Tilghman Lesher 0b6bdf6bf3 Merged revisions 75748 via svnmerge from
19 years ago
Joshua Colp 6d143d401f Backport GCC 4.2 fixes. Without these Asterisk won't build under devmode using GCC 4.2.
19 years ago
Dwayne M. Hubbard 226a627244 Merged revisions 75657 via svnmerge from
19 years ago
Tilghman Lesher 6cab645954 Using a freed frame causes crashes (closes issue #9317)
19 years ago
Mark Michelson e4cc4ef183 Fixing an error I made earlier. ast_fileexists can return -1 on failure, so I need to be sure that we only enter the if
19 years ago
Mark Michelson 402820c9e3 Restoring functionality from 1.2 wherein Retrydial will not exit if there is no announce file specified.
19 years ago
Mark Michelson 90da4da6ad Merged revisions 75066 via svnmerge from
19 years ago
Mark Michelson 4ab675ca50 Forwarding a message with IMAP storage was storing the message in the sender's box instead of the forwarded mailbox.
19 years ago
Jason Parker 05923bb562 Merged revisions 74427 via svnmerge from
19 years ago
Jason Parker 53b44803ee Merged revisions 74316 via svnmerge from
19 years ago
Mark Michelson 5112357ae1 Forgot to get rid of an extraneous debug message.
19 years ago
Mark Michelson 591f77fe14 The n option for Queue should make the queue exit immediately after failure to reach any members and should not
19 years ago
Mark Michelson 441d1bbdf5 Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
19 years ago
Mark Michelson bf9d8ab999 Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
19 years ago
Mark Michelson 60c9f69f20 Correcting a minor CLI bug I found. When issuing the queue show command, if you type
19 years ago
Joshua Colp 0e80607e17 Merged revisions 73349 via svnmerge from
19 years ago
Joshua Colp 6fec0a545f Merged revisions 73315 via svnmerge from
19 years ago
Tilghman Lesher 3a215d6a50 Merged revisions 73052 via svnmerge from
19 years ago
Luigi Rizzo e0b32b53b1 cast a time_t so that it does not conflict with the print format.
19 years ago
Joshua Colp 6c1076bd45 Merged revisions 72378 via svnmerge from
19 years ago
Joshua Colp 2c67ae6869 Merged revisions 72327 via svnmerge from
19 years ago
Jason Parker 04524392d3 Fix another problem in voicemail with missing symbols.
19 years ago
Mark Michelson 83fd6c08d2 Removing a pointless line. This variable was already set earlier and between then and this
19 years ago
Mark Michelson 79332488f7 A few changes, the ultimate goal of which is to keep better track of the number of messages
19 years ago
Mark Michelson 555dcbc021 Fixing bug where the authuser was mistakenly pulled from the mailbox string instead
19 years ago
Tilghman Lesher 5da46f710e Merged revisions 71750 via svnmerge from
19 years ago
Jason Parker e107da04b4 Merged revisions 71065 via svnmerge from
19 years ago
Joshua Colp c7dc8d1735 Merged revisions 70898 via svnmerge from
19 years ago
Mark Michelson ac73d19138 When volgain is used don't leave a temporary file behind.
19 years ago
Russell Bryant a959ed6f67 Remove a couple of duplicate unlocks
19 years ago
Joshua Colp ce4f92604a Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)
19 years ago
Tilghman Lesher badad4a542 Merged revisions 70444 via svnmerge from
19 years ago
Joshua Colp ff3d5422b6 Merged revisions 69894 via svnmerge from
19 years ago
Russell Bryant cbdc6b5b2d To prevent 92138749238754 more reports of "I have unixodbc installed, but
19 years ago
Joshua Colp ad3c504b10 Add support for setting the maximum length of acceptable DTMF in SpeechBackground.
19 years ago
Russell Bryant 4bce51f79f The SLATRUNK_STATUS variable indicated "SUCCESS" for both an answer of the
19 years ago
Kevin P. Fleming ae82d97c6d use ast_localtime() in every place localtime_r() was being used
19 years ago
Mark Michelson 9a68aa6d89 Contains a patch for fixing an encoding problem when using Outlook to view voicemail emails and attachments.
19 years ago
Joshua Colp 2a582ba2cf Really ignore NULL frames and check whether the channel hungup or not. (issue #9912 reported by junky)
19 years ago
Tilghman Lesher 53700fd145 Issue 9947 - fn2 was unused / incorrectly used
19 years ago
Russell Bryant 337738d6d6 Merged revisions 68526 via svnmerge from
19 years ago
Jason Parker 30d9a8a20b Fix incorrect French syntax of "old messages".
19 years ago
Russell Bryant e7cb53e8b2 Fix loading persistent queue members when using realtime configuration for queues.
19 years ago
Jason Parker 1d704b2857 Merged revisions 68204 via svnmerge from
19 years ago
Mark Michelson 878e480ff8 Submitting a fix for Issue 8016. Added a check to make sure that greetings get stored properly.
19 years ago
Joshua Colp f07dfca43a Merged revisions 68070 via svnmerge from
19 years ago
Mark Michelson e8900612be Fix for Issue 9810. There was a segfault under a specific set of circumstances:
19 years ago
Joshua Colp a4ebf8b608 Include macroexten while searching for a channel to pick up in case they are in a macro. (issue #9491 reported by jamesb63)
19 years ago
Russell Bryant 1a3e65a793 Fix some crashes related to the use of the "meetme" CLI command. The code for
19 years ago
Mark Michelson 0a49a913ed Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
19 years ago
Joshua Colp 1317920054 Initialize cidname variable to nothing since it may be used without having been touched. (issue #9661 reported by dimas)
19 years ago
Mark Michelson a90cf2d802 Removing extraneous debugging lines from revision 66897. Sorry :)
19 years ago
Mark Michelson c71ead7c52 Submitting a fix for voicemail with IMAP storage. Attachments with format specified as gsm were duplicated (i.e. two attachments) were left.
19 years ago
Russell Bryant 3db95c55d0 List app_meetme as a module that app_page depends on.
19 years ago