Commit Graph

408 Commits

Author SHA1 Message Date
Matt O'Gorman f4434eba6f Get rid of ugly tmp directory, although I really should
fix the way imap accesses its temporary voice files.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 22:54:28 +00:00
Joshua Colp 62e58282eb Destroy msg_cfg after it's used, not before (issue #7618 reported by wvolz with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 02:00:45 +00:00
Matt O'Gorman 36935ffc42 protect curhst and curusr
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 17:05:51 +00:00
Matt O'Gorman 1dc7c62ed4 patch to fix several things wrong with voicemail
imap storage.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 16:14:53 +00:00
Matt O'Gorman d9d3127ee3 get rid of some useless debug messages and raise debug level of others
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 22:03:33 +00:00
Matt O'Gorman e31af51923 more staticness, and syntax cleaning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 19:23:07 +00:00
Matt O'Gorman c13e44eacb whitespace clean up
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-01 17:20:48 +00:00
Kevin P. Fleming 94302c792a could have sworn i committed this change already...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:46:47 +00:00
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Jason Parker 7c05e6478d Fix a bug with app_voicemail when trying to use app_directory to leave messages
to another user (options 3, 5, 2).

If the context/extension didn't exist in the dialplan (and why should it have to?),
it would fail, saying that it's an "invalid extension".

(issue BE-71)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-19 00:53:54 +00:00
Matt O'Gorman 57ee805062 changes to configure to support older c-client than the
2004 version.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-17 22:39:48 +00:00
Matt O'Gorman e502e644df fixed imap bug and updated syntax.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-16 20:32:19 +00:00
Joshua Colp 3ef02d79a4 Remove the old ODBC_STORAGE and make EXTENDED_ODBC_STORAGE the one to use. This means that if you're using this and upgrade to the revision where this was committed, you will need to update your table to the schema provided in doc/odbcstorage.txt
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-16 16:22:13 +00:00
Matt O'Gorman 475afdaf39 support for imap in app_voicemail as well as some
credits fixed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-08 20:35:59 +00:00
Tilghman Lesher f37a4e3e12 Bug 6237 - add volgain parameter, such that voicemail messages may be amplified after recording
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-08 15:37:53 +00:00
Tilghman Lesher 91629a8d55 Merged revisions 38761 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r38761 | tilghman | 2006-08-03 00:22:19 -0500 (Thu, 03 Aug 2006) | 2 lines

Bug 7648 - Checking wrong count for plurality on new messages for Dutch language

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-03 05:24:43 +00:00
Tilghman Lesher 3c581f0e1e Set permissions completely open and modify by umask
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-01 13:15:15 +00:00
Tilghman Lesher 954b0dd624 Whitespace fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-14 06:03:41 +00:00
Kevin P. Fleming 3e9edd2702 Merged revisions 37571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37571 | kpfleming | 2006-07-13 16:22:11 -0500 (Thu, 13 Jul 2006) | 2 lines

don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37572 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 21:23:11 +00:00
Kevin P. Fleming ce8a649696 Merged revisions 37441-37442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37441 | kpfleming | 2006-07-12 10:46:56 -0500 (Wed, 12 Jul 2006) | 3 lines

fix a case where ast_lock_path() could leave a randomly-named lock file hanging around
make ast_unlock_path actually report when unlocking fails

........
r37442 | kpfleming | 2006-07-12 10:53:53 -0500 (Wed, 12 Jul 2006) | 2 lines

fix a weird case where a lock file could be left (but would happen almost never)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-13 15:20:02 +00:00
Russell Bryant 81dc532887 fix the build options for app_voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-12 20:35:14 +00:00
Kevin P. Fleming bc9ed9f5c4 various minor fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-07 00:48:40 +00:00
Kevin P. Fleming d5b7bf2ab7 massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 19:59:34 +00:00
Olle Johansson ec9d4711d7 - Add notes about voicemail depending on res_adsi
- Remove obsolete modules from modules.conf.sample
  (make install will warn if those exist on the machine)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 06:06:23 +00:00
Tilghman Lesher a58afaa03b Whitespace fixes only.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-03 13:26:10 +00:00
Joshua Colp e6958d9c5e Merged revisions 34911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34911 | file | 2006-06-19 17:27:44 -0300 (Mon, 19 Jun 2006) | 2 lines

Call reset_user_pw upon changing the password using externpass (issue #7395 reported by Ryan Cumming)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 20:29:08 +00:00
Tilghman Lesher ea05183652 Merged revisions 34875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34875 | tilghman | 2006-06-19 13:07:26 -0500 (Mon, 19 Jun 2006) | 2 lines

Issue 7357 - txt file left behind when going to operator.  Also, fix a possible file descriptor leak.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-19 18:11:04 +00:00
Kevin P. Fleming e49a367ecf commit russell's menuselect/buildoptions work with some changes:
reverted per-directory .cleancount support
  added ability for 'remove_on_change' to support multiple filenames
  add 'remove_on_change' support to members, not just categories
  only do 'remove_on_change' removals if the config is actually saved
  add a 'remove_on_change' entry for each module found by prep_moduledeps so that if it gets turned off any existing .o/.so files will disappear


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 12:52:08 +00:00
Russell Bryant 4691e6a29e remove IMAP_STORAGE from the build options list for app_voicemail since it's
not in trunk yet


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 17:53:26 +00:00
Russell Bryant 287fce05d0 add support for setting the CFLAGS for voicemail storage options in menuselect
Thanks to kpfleming for the Makefile magic :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-16 16:17:43 +00:00
Tilghman Lesher 2ee2b192e3 Merged revisions 34242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34242 | tilghman | 2006-06-15 07:40:10 -0500 (Thu, 15 Jun 2006) | 3 lines

VoicemailMain exits on any key, when the language is set to Italian, instead of
properly handling the key (issue 7353).

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-15 12:41:24 +00:00
Russell Bryant 50dff0e818 fix a place where code returns without unlocking the vm users list and various
places where code returns without destroying loaded configuration


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33785 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 04:37:36 +00:00
Kevin P. Fleming 8d88bf549d there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:40:10 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant 739385e761 remove the WITH_SMDI define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:28:29 +00:00
Tilghman Lesher 95871f201d Merged revisions 32605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32605 | tilghman | 2006-06-06 11:55:23 -0500 (Tue, 06 Jun 2006) | 2 lines

Bug 7287 - A too short voicemail with ODBC_STORAGE will cause the first voicemail to be deleted erroneously

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:59:13 +00:00
Olle Johansson f80bde18be - Add headers to e-mail with caller ID name and number to simplify automatic parsing
- Formatting fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 08:06:02 +00:00
Kevin P. Fleming 429360320d let's use the proper variable here, instead of segfaulting (don't know how this worked for anyone at all)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 22:55:02 +00:00
Tilghman Lesher d0c36296d2 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 18:21:31 +00:00
Joshua Colp ccf365cc70 Merged revisions 28651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28651 | file | 2006-05-19 13:03:33 -0300 (Fri, 19 May 2006) | 2 lines

When forwarding messages use the context that the active voicemail user was found in. (issue #7010)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 16:04:35 +00:00
Tilghman Lesher f0b985853a Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 18:28:52 +00:00
Joshua Colp 9d4d49cfeb Merged revisions 28212 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28212 | file | 2006-05-18 13:31:16 -0300 (Thu, 18 May 2006) | 2 lines

Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 16:32:37 +00:00
Joshua Colp b37f523eff Merged revisions 28169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28169 | file | 2006-05-18 11:27:21 -0300 (Thu, 18 May 2006) | 2 lines

Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-18 14:40:20 +00:00
Joshua Colp 10994f5fbc Merged revisions 27847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27847 | file | 2006-05-17 14:07:52 -0300 (Wed, 17 May 2006) | 2 lines

Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 17:10:44 +00:00
Tilghman Lesher ffe4dedf29 Merged revisions 27636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27636 | tilghman | 2006-05-16 21:19:50 -0500 (Tue, 16 May 2006) | 2 lines

Bug 7125 - Fix race condition between resequencing and leaving a message

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 02:27:17 +00:00
Tilghman Lesher 06882b4232 Merged revisions 27093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27093 | tilghman | 2006-05-12 23:08:29 -0500 (Fri, 12 May 2006) | 2 lines

Bug 7134 - File descriptor leak with ODBC storage of voicemail

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 04:18:25 +00:00
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 13:22:15 +00:00
Luigi Rizzo 1904069f71 fix indentation of two large blocks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 12:17:25 +00:00
Luigi Rizzo c99f6d4576 fix a couple of misindented lines;
prepare reduce nesting level in a couple of blocks by
inverting an if () statement (indentation change to be committed
separately).



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 11:38:43 +00:00
Luigi Rizzo 298eec4d28 use 'switch' insteaf of multiple 'if'
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-10 10:10:03 +00:00