Commit Graph

2959 Commits (c0c3e2cde97a22598e592fe2bc69e6b27b76501b)

Author SHA1 Message Date
Mark Michelson 81fb790419 Insure that we are not going to pass a NULL pointer to add_to_interfaces.
18 years ago
Mark Michelson 64b5fceb32 Merged revisions 99975 via svnmerge from
18 years ago
Russell Bryant 1194f91214 Merged revisions 99923 via svnmerge from
18 years ago
Tilghman Lesher 6139e1ed82 Coding guidelines fixups
18 years ago
Tilghman Lesher 6df535971b Merged revisions 99777 via svnmerge from
18 years ago
Olle Johansson 949bb30d03 Merged revisions 99594 via svnmerge from
18 years ago
Olle Johansson cc648a40ae Merged revisions 99592 via svnmerge from
18 years ago
Mark Michelson 6d57a8c873 Adding the QUEUENAME variable to the variables set using the setqueuevar option
18 years ago
Mark Michelson fdc76e87bf Fixing trunk IMAP build
18 years ago
Mark Michelson 3d022ccfec state_interface could be NULL, so use the never-NULL cur->state_interface for this check
18 years ago
Mark Michelson 9c39ec55d8 Get the device state of the state interface instead of the interface when creating a new queue member.
18 years ago
Jason Parker b875d0df01 Add backupdeleted option to app_voicemail
18 years ago
Mark Michelson e34fc8282c Big improvement for app_directory. This patch breaks the do_directory function up
18 years ago
Mark Michelson 7cd98338fd Merged revisions 98737 via svnmerge from
18 years ago
Mark Michelson ef7c382507 Merged revisions 98733 via svnmerge from
18 years ago
Joshua Colp 95605d1c10 Update documentation.
18 years ago
Russell Bryant 577666bca0 Add another small option for the JACK app and JACK_HOOK function. The 'n'
18 years ago
Russell Bryant f32aec9f8f Bring in the code from team/russell/jack/.
18 years ago
Joshua Colp 38da1d3afc Merged revisions 98219 via svnmerge from
18 years ago
Mark Michelson 45634bab41 Merged revisions 97925 via svnmerge from
18 years ago
Mark Michelson 8f9f9246ce Use the appropriate line ending for the X-Asterisk-VM-Message-Type header.
18 years ago
Tilghman Lesher 857e3412f4 Several manager changes:
18 years ago
Mark Michelson 87b92b1020 Merged revisions 97575 via svnmerge from
18 years ago
Joshua Colp 2ad2f92405 Merged revisions 97450 via svnmerge from
18 years ago
Mark Michelson c1eaacc3df Merged revisions 97308 via svnmerge from
18 years ago
Mark Michelson 925d9ffa47 Merged revisions 97304 via svnmerge from
18 years ago
Tilghman Lesher 19ff8f7f74 Add a new flag 'd' (with optional context) permitting any extension within
18 years ago
Terry Wilson 12964661f2 Initialize new variable to NULL
18 years ago
Mark Michelson 427f17fd9d Adding the option of specifying a second interface in a member definition for a queue. app_queue
18 years ago
Mark Michelson 190306a23f Merged revisions 97192 via svnmerge from
18 years ago
Joshua Colp fb2aef67b9 Merged revisions 97093 via svnmerge from
18 years ago
Mark Michelson 52fb517bf9 Explicitly make literal constants long where they are expected to be.
18 years ago
Mark Michelson 19b18414f5 Document some weird casting magic that's necessary to interface
18 years ago
Mark Michelson 905fc559d1 Adding user-configurable TCP timeout settings to IMAP voicemail. This could
18 years ago
Tilghman Lesher 77ecc4a46a Compatibility fix for OpenBSD
18 years ago
Mark Michelson b7f3b78031 Merged revisions 96102 via svnmerge from
18 years ago
Mark Michelson 5107c5474c Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)
18 years ago
Mark Michelson 80c479f94e Since ',' is the standard argument separator in trunk, change app_queue
18 years ago
Mark Michelson e0e6e81477 Merged revisions 95890 via svnmerge from
18 years ago
Jason Parker 70ddf2735d Update osplookup documentation to use commas instead of pipes.
18 years ago
Russell Bryant e77af16996 fix a spacing issue introduced in revision 95443.
18 years ago
Mark Michelson 3051807efa Fix a compiler warning
18 years ago
Mark Michelson c540b02f6f The diff for this change looks really bad, but all I did here was decrease the indentation of most
18 years ago
Mark Michelson d9e0bb0e84 Some changes to app_amd.
18 years ago
Mark Michelson af080add62 Merged revisions 95095 via svnmerge from
18 years ago
Luigi Rizzo c8f970936d remove more unnecessary casts for NULL.
18 years ago
Luigi Rizzo 5e041a46dc NULL does not need to be cast to (char *)
18 years ago
Olle Johansson aa9c6e297f - Add Copyright
18 years ago
Jason Parker f573e85ecc Make 'else' argument to ExecIf optional. Clean up the description and usage text a bit.
18 years ago
Jason Parker eea428cf76 Use defined return values in load_module in more places.
18 years ago
Tilghman Lesher 32289c32f5 Add pickup by channel
18 years ago
Mark Michelson eb10026dba Something I've been itching to do for a while now. A minor optimization in app_voicemail.
18 years ago
Mark Michelson e0b9943818 Fix a memory leak when reloading queue rules.
18 years ago
Mark Michelson 4c8ad19825 Lots of coding guidelines cleanup.
18 years ago
Mark Michelson 42803ef6e4 Merged revisions 94540 via svnmerge from
18 years ago
Mark Michelson 590a70a9cd Merged revisions 94538 via svnmerge from
18 years ago
Mark Michelson c1fac2d834 Merged revisions 94464 via svnmerge from
18 years ago
Mark Michelson 2e6431c42a Merged revisions 94420 via svnmerge from
18 years ago
Mark Michelson 88f27c8279 Moved the update of the queue_ent's rule list to just before we try to call
18 years ago
Mark Michelson b489558138 Merging the queue-penalty branch. In short, this allows one to dynamically adjust
18 years ago
Mark Michelson 51a48a2ed9 The changes to header inclusion in trunk broke compilation of app_voicemail when using
18 years ago
Mark Michelson c848e480c9 1. Unify the check for a penalty < 0 into the set_member_penalty code.
18 years ago
Tilghman Lesher d36381e629 Add 'voicemail reload' command.
18 years ago
Tilghman Lesher f97dfd2278 Add contributed WaitUntil app.
18 years ago
Dwayne M. Hubbard 1de09e03cb add missing header file
18 years ago
Luigi Rizzo fd88390af7 remove unnecessary (char *) casts for ast_config_AST_* variables.
18 years ago
Olle Johansson f3471c1652 Merged revisions 93182 via svnmerge from
18 years ago
Mark Michelson c3f89eab8f Removing some leftover debug messages from a while back.
18 years ago
Mark Michelson 2a8a244447 Merged revisions 93291 via svnmerge from
18 years ago
Kevin P. Fleming 100ef27af9 Merged revisions 93180 via svnmerge from
18 years ago
Mark Michelson 4155befbc0 Resolve a compiler warning
18 years ago
Mark Michelson f848ebc895 Change places where the name "INBOX" was hardcoded to use the imapfolder
18 years ago
Tilghman Lesher 70cd3d0037 Remove use of privacy.conf by the Privacy app.
18 years ago
Tilghman Lesher f5a9e958d1 gcc 4.1.3 wants a union used here.
18 years ago
Tilghman Lesher d5b454bf8d Convert ast_verbose to ast_verb.
18 years ago
Tilghman Lesher 652ee40acb When working with dates, use numeric form whenever possible, as it's faster.
18 years ago
Joshua Colp e941bbad0f Move usage of the old LOCAL_USER_* macros to the new ast_module_user_* functions in a few documentation places.
18 years ago
Mark Michelson 5e5c866cf3 Merged revisions 92807 via svnmerge from
18 years ago
Mark Michelson 98ad4c80f5 Merged revisions 92803 via svnmerge from
18 years ago
Doug Bailey 26c06f4745 Tag voicemails with UTC time as opposed to local time zone
18 years ago
Jason Parker 7f6b2066f9 Merged revisions 92617 via svnmerge from
18 years ago
Tilghman Lesher 99308dfb4e Conversions of free to ast_free, where applicable, and several other formatting fixes.
18 years ago
Mark Michelson a43dd8acb3 Merged revisions 92443 via svnmerge from
18 years ago
Jason Parker 21df42b35c Add variable to show which key was pressed to stop playback.
18 years ago
Mark Michelson dea49116ee Merged revisions 92323 via svnmerge from
18 years ago
Mark Michelson 8bf68432a0 Merged revisions 92202 via svnmerge from
18 years ago
Olle Johansson e2a8a6f46a Add a few extra headers in the voicemail users listing in
18 years ago
Luigi Rizzo 5490889153 Put into Makefile.moddir_rules the common instructions used to
18 years ago
Luigi Rizzo d652be0930 normalize subdirs' Makefile by using ASTTOPDIR and not .. to reference
18 years ago
Russell Bryant 3a4d1c852b Merged revisions 91783 via svnmerge from
18 years ago
Russell Bryant bfd58d8c2a Merged revisions 91780 via svnmerge from
18 years ago
Russell Bryant 547083e21a Merged revisions 91693 via svnmerge from
18 years ago
Russell Bryant c72fa81580 Merged revisions 91677 via svnmerge from
18 years ago
Russell Bryant 135f315382 Merged revisions 91675 via svnmerge from
18 years ago
Mark Michelson e797cd04dc Handle allocation failure of the heard and deleted arrays of the vm_state.
18 years ago
Olle Johansson 807d5e1ef7 - Dial event
18 years ago
Olle Johansson 6765d5f758 Adding small missing but important comma...
18 years ago
Olle Johansson 478df6c69f A big oops...
18 years ago
Olle Johansson a545aaae53 The MeetmeJoin now has caller ID name and Caller ID number fields (like MeetMeLeave)
18 years ago
Mark Michelson fe83f51186 Merged revisions 91292 via svnmerge from
18 years ago
Mark Michelson b32e39cbda Merged revisions 91273 via svnmerge from
18 years ago
Russell Bryant f82c42a22e Resolve compiler warnings.
18 years ago
Tilghman Lesher d226c1d637 Added multiple name listing. (Closes issue #10413)
18 years ago
Mark Michelson 0742acef39 Kevin suggested doing the reverse of my last commit, since imap_retrieve_file
18 years ago
Mark Michelson 50ee083210 Suppress a compiler warning due to discarding a "const" qualifier
18 years ago
Mark Michelson 5d1fb935ba Wrong locking style got merged from 1.4 to trunk. My mistake.
18 years ago
Jason Parker 814a7f66c0 Fix build in trunk. This was fixed in 1.4, but blocked in trunk since this hadn't been merged yet.
18 years ago
Mark Michelson c52d8a1cd5 Merged revisions 90735 via svnmerge from
18 years ago
Olle Johansson 4d2368f202 (closes issue #11431)
18 years ago
Jason Parker d3dd515072 Merged revisions 90696 via svnmerge from
18 years ago
Mark Michelson 9c2b82c726 Replacing some calls to free() with ast_free().
18 years ago
Joshua Colp 4201a5af8b Remove the file descriptors from the main poll channel when the channel is hung up during the dialing attempt, and make sure a channel exists before trying to remove it at the end.
18 years ago
Russell Bryant 0f5117be2e Merged revisions 90470 via svnmerge from
18 years ago
Mark Michelson 6b08c442c7 Adding support for the "automixmonitor" dial and queue options.
18 years ago
Russell Bryant fac7480820 Merged revisions 90348 via svnmerge from
18 years ago
Mark Michelson 4ed5336a45 Merged revisions 90163 via svnmerge from
18 years ago
Joshua Colp 48da910225 Merged revisions 90101 via svnmerge from
18 years ago
Russell Bryant 972cacad4a Merge some little changes from team/russell/chan_refcount to help reduce
18 years ago
Russell Bryant 63bca744a2 Merged revisions 89844 via svnmerge from
18 years ago
Mark Michelson ba7f5fec38 Merged revisions 89837 via svnmerge from
18 years ago
Steve Murphy 4d8932a6dc Merged revisions 89622 via svnmerge from
18 years ago
Mark Michelson 5f3a28e588 Merged revisions 89618 via svnmerge from
18 years ago
Olle Johansson 130a2051fa - Mark "concise" as deprecated
18 years ago
Joshua Colp 0619fb1248 Perform some module use counting audits. This is now done outside the scope of the application/dialplan function so they do not need to worry about it.
18 years ago
Joshua Colp 9905034266 Merged revisions 89587 via svnmerge from
18 years ago
Kevin P. Fleming 721b3c8a0e Merged revisions 89586 via svnmerge from
18 years ago
Mark Michelson 0b120dac62 Merged revisions 89580 via svnmerge from
18 years ago
Joshua Colp 5303abd58d Merged revisions 89571 via svnmerge from
18 years ago
Joshua Colp 2c223a4512 Don't crash if the 'o' option of ControlPlayback is used without any value.
18 years ago
Tilghman Lesher b0d8378910 Merged revisions 89540 via svnmerge from
18 years ago
Luigi Rizzo cda3df64d8 more header removal
18 years ago
Luigi Rizzo 51391e6b09 shuffle a little bit the content of header files to reduce dependencies.
18 years ago
Luigi Rizzo 200f9c633b remove some useless includes
18 years ago
Luigi Rizzo ea2c54859d more removal of redundant headers
18 years ago
Luigi Rizzo b1fe2d85d3 remove redundant headers
18 years ago
Luigi Rizzo 3fc2646808 remove a number of #include <fcntl.h> which are either
18 years ago
Steve Murphy 86476c607f closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Mark Michelson ffa8035212 Merged revisions 89495 via svnmerge from
18 years ago
Mark Michelson 9c275b0e51 Merged revisions 89493 via svnmerge from
18 years ago
Tilghman Lesher 1c295be7a0 Change Read to set READSTATUS as an indication of the result
18 years ago
Russell Bryant 6335b4b30d Merge changes from team/russell/sla_trunk_moh ...
18 years ago
Tilghman Lesher cbfc6dcbea Make trunk build again
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 6938f4b2b0 Fix building of modules under cygwin.
18 years ago
Luigi Rizzo ffd86fc964 more errno.h removal
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Joshua Colp 23cfef1cc9 Change warning messages (which are really debug messages) into debug messages.
18 years ago
Luigi Rizzo 24c2e47e0d another cygwin compatibility fix.
18 years ago
Luigi Rizzo d82a631f9c more removal of duplicate #include lines
18 years ago
Luigi Rizzo 5490960453 remove a bunch of duplicate includes
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Mark Michelson 68a805b70b Adding confirmation playback when forwarding voicemail messages. This will attempt
18 years ago
Mark Michelson 2f7440932c Merged revisions 89323 via svnmerge from
18 years ago
Tilghman Lesher 8044dce3c0 Fix trunk breakage due to chan->lock being renamed.
18 years ago
Russell Bryant 1bf63d1c5b Merged revisions 89296 via svnmerge from
18 years ago
Luigi Rizzo 09d9cce1d8 access channel locks through ast_channel_lock/unlock/trylock and not
18 years ago
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Russell Bryant 0df5e50e97 Use BEGIN_OPTIONS / END_OPTIONS to make the syntax highlighting in my editor happy
18 years ago
Russell Bryant 31512895ae Instead of reserving 800 bytes for periodic announcements, use an array of
18 years ago
Russell Bryant 76696ac65f Convert most of the strings in the call_queue struct to use stringfields.
18 years ago
Mark Michelson e4bb565530 Merged revisions 89241 via svnmerge from
18 years ago
Mark Michelson 13c49f6cce There is the potential to copy uninitialized memory into the mixmonitor->post_process
18 years ago
Mark Michelson 1d4c579422 Merged revisions 89205 via svnmerge from
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Mark Michelson 35d7946cda app_voicemail failed to build when compiling with IMAP_STORAGE
18 years ago
Tilghman Lesher 3a70afbc3e Add the FILE() dialplan function and deprecate ReadFile.
18 years ago
Luigi Rizzo 01a1cfd262 use %f instead of %lf (the 'l' is ignored anyways).
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Tilghman Lesher 97744f54e7 Merged revisions 89093 via svnmerge from
18 years ago
Mark Michelson 4f34bc609b If imapfolder has been specified in voicemail.conf, we should not connect to INBOX...
18 years ago
Tilghman Lesher 6f3f010ca0 Suppress erroneous warnings on load.
18 years ago
Russell Bryant e309393920 Added the ability to do "meetme concise" with the "meetme" CLI command.
18 years ago
Mark Michelson 0cd3118a62 Adding the queue strategy wrandom
18 years ago
Russell Bryant a06218ee6d Added the S() and L() options to the MeetMe application. These are pretty
18 years ago
Mark Michelson 01e1f6cc94 Added CLI and manager commands for changing a queue member's penalty
18 years ago
Mark Michelson 5a4867543d "show application <foo>" changes for clarity.
18 years ago
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Joshua Colp e3f3a640c0 Merged revisions 88026 via svnmerge from
18 years ago
Tilghman Lesher 97fe45ab93 Janitor: use ast_free to pair calls of ast_malloc and ast_calloc
18 years ago
Joshua Colp 78cae359c8 Merged revisions 87970 via svnmerge from
18 years ago
Joshua Colp df6237eac3 Add volume adjustment in.
18 years ago
Joshua Colp f066bfc38a Restore operation of the option that only writes when the channel is bridged.
18 years ago
Joshua Colp d13f7d94b1 Add volume adjustment to spy audiohook in app_chanspy.
18 years ago
Tilghman Lesher f595811265 If no '?' is found in the arguments, don't attempt to continue.
18 years ago
Russell Bryant c1e08b1ae0 If a caller is listen-only, then don't bother with doing talker detection.
18 years ago
Mark Michelson 3ffc123db9 Adding the more flexible QUEUE_MEMBER function to replace the QUEUE_MEMBER_COUNT function.
18 years ago
Jason Parker 98617d82a1 Make sure we set flags to a 0 value before trying to use it. Pointed out by seanbright while I was debugging issue 11109.
18 years ago
Joshua Colp 34fd65ba3c Remove duplicate stdlib.h include.
18 years ago
Mark Michelson cf861b38c7 Added queue strategy "linear". This strategy is useful for those who always wish for their
18 years ago
Russell Bryant adc9003fc5 Add support for a muted user to request to talk. The '2' option in the user
18 years ago
Mark Michelson a8cc80e36d Adding the general option "shared_lastcall" to queues so that a member's wrapuptime
18 years ago
Russell Bryant 39ce390203 Convert some spaces to tabs and make it so the CLI command is only registered
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Joshua Colp 967466da29 Merged revisions 86754 via svnmerge from
18 years ago
Mark Michelson 2d5c98be1e Merged revisions 86694 via svnmerge from
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
TransNexus OSP Development d667064268 Fixed a buffer size issue.
18 years ago
Mark Michelson 934b814add Merged revisions 86328 via svnmerge from
18 years ago