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
Olle Johansson
dd5222fd30
Update to trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-24 10:17:40 +00:00
Kevin P. Fleming
302c943001
add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
...
update pbx_dundi to use ast_get_time_t
eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-23 17:13:57 +00:00
Matt O'Gorman
cff3864fa5
bug in the linkedlists macros where the prev node
...
was improperly managed when doing removals or insertions.
also solved issues with app_voicemail init. and reload
solves bug #6557
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-22 20:13:05 +00:00
Tilghman Lesher
55b1d07a97
Merged revisions 10464 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r10464 | tilghman | 2006-02-19 11:26:31 -0600 (Sun, 19 Feb 2006) | 2 lines
Fix possible lack of initialization of useadsi
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-19 17:27:39 +00:00
Tilghman Lesher
92679bc761
Bug 6503 - Change wording from mailbox to folder when referring to the subfolders of a mailbox (less confusing)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 23:13:48 +00:00
Russell Bryant
39fbbe1c25
Merged revisions 10301 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r10301 | russell | 2006-02-16 13:07:52 -0500 (Thu, 16 Feb 2006) | 3 lines
when executing the Directory application from voicemail and a context is not
specified, use the "default" context, not the channel's current context (issue #6507 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-16 18:19:05 +00:00
Tilghman Lesher
6f8cdb5c03
Define the initial values separate from the STATIC definitions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 23:00:07 +00:00
Russell Bryant
a0d438fb6c
remove the uses of the deprecated STANDARD_LOCAL_USER
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 20:11:56 +00:00
Kevin P. Fleming
4662d58b01
add API function for parsing strings to time_t (issue #6320 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 00:24:24 +00:00
Kevin P. Fleming
c6ddfef02d
list macro conversion (issue #6328 , with bugfix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-14 20:39:56 +00:00
Kevin P. Fleming
7b2988821a
clean up SMDI support commit:
...
copyright header format and dates
code formatting and guidelines conformance
use of timeval wrapper functions
use of memory allocation wrappers
propery unref created interface objects during config load
document new variable set by chan_zap in doc/channelvariables.txt
remove useless 'extern' on function prototypes and definitions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 23:55:47 +00:00
Matthew Fredrickson
af07dc8883
Add smdi support for asterisk (see doc/smdi.txt for config info) ( #5945 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10 21:50:56 +00:00
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00