Commit Graph

2511 Commits (9f123152faa3f3cf9e8d540110f9d60edf91c07f)

Author SHA1 Message Date
Mark Michelson c6387c3540 When using autofill, members who are in use should be counted towards the
18 years ago
Joshua Colp fdb44349e9 Don't loop around infinitely trying to spy on our own channel, and don't forget to free/detach the datastore upon hangup of the spy.
18 years ago
Russell Bryant 750067bd1a Fix a problem in ChanSpy where it could get stuck in an infinite loop without
18 years ago
Russell Bryant c882e6da6f Avoid some recursion in the cleanup code for the chanspy datastore
18 years ago
Russell Bryant bc56a84c58 Merge changes from team/russell/smdi-1.4
18 years ago
Russell Bryant f64df49235 This patch fixes some pretty significant problems with how app_chanspy handles
18 years ago
Tilghman Lesher 5184be27ed If the destination folder is full, don't delete a message when exiting.
18 years ago
Mark Michelson 70b222e46f Clear up confusion when viewing the QUEUE_WAITING_COUNT of a
18 years ago
Mark Michelson 638ef8c5d2 Change to the configure logic regarding IMAP. Prior to this commit, if you wished to configure
18 years ago
Mark Michelson 0d470a0525 Fix build for non-IMAP builds
18 years ago
Mark Michelson e70abb4a9e Fix the new message count if delete=yes when using IMAP storage.
18 years ago
Tilghman Lesher 3e014ecd0b Refuse to load app_voicemail if res_adsi is not loaded (which is a symbol dependency)
18 years ago
Joshua Colp 0b110bb5e8 If entering a conference with the 'w' option ensure that we can't listen or speak until the marked user appears.
18 years ago
Tilghman Lesher 42463c4bb2 Commit fix for being unable to send voicemail from VoiceMailMain
18 years ago
Mark Michelson cb8ffc789e Prevent a potential three-thread deadlock. Also added a comment block
18 years ago
Tilghman Lesher c9bb4fc12a Move around some defines to unbreak ODBC storage.
18 years ago
Tilghman Lesher 5f7afc8678 Fix the VM_DUR variable for forwarded voicemail, and fixed several other bugs
18 years ago
Jason Parker d80ecba23f Remove a needless (and incorrect) call to feof() after fgets().
18 years ago
Russell Bryant aa58033acb off by one error
18 years ago
Russell Bryant 552f2e1b4c Don't overwrite the last character of a line if it's not a newline. This would
18 years ago
Mark Michelson a4c24a807c From bugtracker: "fix totalAnalysisTime to handle periods of no channel activity"
18 years ago
Mark Michelson 2e4650c242 Fix a logic error with regards to autofill. Prior to this change, it was possible
18 years ago
Mark Michelson da3e5f571a Remove a memory leak from updating realtime queues
18 years ago
Mark Michelson ad19e1c4b6 Fixing an erroneous return value returned when attempting to pause or unpause a queue member
18 years ago
Joshua Colp f665fa0556 Don't forget to record the channel so we know whether it is bridged or not later.
18 years ago
Jason Parker cec60d345d When using ODBC_STORAGE, make sure we put greeting files into the database like we do with the others.
18 years ago
Mark Michelson 1d9576115c Fixing a typo.
18 years ago
Russell Bryant ece4c9c40c ChanSpy issues a beep when it starts at the beginning of a list of channels to
18 years ago
Tilghman Lesher 60c9fba58f When we reset the password via an external command, we should also reset the
18 years ago
Olle Johansson 48066f4cfd Add more dependencies on chan_local and add a note to the description of chan_local
18 years ago
Olle Johansson 3d434f14c3 Add dependency on chan_local to app_dial.
18 years ago
Joshua Colp fa640604de Replace current spy architecture with backport of audiohooks. This should take care of current known spy issues.
18 years ago
Mark Michelson d186a861cf Adding in appropriate unlocks for the locks I added. Thanks to joetester on IRC
18 years ago
Mark Michelson 8e3c058e44 Fixing another compilation error. I'm a bit off today :(
18 years ago
Mark Michelson 1a95cfaf45 Oops. Last commit had compilation error.
18 years ago
Mark Michelson aa320d23a9 Adding explicit defaults for missing options to init_queue. This is necessary because
18 years ago
Joshua Colp 441b809159 Ensure the return value of ast_bridge_call is passed back up as the application return value. This is needed for transfers to function so the PBX core knows to continue execution.
18 years ago
Mark Michelson 87a55d5882 Let us leave a voicemail for ourself if we have logged into VoiceMailMain and chosen
18 years ago
Mark Michelson 2da89b6120 Part 2 of app_queue doxygen improvements. Some smaller functions this time
18 years ago
Joshua Colp 7a3ee5a7fc Don't do conferencing totally in Zaptel if Monitor is running on the channel.
18 years ago
Mark Michelson 34f994f017 use the \retval doxygen command properly
18 years ago
Mark Michelson 2a0748b0fe Part 1 of N of adding doxygen comments to app_queue. I picked some of the most common functions
18 years ago
Mark Michelson fdd5c25103 Some coding guidelines-related cleanup
18 years ago
Mark Michelson b5ea488a1d Making some changes designed to not allow for a corrupted mailstream for a vm_state.
18 years ago
Joshua Colp be83b74be9 Make app_queue calls work with directed pickup.
18 years ago
Mark Michelson 068e1d8208 We need to reset the membername to NULL on each iteration of this loop, otherwise the result is that
18 years ago
Russell Bryant 4ee7457343 app_macro only needs a rdlock on the contexts list.
18 years ago
Mark Michelson 60c6826c1c A change to improve the accuracy of queue logging in the case where a member does not
18 years ago
Mark Michelson a7dee30a8d I found a bug while browsing the queue code and managed to reproduce it in a small setup.
18 years ago
Mark Michelson 54215d94f1 Bunch of coding guidelines cleanup
18 years ago
Mark Michelson f4663e4f22 Better quota support for using IMAP storage voicemail
18 years ago
Mark Michelson c30bab877c The mail_copy c-client function does not expect a full imap mailbox string, just the name of the mailbox.
18 years ago
Mark Michelson ad89849308 Removing a debug message I accidentally just committed
18 years ago
Mark Michelson eac09a0cd0 Fixing Portuguese syntax for saying dates and times. Also some coding guidelines cleanup.
18 years ago
Mark Michelson 2fa91746e3 We need to create the directory for a voicemail user even if they are using IMAP storage
18 years ago
Olle Johansson 517dacce70 Issue 11574: Add dependencies on res_monitor and res_features.
18 years ago
Kevin P. Fleming 627f595c58 In http://lists.digium.com/pipermail/asterisk-dev/2007-December/031145.html,
18 years ago
Mark Michelson 7f7cbe7f69 Prevent another potential fd leak
18 years ago
Mark Michelson fb077e33cb Prevent a possible fd leak.
18 years ago
Jason Parker 4a869fa0c3 Don't increment user count until after name has been recorded (if enabled).
18 years ago
Mark Michelson ef5f25b6c1 Removing an unused variable.
18 years ago
Mark Michelson c8b5d2ea03 Fixing autofill to be more accurate. Specifically, if calls ahead of the current
18 years ago
Mark Michelson 626053ac64 If there are no members in a queue, then the loop where the datastore for detecting
18 years ago
Russell Bryant 3e913c706f * Add channel locking around datastore operations that expect the channel
18 years ago
Russell Bryant d1f1b3c4d6 * Add channel locking around datastore operations that expect the channel
18 years ago
Russell Bryant c13539cb13 Don't unlock the dialed_interfaces list until we're done messing with the iterator.
18 years ago
Russell Bryant 85e0e1919d Allow dialing local channels from Queue() and Dial() again. There was a slight
18 years ago
Russell Bryant 079b4a2b18 Fix in an issue in the call forwarding handling code that was causing crashes
18 years ago
Mark Michelson ad820243bd IMAP storage did not honor the maxmsg setting in voicemail.conf, and it also had the possibility
18 years ago
Mark Michelson 41661777a4 Reverting extra stuff I didn't mean to commit
18 years ago
Mark Michelson a1a592f3f0 The 'G' option for Dial() did not properly handle the case where only a label was
18 years ago
Joshua Colp 335d271dda Fix build issue on the build cluster.
18 years ago
Mark Michelson 7b052b78e1 A big one...
18 years ago
Jason Parker 8315785663 Make sure we always close the conference fd if we have an open one.
18 years ago
Russell Bryant d208d0fc37 The other day when I went through making changes as a result of the ao2_link()
18 years ago
Russell Bryant 1f8caa100d Change the behavior of ao2_link(). Previously, in inherited a reference.
18 years ago
Mark Michelson aafa661ed7 This patch handles the case where a queue member with a negative penalty is added
18 years ago
Joshua Colp c24b0e152a Fix a few memory leaks.
18 years ago
Mark Michelson f1d612adb9 Recording greetings when using IMAP storage was causing zero-length files to be stored.
18 years ago
Russell Bryant a5c9a71b4e Instead of depending on the return value of ast_true(), explicitly set the
18 years ago
Mark Michelson a5db0a6103 Two changes with regards to the 'eventwhencalled' option of queues.conf
18 years ago
Steve Murphy 1975b6e753 closes issue #11379; OK, this is an attempt to make both sides happy. To the cdr.conf file, I added the option 'unanswered', which defaults to 'no'. In this mode, you will see a cdr for a call, whether it was answered or not. The disposition will be NO ANSWER or ANSWERED, as appropriate. The src is as you'd expect, the destination channel will be one of the channels from the Dial() call, usually the last in the list if more than one chan was specified. With unanswered set to 'yes', you will still see this cdr entry in both cases. But in the case where the dial timed out, you will also see a cdr for each line attempted, marked NO ANSWER, with no destination channel name. The new option defaults to 'no', so you don't see the pesky extra cdr's by default, and you will not see the irritating 'not posted' messages.
18 years ago
Mark Michelson 7166081028 After issuing a "say load new", if a caller hangs up during the middle of playback of a number,
18 years ago
Mark Michelson f669a1c661 After issuing a "say load new" tons of warning messages are printed
18 years ago
Joshua Colp 19fc56c14d Close the audio file before sending it to the post processing application.
18 years ago
Mark Michelson 5efa50746e Revert vmu->email back to an empty string if it was empty when imap_store_file
18 years ago
Joshua Colp 1884c603d6 When unloading app_meetme destroy any auto created contexts created by SLA.
18 years ago
Tilghman Lesher e671cb909d Currently, zero-length voicemail messages cause a hangup in VoicemailMain.
18 years ago
Mark Michelson ddc5bf5b47 Fix a small error I made in my previous commit
18 years ago
Mark Michelson d105c24a57 Changing an inaccurate debug message to be less inaccurate. Under the circumstances, this
18 years ago
Mark Michelson 891b3bab2a Make realtime queues accessible from the QUEUE_MEMBER_COUNT function.
18 years ago
Russell Bryant bd5b8a4014 Update the SLAStation application to account for the case where the SLA thread
18 years ago
Mark Michelson dc6e3e9d5d Reverting commit made in revision 89205 since it is unnecessary.
18 years ago
Mark Michelson 4155b5f984 Some sanity checking for MixMonitor. If only 1 argument is given, then the args.options
18 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
18 years ago
Tilghman Lesher 45c16cc29b The member refcount must be incremented, to avoid using it after deallocation.
18 years ago
Luigi Rizzo a0edff2477 Rename ast_string_field_free_pool to ast_string_field_free_memory,
18 years ago
Joshua Colp f66e8c91ea Fix up commit for my Zap channel with spies in Meetme fix. (thanks Tony Mountifield!)
18 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.
18 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?
18 years ago