Commit Graph

2392 Commits (6af6d06e756e4e29c273410c01dc833d2727f5b6)

Author SHA1 Message Date
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