Commit Graph

777 Commits (71ebf2e7ca7ed51a88d46a1ac58aed1945b97cd8)

Author SHA1 Message Date
Jason Parker 0723f79313 Remove useless 's' and 'key' variables, in favor of 'val', which serves the exact same purpose.
17 years ago
Tilghman Lesher ca76b2fb3e Whitespace changes only
17 years ago
Russell Bryant 3a8756c9b4 Merged revisions 104119 via svnmerge from
17 years ago
Tilghman Lesher 4da977e01e Merged revisions 104094 via svnmerge from
17 years ago
Mark Michelson d2d397f861 Fix a crash due to the wrong variable being used when building a directory string.
18 years ago
Mark Michelson ca2cfc8e47 When using IMAP storage, if the folder you attempt to save to does not exist,
18 years ago
Mark Michelson 30c0e089f6 Fix redeclaration of variables when using IMAP storage
18 years ago
Mark Michelson 8f625a4664 Merged revisions 103690 via svnmerge from
18 years ago
Mark Michelson 235aa41c6d Merged revisions 103688 via svnmerge from
18 years ago
Tilghman Lesher 9d4d240b94 Merged revisions 103197 via svnmerge from
18 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
18 years ago
Tilghman Lesher ee3cc80284 Merged revisions 102576 via svnmerge from
18 years ago
Mark Michelson bb156b5cb5 Change verbose messages to use the ast_verb macro.
18 years ago
Tilghman Lesher ab5a1a6c8c Merged revisions 101942 via svnmerge from
18 years ago
Tilghman Lesher 0d9a551f30 Make the VoicemailUsersList AMI command consistent with other manager list functions.
18 years ago
Jason Parker 4688907e17 Merged revisions 100672 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
Mark Michelson fdc76e87bf Fixing trunk IMAP build
18 years ago
Jason Parker b875d0df01 Add backupdeleted option to app_voicemail
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
Tilghman Lesher 19ff8f7f74 Add a new flag 'd' (with optional context) permitting any extension within
18 years ago
Mark Michelson 190306a23f Merged revisions 97192 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
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
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 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 51a48a2ed9 The changes to header inclusion in trunk broke compilation of app_voicemail when using
18 years ago
Tilghman Lesher d36381e629 Add 'voicemail reload' command.
18 years ago
Mark Michelson 2a8a244447 Merged revisions 93291 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 d5b454bf8d Convert ast_verbose to ast_verb.
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
Olle Johansson e2a8a6f46a Add a few extra headers in the voicemail users listing in
18 years ago
Mark Michelson e797cd04dc Handle allocation failure of the heard and deleted arrays of the vm_state.
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
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 9c2b82c726 Replacing some calls to free() with ast_free().
18 years ago
Russell Bryant 972cacad4a Merge some little changes from team/russell/chan_refcount to help reduce
18 years ago
Mark Michelson 0b120dac62 Merged revisions 89580 via svnmerge from
18 years ago
Tilghman Lesher b0d8378910 Merged revisions 89540 via svnmerge from
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
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
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Mark Michelson 35d7946cda app_voicemail failed to build when compiling with IMAP_STORAGE
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
Mark Michelson 4f34bc609b If imapfolder has been specified in voicemail.conf, we should not connect to INBOX...
18 years ago
Joshua Colp 34fd65ba3c Remove duplicate stdlib.h include.
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
Mark Michelson 2d5c98be1e Merged revisions 86694 via svnmerge from
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant 1f21e03746 Merged revisions 85896 via svnmerge from
18 years ago
Mark Michelson 227d678cc7 Fix IMAP compilation error.
18 years ago
Mark Michelson 75c83fd851 Merged revisions 85276 via svnmerge from
18 years ago
Joshua Colp dd04101f60 Merged revisions 85242 via svnmerge from
18 years ago
Jason Parker ac5332c674 More conversions to NEW_CLI
18 years ago
Jason Parker 0c8381a1f5 (closes issue #10739)
18 years ago
Russell Bryant 96d9f820e9 Merged revisions 82676 via svnmerge from
18 years ago
Russell Bryant f498599e56 Merged revisions 82644 via svnmerge from
18 years ago
Tilghman Lesher 6c97fd4cb4 Option maxmessage should be maxsecs per-folder, too (closes issue #10729)
18 years ago
Mark Michelson 382a40f04e Make Callerid more consistent in IMAP mail headers
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Mark Michelson ca890bae34 Merged revisions 80750 via svnmerge from
18 years ago
Joshua Colp d810320a22 Remove remnants of last commit so trunk builds again.
18 years ago
Mark Michelson 0ef2670e8f Merged revisions 80044 via svnmerge from
18 years ago
Tilghman Lesher e18bdff54a Merged revisions 79998 via svnmerge from
18 years ago
Tilghman Lesher 447fada0c1 Merged revisions 79947 via svnmerge from
18 years ago
Mark Michelson dc7d25ea63 I broke the build. Now I'm fixing it.
18 years ago
Mark Michelson d49ae61c36 Merged revisions 79906 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Dwayne M. Hubbard 46b75d5f17 added counter for voicemail show users, issue 10462, thanks junky
18 years ago
Mark Michelson 80f49f0ac8 Merged revisions 79690 via svnmerge from
18 years ago
Mark Michelson 425aca97c4 Merged revisions 79527 via svnmerge from
18 years ago
Mark Michelson 31aa5e02f1 Merged revisions 78907 via svnmerge from
18 years ago
Mark Michelson a609873b5c Merged revisions 78859 via svnmerge from
18 years ago
Russell Bryant 5b9f4110bc Merged revisions 78778 via svnmerge from
18 years ago
Russell Bryant 4eea027559 Merged revisions 78749 via svnmerge from
18 years ago
Russell Bryant 9d1acad76b Fix a problem that I had introduced into MWI handling. I had ignored
18 years ago
Mark Michelson 8906a5aa91 Merged revisions 78450 via svnmerge from
18 years ago
Tilghman Lesher f78ff66a4d Merged revisions 78415 via svnmerge from
18 years ago
Russell Bryant 224dd669b4 Merged revisions 78101 via svnmerge from
18 years ago
Tilghman Lesher d4013ef43d Merged revisions 77886 via svnmerge from
18 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Tilghman Lesher 922444c851 Merged revisions 76708 via svnmerge from
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
18 years ago
Tilghman Lesher 5f39ac2b03 Merged revisions 75749 via svnmerge from
18 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
18 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
18 years ago
Joshua Colp 4003b31fc5 Minor code tweaks. Variables were being checked wrong in some situations and didn't need to be checked in others.
18 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
18 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
18 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
18 years ago
Mark Michelson fb6f6ba67f Merged revisions 74476 via svnmerge from
18 years ago
Jason Parker 2600cd5d7b Merged revisions 74317 via svnmerge from
18 years ago
Mark Michelson 9632477144 Merged revisions 74047 via svnmerge from
18 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
18 years ago
Mark Michelson 80f8dd3f81 Merged revisions 73727 via svnmerge from
18 years ago
Tilghman Lesher 046aa5332d Remove directory creation of directories we've never used.
18 years ago
Jason Parker e74159e04f mkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE
18 years ago
Tilghman Lesher 8611de4a4c Typo (closes issue 10105)
18 years ago
Mark Michelson 7415c3ee1e Found a grievous logical error in get_vm_state_by_imapuser.
18 years ago
Mark Michelson 5310385315 Added ability to customize which buttons control forward, reverse, pause, and stop during message playback.
18 years ago
Mark Michelson 4596af13fc Adding feature to support the storage and retrieval of voicemail greetings using IMAP storage.
18 years ago
Jason Parker 37ebf4da54 Merged revisions 72182 via svnmerge from
18 years ago
Mark Michelson a333f7a474 Merged revisions 71953 via svnmerge from
18 years ago
Mark Michelson 27654c6a76 The variable msgnum was being overwritten if IMAP storage was enabled.
18 years ago
Mark Michelson e7ca771f95 Merged revisions 71877 via svnmerge from
18 years ago
Mark Michelson 6dc12782c7 Merged revisions 71796 via svnmerge from
18 years ago
Tilghman Lesher 17892ed419 Merged revisions 71751 via svnmerge from
18 years ago
Mark Michelson de47fc6c47 In my commit earlier today, I accidentally left a prototype that isn't defined.
18 years ago
Russell Bryant ab56fcce5c Allow compilation off app_voicemail with IMAP_STORAE against a system installed
18 years ago
Mark Michelson 3f3a8af232 Using inboxcount instead of countmessages.
18 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
18 years ago
Joshua Colp 9a3ddbac93 Merged revisions 70899 via svnmerge from
18 years ago
Mark Michelson 5bad80449e Merged revisions 70808 via svnmerge from
18 years ago
Joshua Colp 142c6f45d8 Merged revisions 70677 via svnmerge from
18 years ago
Mark Michelson 21422fd78c Removed an extraneous debug message I'd left in my previous commit
18 years ago
Mark Michelson 3803718a8f Main fix: Fixing a bug which caused VoiceMailMain to always report that
18 years ago
Mark Michelson a434fa668b Undoing my last commit. I misread the code before.
18 years ago
Mark Michelson 2265686e33 Cleaned up a section where there were two consecutive identical if statements.
18 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
18 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
18 years ago
Russell Bryant ab6fa304a4 Add support for the tw language in voicemail
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Mark Michelson d3bc0a518a Merged revisions 69181 via svnmerge from
18 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
18 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
18 years ago
Jason Parker 0ac5422486 Merged revisions 68326 via svnmerge from
18 years ago
Jason Parker 20e1e1ad3c Merged revisions 68211 via svnmerge from
18 years ago
Mark Michelson 350a83fe98 Merged revisions 68198 via svnmerge from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago