Commit Graph

958 Commits (283f63c594d0c4327c51fdae0587a6a9f1cb15d3)

Author SHA1 Message Date
Mark Michelson e69803a2be Merged revisions 180380 via svnmerge from
16 years ago
Tilghman Lesher 345a6fd1cb Permit emailsubject and emailbody to be set per mailbox.
16 years ago
Tilghman Lesher fefa97001a Oops, merge broke trunk
16 years ago
Tilghman Lesher 306f229d64 Merged revisions 177536 via svnmerge from
16 years ago
Mark Michelson 10281bf183 Merged revisions 175590 via svnmerge from
17 years ago
Tilghman Lesher d4df1c6a78 Fix0ring build
17 years ago
Mark Michelson 8f9c8f8b40 Properly set "seen" and "unseen" flags when moving messages from the new to the old folder when using IMAP for voicemail storage
17 years ago
Jeff Peeler 4ac807845d Merged revisions 173696 via svnmerge from
17 years ago
Tilghman Lesher 317e4e7313 Blank argument crashes Asterisk
17 years ago
Joshua Colp fcf4d42cde Reset the ast_str used for escape substitution. We need to do this since it is a thread local variable that may contain the value of a previous substitution.
17 years ago
Tilghman Lesher 3728c3aa92 Merged revisions 168828 via svnmerge from
17 years ago
Kevin P. Fleming 9a7efae8fd remove the PBX_ODBC logic from the configure script, and add GENERIC_ODCB logic that includes copying the relevant LIB and INCLUDE data from either UnixODBC or iODBC, based on which was found; if both were found, prefer UnixODBC
17 years ago
Tilghman Lesher a117714b88 Merged revisions 165767 via svnmerge from
17 years ago
Tilghman Lesher 665b55e6f8 Fix 2 resource leaks and fix another pipe-to-comma conversion
17 years ago
Mark Michelson a7829044ec Merged revisions 165255 via svnmerge from
17 years ago
Mark Michelson 93a51114cb And actually assign the function to a pointer...
17 years ago
Mark Michelson d0671d8d30 Use the create_vm_state_from_user function in a place where
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Mark Michelson 81b642c8c3 Add an option to voicemail.conf to allow urgent messages to be
17 years ago
Joshua Colp 135bb29ba6 Finish conversion to using ARRAY_LEN and remove it as a janitor project.
17 years ago
Tilghman Lesher fd484690ce Merged revisions 162463 via svnmerge from
17 years ago
Tilghman Lesher 73b6cbf66c Merged revisions 162348 via svnmerge from
17 years ago
Eliel C. Sardanons 5e9dc5e1f3 Add voicemail related applications and functions XML documentation:
17 years ago
Sean Bright 3eee1dbb9b Use ast_free() instead of free(), pointed out by eliel on IRC.
17 years ago
Sean Bright 9d2a8810e6 When using IMAP_STORAGE, it's important to convert bare newlines (\n) in
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Sean Bright 2afd7a09a7 Check the return value of fread/fwrite so the compiler doesn't complain. Only a
17 years ago
Tilghman Lesher c42aef2ebb Merged revisions 160770 via svnmerge from
17 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
17 years ago
Mark Michelson 6c554e4996 Fix the logic for when delete=yes when IMAP storage
17 years ago
Mark Michelson ea9955dd2a Merged revisions 156816 via svnmerge from
17 years ago
Tilghman Lesher 2cc8e25222 Slightly optimize ast_devstate_str and rename global functions devstate2str and config_text_file_save to have an ast_ prefix
17 years ago
Kevin P. Fleming 448562af93 improve configure script to remember the previous value of each dependency in build_tools/menuselect-deps, so that (once it has been written) menuselect can use this information to warn the user when a previously met dependency is no longer met
17 years ago
Tilghman Lesher b287a63971 Merged revisions 154066 via svnmerge from
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant d7742120e9 - Use a for loop instead of a while loop
17 years ago
Tilghman Lesher c7367e26be Merged revisions 152463 via svnmerge from
17 years ago
Tilghman Lesher e818109d73 Merged revisions 148987 via svnmerge from
17 years ago
Tilghman Lesher 7bdb6c3ea5 Merged revisions 148916 via svnmerge from
17 years ago
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
17 years ago
Tilghman Lesher 926e3ad13d Merged revisions 148257 via svnmerge from
17 years ago
Sean Bright 1dedb785ab Don't include logger.h in asterisk.h by default as it is causing problems building
17 years ago
Mark Michelson 806f3581d9 Read the callerid in the correct order and make sure to
17 years ago
Tilghman Lesher 8b14e5f493 Reverting format addition for now
17 years ago
Tilghman Lesher f5d5eb5e19 Fudges for wav16, just like wav49
17 years ago
Tilghman Lesher e4de40eabc Merged revisions 147997 via svnmerge from
17 years ago
Sean Bright 702ab90240 This was flawed. The issue that I was trying to address was addressed by
17 years ago
Sean Bright e7c2c8b1df Merged revisions 147193 via svnmerge from
17 years ago
Sean Bright 8b53220990 Or not.
17 years ago
Sean Bright 4d9955141c There was a boo-boo in TFOT that is causing some confusion on the mailing lists
17 years ago
Sean Bright 03e4997ceb If we encounter something in mailbox options that we don't grok, then
17 years ago
Michiel van Baak 4560279c69 All ODBC parts can now use either unixodbc or iodbc.
17 years ago
Tilghman Lesher 43ba0b858b Merged revisions 143404 via svnmerge from
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Tilghman Lesher 81c2d7bccf Merged revisions 142744 via svnmerge from
17 years ago
Mark Michelson 2ec51f4ed5 Fix compilation
17 years ago
Mark Michelson 18a3422ef0 Merged revisions 140850 via svnmerge from
17 years ago
Mark Michelson f1647375b2 Merged revisions 140751 via svnmerge from
17 years ago
Mark Michelson d69c866f5f Merged revisions 140421 via svnmerge from
17 years ago
Sean Bright 790fde68d9 Another batch of files from RSW. The remaining apps and a few more
17 years ago
Mark Michelson 4e2406fda4 Fix compilation for ODBC voicemail
17 years ago
Mark Michelson 64a06c0298 Remove one last batch of debug messages
17 years ago
Mark Michelson 3917a7d65d Fix build for non-IMAP storage and get rid of some
17 years ago
Mark Michelson 5e27c1be24 Merging the imap_consistency_trunk branch to
17 years ago
Kevin P. Fleming 992440aceb fix some format strings to actually compile without errors
17 years ago
Tilghman Lesher 0785fad14f Merged revisions 135479 via svnmerge from
17 years ago
Mark Michelson 577d6a5c78 IMAP-specific items must go in IMAP_STORAGE defines...
17 years ago
Mark Michelson a673e3d90a IMAP storage functioned under the assumption that folders
17 years ago
Tilghman Lesher 68880b4e10 Merged revisions 134161 via svnmerge from
17 years ago
Tilghman Lesher c4d4c636d0 Hebrew syntax for voicemail prompts
17 years ago
Tilghman Lesher 49715c05f1 Merged revisions 130959 via svnmerge from
17 years ago
Mark Michelson 1c49415b19 Removed the fn2 field from the vm_state structure.
17 years ago
Mark Michelson 6ddcd21a7f Fix compilation error when IMAP storage is enabled
17 years ago
Tilghman Lesher 8fa66db120 Merged revisions 128856 via svnmerge from
17 years ago
Tilghman Lesher 5a71f180ad Merged revisions 128812 via svnmerge from
17 years ago
Mark Michelson 4f0f9d27cf Crap
17 years ago
Mark Michelson 742815875d If imapfolder=foo were set in voicemail.conf, then when calling VoiceMailMain,
17 years ago
Mark Michelson 04a10e77a0 Get app_voicemail compiling when IMAP storage is used.
17 years ago
Tilghman Lesher 267b9d4eb4 Oops
17 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
17 years ago
Tilghman Lesher 3a27a6a9e7 Fix some crashlike bugs because flag could be NULL in play_record_review().
17 years ago
Mark Michelson 13a81dd7ae Merged revisions 127244 via svnmerge from
17 years ago
Luigi Rizzo f55143f0a6 fix an uninitialized variable
17 years ago
Tilghman Lesher c9ac1b8ca5 Don't play "your message has been saved" twice.
17 years ago
Tilghman Lesher 7ec25255c5 Merged revisions 124910 via svnmerge from
17 years ago
Mark Michelson 1d2ac41c07 Fix attachment behavior when using IMAP storage for voicemails
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Mark Michelson 7852d30fe8 Merged revisions 124112 via svnmerge from
17 years ago
Mark Michelson a2b4382fd7 Forwarding non-urgent IMAP messages could inadvertently cause the messages
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
17 years ago
Michiel van Baak 00da438e4c Zap is now DAHDI, mkay
17 years ago
Michiel van Baak 3d4a1cee98 small update to the g() option of app_voicemail to
17 years ago
Mark Michelson 4ad72ce1cf Get rid of warnings for those silly compilers which warn when freeing
17 years ago
Mark Michelson 7e49fd2f0e Use a deep copy on strings that come from ast_events. Otherwise it is
17 years ago
Mark Michelson 028016b401 When counting urgent messages when using IMAP storage, take into account that
17 years ago
Mark Michelson a92223a240 Modify externnotify to take the number of urgent voicemails as a final argument instead
17 years ago
Mark Michelson f10440a35f Prevent crashes from occurring due to a strcmp of a NULL pointer.
17 years ago
Jason Parker 8340b21c1d Voicemail "* exit" should not require an exitcontext to be specified.
17 years ago
Mark Michelson 93e84a7d76 Remove a debug line
17 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
17 years ago
Tilghman Lesher 8b1d52c9a5 Allow a password change to be validated by an external script.
17 years ago
Dwayne M. Hubbard 817e1ed55f app_voicemail uses a taskprocessor for mwi notification subscriptions
17 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
17 years ago
Tilghman Lesher 527c601d0c Lock around variables retrieved, and copy the values, if they stay persistent,
17 years ago
Mark Michelson 6e45d3c223 Since there is now a globally available function for saying someone's name, a LOT of
17 years ago
Mark Michelson 3aad03e5f0 Adding a new option 'n' to app_chanspy. This option allows for the name of the spied-on
17 years ago
Tilghman Lesher ff2ca49cd0 Fix breakage caused by #12028. (Closes issue #12535)
17 years ago
Mark Michelson 8ce5a0a500 This patch allows for forwarding a message with a "comment" attachment
17 years ago
Mark Michelson 2b2571d011 Fix a memory leak and protect against potential dereferences of a NULL
17 years ago
Mark Michelson 797adf6bf8 Round 2 of IMAP_STORAGE app_voicemail.c fixes:
17 years ago
Mark Michelson edf0313215 Round 1 of IMAP_STORAGE-related app_voicemail changes
17 years ago
Joshua Colp c9338b76ee Don't hardcode ru into the digits filename so that languageprefix can work.
17 years ago
Tilghman Lesher 137c02a020 Permit message wrap-around during message retrieval.
17 years ago
Mark Michelson a83661d39c This is a "fix" for something that's been bugging the crap out of me for a while.
17 years ago
Jason Parker a734470a2b Minor formatting cleanup.
17 years ago
Jason Parker 9f1e663935 More voicemail doxygen additions/cleanup.
17 years ago
Jason Parker 4edaf04348 Merged revisions 112068 via svnmerge from
17 years ago
Jason Parker ed9e3ef23e Replace magic number size from msgArray array with a define.
17 years ago
Jason Parker 1f8cb622bb Add a bit of doxygen documentation for app_voicemail.
17 years ago
Mark Michelson e94d06b83c Merged revisions 111121 via svnmerge from
17 years ago
Mark Michelson 5278d1d62b Merged revisions 111049 via svnmerge from
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Russell Bryant dfe03485a6 Remove an unnecessary thread attribute instance
17 years ago
Russell Bryant 7ccd146656 Fix polling for mailbox changes in mailboxes that are not in the default vm context.
17 years ago
Russell Bryant 906a28ad5d Fix a place where configuration values could cause an overflow of a buffer.
17 years ago
Russell Bryant a29d862631 This patch adds support for extended help prompts in voicemail. These prompts
17 years ago
Tilghman Lesher 0b8bccb5ce Merged revisions 106635 via svnmerge from
17 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
17 years ago
Tilghman Lesher 8a411ccf83 Create a centralized configuration option for silencethreshold
17 years ago
Joshua Colp 0e5d9f53cc Merged revisions 105261 via svnmerge from
17 years ago
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