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
BJ Weschke
afa37c0194
Merged revisions 26050 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r26050 | bweschke | 2006-05-09 08:28:39 -0500 (Tue, 09 May 2006) | 3 lines
Correct memory leak in find_user_realtime #7118 (fnordian)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 13:33:54 +00:00
Tilghman Lesher
308618585e
Bug 7009 - use the actual path, so that a table index can be used
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-09 05:55:44 +00:00
Tilghman Lesher
a5e16fe676
Warn user if the custom format is not one of the options
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-08 23:04:19 +00:00
Russell Bryant
24ed662549
add Polish language support to Voicemail, with some minor modifications that
...
include formatting fixes, making it so variables aren't declared in the
middle of a block, and various other little code cleanups
(issue #6970 , supczinskib)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-06 02:05:18 +00:00
Russell Bryant
10b4545ac0
modify the handling of the new temporary greeting reminder feature so that
...
it works for any language
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 22:57:11 +00:00
Russell Bryant
0794168428
add support for having the user reminded that their temporary greeting
...
is still set (issue #6120 , khaefner)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 21:22:50 +00:00
BJ Weschke
6ed0af6fc3
Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-05 19:10:11 +00:00
Tilghman Lesher
21789c391b
Bug 6989 - updates to the ODBC storage mechanism for compatibility with the new res_odbc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-03 22:54:02 +00:00
BJ Weschke
7f0cc4786b
Merged revisions 23988 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23988 | bweschke | 2006-05-01 14:34:29 -0500 (Mon, 01 May 2006) | 3 lines
Correct a condition from the prior patch that could happen in rare circumstances and cause a core dump. Thanks Qwell!
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 19:35:53 +00:00
BJ Weschke
649052f980
Merged revisions 23985 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r23985 | bweschke | 2006-05-01 14:26:43 -0500 (Mon, 01 May 2006) | 3 lines
Make sure that when someone 0's out while recording a msg and then chooses to DELETE the recorded file, the .txt file isn't left around by itself to cause problems later. #7061 (dimitripietro reporting, blitzrage confirmed)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 19:32:47 +00:00
Russell Bryant
f461c5d160
- convert the list of zones to use the list macros, and add locking (issue #7027 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-29 01:05:13 +00:00
Matt O'Gorman
367de1a73d
Merged revisions 22596 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r22596 | mogorman | 2006-04-26 14:18:55 -0500 (Wed, 26 Apr 2006) | 3 lines
do not allow for users to forward voicemail to
themselves, patch from 7001
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-26 19:22:55 +00:00
Tilghman Lesher
e3f569532f
Deprecate prefixed options in voicemail
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:20:41 +00:00
Luigi Rizzo
d4eea1066b
convert to use ast_strem_and_wait
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-21 20:51:55 +00:00
Joshua Colp
e8a94a71e2
Allow the attachment format to be specified differently for different mailboxes (issue #6961 reported by the ever fabulous Corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-15 23:05:18 +00:00
Luigi Rizzo
8977378288
use ast_strdup instead of strdup
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 22:22:13 +00:00
Luigi Rizzo
62712ea668
constification and code simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 22:02:19 +00:00
Luigi Rizzo
e43bc6634d
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Tilghman Lesher
492e68dab3
Merged revisions 19891 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r19891 | tilghman | 2006-04-13 15:37:50 -0500 (Thu, 13 Apr 2006) | 2 lines
Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 20:40:23 +00:00
Tilghman Lesher
e5bb12ac83
Merged revisions 19394 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r19394 | tilghman | 2006-04-11 17:24:46 -0500 (Tue, 11 Apr 2006) | 2 lines
Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 22:25:57 +00:00
BJ Weschke
44b98afdcd
Merged revisions 19008 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r19008 | bweschke | 2006-04-10 20:05:01 -0500 (Mon, 10 Apr 2006) | 3 lines
When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 01:12:13 +00:00
Olle Johansson
6843c5ddc6
Issue 6919 - clarify error message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-09 18:53:46 +00:00
Kevin P. Fleming
f10f427d49
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Tilghman Lesher
1481e53ba8
Merged revisions 18494 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r18494 | tilghman | 2006-04-08 14:20:45 -0500 (Sat, 08 Apr 2006) | 2 lines
Bug 6914 - .txt file fails to rename on operator out
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 19:22:29 +00:00
Tilghman Lesher
756c7cbb12
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 17:44:44 +00:00
Luigi Rizzo
6c232811c0
as discussed with Mark a few weeks ago, the 'newstack' argument
...
in pbx_exec is always 1 so it can be removed.
This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:29:39 +00:00
Tilghman Lesher
ff9fc4f606
Merged revisions 14830 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r14830 | tilghman | 2006-03-24 23:01:16 -0600 (Fri, 24 Mar 2006) | 2 lines
Fix incorrect size of zeroing (left over from when maxmsg was hardcoded at 100)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 05:02:19 +00:00
Tilghman Lesher
39a99c65c2
Merged revisions 14821 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r14821 | tilghman | 2006-03-24 22:09:04 -0600 (Fri, 24 Mar 2006) | 2 lines
Bug 6783 - When context is specified, voicemail should look for mailboxes in that context
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25 04:10:35 +00:00
BJ Weschke
6d22be794f
Merged revisions 14659 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r14659 | bweschke | 2006-03-23 22:53:42 -0600 (Thu, 23 Mar 2006) | 3 lines
Fix a typo in the app description
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-24 04:55:09 +00:00
Joshua Colp
b60145bbf7
Merged revisions 14276 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r14276 | file | 2006-03-22 18:18:32 -0400 (Wed, 22 Mar 2006) | 2 lines
Fix a minor code issue
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 22:28:36 +00:00
Joshua Colp
7b54d83b1e
Merged revisions 14275 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r14275 | file | 2006-03-22 18:13:30 -0400 (Wed, 22 Mar 2006) | 2 lines
Issue #6781 - Verbose levels not enforced in app_voicemail (Reported by flobi)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 22:27:11 +00:00
Tilghman Lesher
81a70f668e
Merged revisions 13748 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r13748 | tilghman | 2006-03-21 00:24:56 -0600 (Tue, 21 Mar 2006) | 2 lines
Bug 6714 - Workaround to avoid retrieving incomplete voicemail message
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@13749 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-21 06:28:19 +00:00
Russell Bryant
63056dcb8f
add a couple of variables to clarify some code (issue #6700 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 18:11:35 +00:00
Olle Johansson
7aeb45a0da
Small fixes to the messagecount function (while trying to understand
...
a bug report...)
- Remove unused variable "ret"
- Declare char* pointers in the block where they are used
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 07:17:30 +00:00
Olle Johansson
7d3ef37477
Initialize variable (fix by Luigi Rizzo)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-06 09:43:59 +00:00
Matt O'Gorman
02aadcc8ae
Russian locale for voicemail from bug patch 6603
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-03 19:14:18 +00:00
Olle Johansson
acfc219733
Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:50:43 +00:00