Mark Michelson
75c83fd851
Merged revisions 85276 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85276 | mmichelson | 2007-10-10 09:26:31 -0500 (Wed, 10 Oct 2007) | 5 lines
A bunch of changes from sprintf to snprintf.
See security advisory AST-2002-022
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
dd04101f60
Merged revisions 85242 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r85242 | file | 2007-10-10 11:14:56 -0300 (Wed, 10 Oct 2007) | 6 lines
Close voicemail message description file if duration did not meet the minimum, or else we will eventually run out of file descriptors.
(closes issue #10918 )
Reported by: brak2718
Patches:
vm1.4.12.1.patch uploaded by brak2718 (license 279)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
ac5332c674
More conversions to NEW_CLI
...
(issue #10724 )
Patches:
chan_zap.c.patch uploaded by moy (license 222)
app_queue.c.patch uploaded by eliel (license 64)
app_voicemail.c.patch uploaded by eliel (license 64)
app_meetme.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
0c8381a1f5
(closes issue #10739 )
...
Reported by: ruffle
Patches:
app_voicemail.c.diff uploaded by ruffle (license 201)
10739-moveheard.diff uploaded by qwell (license 4)
Tested by: callguy, ruffle
Add an option to disable the automatic moving of "heard" messages to the Old folder.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
96d9f820e9
Merged revisions 82676 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82676 | russell | 2007-09-17 15:16:25 -0500 (Mon, 17 Sep 2007) | 4 lines
Put a memset in ast_localtime() instead of a couple places in app_voicemail
to prevent the problem everywhere instead of just a couple of places.
(related to issue #10746 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
f498599e56
Merged revisions 82644 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82644 | russell | 2007-09-17 15:00:32 -0500 (Mon, 17 Sep 2007) | 6 lines
Initialize some memory to fix crashes when leaving voicemail. This problem
was fixed by running Asterisk under valgrind.
(closes issue #10746 , reported by arcivanov, patched by me)
*** IMPORTANT NOTE: We need to check to see if this same bug exists elsewhere.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
6c97fd4cb4
Option maxmessage should be maxsecs per-folder, too (closes issue #10729 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
382a40f04e
Make Callerid more consistent in IMAP mail headers
...
(closes issue #10056 , reported and patched by jaroth, with small modification
by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81984 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
ca890bae34
Merged revisions 80750 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80750 | mmichelson | 2007-08-24 10:51:03 -0500 (Fri, 24 Aug 2007) | 3 lines
Fix a possible crash in IMAP voicemail.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
d810320a22
Remove remnants of last commit so trunk builds again.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
0ef2670e8f
Merged revisions 80044 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r80044 | mmichelson | 2007-08-20 10:34:43 -0500 (Mon, 20 Aug 2007) | 5 lines
Ukrainian language voicemail support.
(closes issue #10458 , reported and patched by Oleh)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
e18bdff54a
Merged revisions 79998 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79998 | tilghman | 2007-08-19 21:42:49 -0500 (Sun, 19 Aug 2007) | 2 lines
Missing curly braces. Oops. (Reported by snuffy via IRC)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79999 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
447fada0c1
Merged revisions 79947 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79947 | tilghman | 2007-08-18 09:30:44 -0500 (Sat, 18 Aug 2007) | 3 lines
Don't allocate vmu for messagecount when we could just use the stack instead (closes issue #10490 )
Also, remove a useless (and leaky) SQLAllocHandle (closes issue #10480 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
dc7d25ea63
I broke the build. Now I'm fixing it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
d49ae61c36
Merged revisions 79906 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79906 | mmichelson | 2007-08-17 14:14:05 -0500 (Fri, 17 Aug 2007) | 6 lines
Patch allows for more seamless transition from file storage voicemail to ODBC storage voicemail.
If a retrieval of a greeting from the database fails, but the file is found on the file system, then
we go ahead an insert the greeting into the database. The result of this is that people who
switch from file storage to ODBC storage do not need to rerecord their voicemail greetings.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
56b9568164
Don't reload a configuration file if nothing has changed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Dwayne M. Hubbard
46b75d5f17
added counter for voicemail show users, issue 10462, thanks junky
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
80f49f0ac8
Merged revisions 79690 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79690 | mmichelson | 2007-08-16 10:58:34 -0500 (Thu, 16 Aug 2007) | 5 lines
base_encode is not trying to open a log file, so we should not call it a log file in the warning.
(related to issue #10452 , reported by bcnit)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
425aca97c4
Merged revisions 79527 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79527 | mmichelson | 2007-08-15 09:26:40 -0500 (Wed, 15 Aug 2007) | 5 lines
Fixed an error in the Russian language voicemail intro.
(issue #10458 , reported and patched by Oleh)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
31aa5e02f1
Merged revisions 78907 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78907 | mmichelson | 2007-08-09 18:47:00 -0500 (Thu, 09 Aug 2007) | 4 lines
Improved a bit of logic regarding comma-separated mailboxes in has_voicemail. Also added some braces to some compound if statements
since unbraced if statements scare me in general.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78908 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
a609873b5c
Merged revisions 78859 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78859 | mmichelson | 2007-08-09 16:51:17 -0500 (Thu, 09 Aug 2007) | 9 lines
Quite a few changes regarding IMAP storage.
1. instead of using inboxcount as the core message counting function, we use messagecount instead. This makes it possible to count messages in folders besides just INBOX and Old.
2. inboxcount and hasvoicemail now use messagecount as their means of determining return values.
3. Added a copy_message function for IMAP storage. Unfortunately I don't have the means to test it, but it seems like a pretty straightforward function.
4. Removed a #ifndef IMAP_STORAGE and matching #endif from leave_voicemail for a couple of reasons. One, we want to support copying mail to multiple IMAP boxes, and two, IMAP was
broken because a STORE macro had been moved into this section of code.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
5b9f4110bc
Merged revisions 78778 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78778 | russell | 2007-08-09 12:58:31 -0500 (Thu, 09 Aug 2007) | 1 line
add a comment to indicate that inboxcount for ODBC_STORAGE needs to be fixed to support multiple mailboxes
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78779 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
4eea027559
Merged revisions 78749 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78749 | russell | 2007-08-09 12:24:40 -0500 (Thu, 09 Aug 2007) | 9 lines
Fix subscriptions to multiple mailboxes for ODBC_STORAGE. Also, leave a
comment for this to be fixed for IMAP_STORAGE, as well. I left IMAP alone
since I know MarkM was working on this code right now for another reason.
This is broken even worse in trunk, but for a different reason. The fact
that the mailbox option supported multiple mailboxes is completely not obvious
from the code in the channel drivers. Anyway, I will fix that in another
commit ...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
9d1acad76b
Fix a problem that I had introduced into MWI handling. I had ignored
...
the mailbox context. Now, all related MWI event dealings pay attention
to the context as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
8906a5aa91
Merged revisions 78450 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78450 | mmichelson | 2007-08-07 14:43:57 -0500 (Tue, 07 Aug 2007) | 5 lines
The logic behind inboxcount's return value was reversed in has_voicemail and message_count.
(closes issue #10401 , reported by st1710, patched by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
f78ff66a4d
Merged revisions 78415 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78415 | tilghman | 2007-08-07 14:09:38 -0500 (Tue, 07 Aug 2007) | 2 lines
Reconnection doesn't happen automatically when a DB goes down (fixes issue #9389 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
224dd669b4
Merged revisions 78101 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r78101 | russell | 2007-08-03 15:14:06 -0500 (Fri, 03 Aug 2007) | 10 lines
(closes issue #10194 )
Reported by: blitzrage
Patches:
bug0010194 uploaded by vovochka
Tested by: blitzrage
Fix a problem when you call Voicemail() with multiple mailboxes specified and
ODBC_STORAGE is in use. The audio part of the message was only given to the
first mailbox specified.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@78102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
d4013ef43d
Merged revisions 77886 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77886 | tilghman | 2007-08-01 17:14:47 -0500 (Wed, 01 Aug 2007) | 2 lines
Voicemail with ODBC_STORAGE defined does not compile cleanly (missing def)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77888 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
d9aee5e353
Merged revisions 77869 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r77869 | file | 2007-08-01 14:56:59 -0300 (Wed, 01 Aug 2007) | 2 lines
Add some fixes for building on Solaris.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
20bbd09de3
Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
f8483a0d04
Do a massive conversion for using the ast_verb() macro
...
(closes issue #10277 , patches by mvanbaak)
Basically, this changes ...
if (option_verbose > 2)
ast_verbose(VERBOSE_PREFIX_3, "Something\n");
to ...
ast_verb(3, "Something\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
922444c851
Merged revisions 76708 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r76708 | tilghman | 2007-07-23 17:38:06 -0500 (Mon, 23 Jul 2007) | 4 lines
It was our stated intention for 1.4 that files created in app_voicemail should
depend upon the umask. Unfortunately, mkstemp() creates files with mode 0600,
regardless of the umask. This corrects that deficiency.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
55b1ee298e
Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
...
using old methods of parsing arguments to using the standard macros. However, the big
change is that the really old way of specifying application and arguments separated by
a comma will no longer work (e.g. NoOp,foo|bar). Instead, the way that has been
recommended since long before 1.0 will become the only method available (e.g. NoOp(foo,bar).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75983 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
5f39ac2b03
Merged revisions 75749 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r75749 | tilghman | 2007-07-18 15:40:18 -0500 (Wed, 18 Jul 2007) | 10 lines
Merged revisions 75748 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r75748 | tilghman | 2007-07-18 15:31:36 -0500 (Wed, 18 Jul 2007) | 2 lines
Store prior to copy (closes issue #10193 )
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
fb6f6ba67f
Merged revisions 74476 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74476 | mmichelson | 2007-07-10 18:32:52 -0500 (Tue, 10 Jul 2007) | 5 lines
Forwarding a message with IMAP storage was storing the message in the sender's box instead of the forwarded mailbox.
(closes issue #10138 , reported and patched by jaroth)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
2600cd5d7b
Merged revisions 74317 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(Closes issue #10170 )
................
r74317 | qwell | 2007-07-10 10:38:32 -0500 (Tue, 10 Jul 2007) | 12 lines
Merged revisions 74316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r74316 | qwell | 2007-07-10 10:37:54 -0500 (Tue, 10 Jul 2007) | 4 lines
Fix a small typo in description in of Voicemail() application.
Issue 10170, patch by casper.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
9632477144
Merged revisions 74047 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74047 | mmichelson | 2007-07-09 09:57:41 -0500 (Mon, 09 Jul 2007) | 4 lines
Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue #10135 , reported by yannj, repaired by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
ba857cc8a9
Merged revisions 73985 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r73985 | tilghman | 2007-07-08 23:03:20 -0500 (Sun, 08 Jul 2007) | 2 lines
Doxygen formatting fixes; fixes errors while 'make progdocs'. (Closes issue #10104 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
80f8dd3f81
Merged revisions 73727 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r73727 | mmichelson | 2007-07-06 11:36:17 -0500 (Fri, 06 Jul 2007) | 8 lines
Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive"
vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in
a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth.
closes issue #10053
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
046aa5332d
Remove directory creation of directories we've never used.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
e74159e04f
mkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE
...
Taken from a larger patch by ltd - the rest of which is no longer necessary in trunk.
Closes issue #9231
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
8611de4a4c
Typo (closes issue 10105)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
7415c3ee1e
Found a grievous logical error in get_vm_state_by_imapuser.
...
The imapuser being passed in was never getting compared to imapusers of any of the vm_states
in the vmstates list.
I also found some places in the code where I used my typical brace style and changed it to match
the typical Asterisk brace style.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
5310385315
Added ability to customize which buttons control forward, reverse, pause, and stop during message playback.
...
(closes issue 9474, reported and patched by jaroth with modifications by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
4596af13fc
Adding feature to support the storage and retrieval of voicemail greetings using IMAP storage.
...
This feature may be turned on by adding imapgreetings=yes to the general section of voicemail.conf
voicemail.conf.sample has details on the options added.
As a result, IMAP storage now has RETRIEVE and DISPOSE macros defined.
In addition to the IMAP greeting changes, I also have added an enum for the voicemail folders
and so now the code should be easier to understand and maintain when it comes to this area.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
37ebf4da54
Merged revisions 72182 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r72182 | qwell | 2007-06-27 13:36:56 -0500 (Wed, 27 Jun 2007) | 4 lines
Fix another problem in voicemail with missing symbols.
Issue 10074, patch by kryptolus, extended to include #if 0'd blocks (just in case)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
a333f7a474
Merged revisions 71953 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71953 | mmichelson | 2007-06-26 18:02:09 -0500 (Tue, 26 Jun 2007) | 4 lines
Removing a pointless line. This variable was already set earlier and between then and this
line, there is no way that the values on the right side of the assignment could have changed.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
27654c6a76
The variable msgnum was being overwritten if IMAP storage was enabled.
...
Put necessary #ifndef's around the line which would overwrite.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
e7ca771f95
Merged revisions 71877 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71877 | mmichelson | 2007-06-26 14:00:05 -0500 (Tue, 26 Jun 2007) | 11 lines
A few changes, the ultimate goal of which is to keep better track of the number of messages
that a mailbox currently has. A description of the changes:
1. Changed the "updated" field of the vm_state struct to act more as a binary semaphore than a
counting semaphore, since its current implementation made the inboxcount function not work properly.
This change falls in line with a change made by UPenn with their IMAP setup and helps to sync our changes with theirs.
2. Eliminated some redundant calls to get_vm_state_by_mailbox inside leave_voicemail
3. Use the play_folder variable to keep track of the number of old and new messages in a mailbox as the messages are deleted
4. Added an increment to the number of new messages that was not there previously in the leave_voicemail function
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
6dc12782c7
Merged revisions 71796 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71796 | mmichelson | 2007-06-26 10:47:31 -0500 (Tue, 26 Jun 2007) | 5 lines
Fixing bug where the authuser was mistakenly pulled from the mailbox string instead
of the IMAP user.
(closes issue 10054, reported and patched by jaroth)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
17892ed419
Merged revisions 71751 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71751 | tilghman | 2007-06-26 07:27:47 -0500 (Tue, 26 Jun 2007) | 10 lines
Merged revisions 71750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71750 | tilghman | 2007-06-26 07:25:58 -0500 (Tue, 26 Jun 2007) | 2 lines
Issue 10062 - Trying to move a message without selecting one first results in memory corruption
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71752 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
de47fc6c47
In my commit earlier today, I accidentally left a prototype that isn't defined.
...
This gets rid of that prototype.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
ab56fcce5c
Allow compilation off app_voicemail with IMAP_STORAE against a system installed
...
version of the c-client library. (issue #10047 , jcollie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
3f3a8af232
Using inboxcount instead of countmessages.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
9a3ddbac93
Merged revisions 70899 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70899 | file | 2007-06-21 17:40:19 -0400 (Thu, 21 Jun 2007) | 10 lines
Merged revisions 70898 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2 lines
Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
5bad80449e
Merged revisions 70808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70808 | mmichelson | 2007-06-21 14:49:44 -0500 (Thu, 21 Jun 2007) | 4 lines
When volgain is used don't leave a temporary file behind.
(Closes Issue 8514, Reported and patched by ulogic, code reviewed by Jason Parker)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
142c6f45d8
Merged revisions 70677 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70677 | file | 2007-06-21 09:58:36 -0400 (Thu, 21 Jun 2007) | 2 lines
Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
21422fd78c
Removed an extraneous debug message I'd left in my previous commit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
3803718a8f
Main fix: Fixing a bug which caused VoiceMailMain to always report that
...
you had 0 messages when using IMAP storage.
Secondary fixes: adding locks to list access in several places
Big thanks to Russell Bryant for helping out with this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
a434fa668b
Undoing my last commit. I misread the code before.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
2265686e33
Cleaned up a section where there were two consecutive identical if statements.
...
Combined the bodies of the two into one if. I blame svn merging for this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
43658278ff
Merged revisions 69702 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines
To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install. (related to issue #9989 , patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69703 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Kevin P. Fleming
5fdba27ea2
Merged revisions 69392 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines
use ast_localtime() in every place localtime_r() was being used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69405 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
ab6fa304a4
Add support for the tw language in voicemail
...
(issue #9964 , ljmid)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
055d82cbce
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
d3bc0a518a
Merged revisions 69181 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r69181 | mmichelson | 2007-06-13 14:41:13 -0500 (Wed, 13 Jun 2007) | 5 lines
Contains a patch for fixing an encoding problem when using Outlook to view voicemail emails and attachments.
This fix has also been tested on Thunderbird, Evolution, Pine, and Mutt.
(Issue 9336, reported by marwick, patched by mutterc)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
9e0458e9f1
Completely remove all of the code related to jumping to priority n + 101. yay!
...
(issue #9926 , caio1982)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
68492b239c
Add an option for ControlPlayback to be able to start at an offset from
...
the beginning of the file. Also, add a channel variable that indicates
the location in the file where the Playback was stopped.
(closes issue #7655 , patch from sharkey)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
0ac5422486
Merged revisions 68326 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68326 | qwell | 2007-06-07 18:00:01 -0500 (Thu, 07 Jun 2007) | 5 lines
Fix incorrect French syntax of "old messages".
Request for feedback was sent to asterisk-dev mailing list, with little response.
Issue 9118, patch by junky.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
20e1e1ad3c
Merged revisions 68211 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r68211 | qwell | 2007-06-07 15:06:00 -0500 (Thu, 07 Jun 2007) | 12 lines
Merged revisions 68204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r68204 | qwell | 2007-06-07 15:02:50 -0500 (Thu, 07 Jun 2007) | 4 lines
Don't try to save voicemail greetings unless the user presses '1' to accept/save.
Issue 9904, patch by me.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
350a83fe98
Merged revisions 68198 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r68198 | mmichelson | 2007-06-07 14:47:42 -0500 (Thu, 07 Jun 2007) | 5 lines
Submitting a fix for Issue 8016. Added a check to make sure that greetings get stored properly.
(Issue 8016, reported by edhorton, patched by alamantia with modification by me. Thanks to Jason Parker
for the advice on this).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
9d05ff8ed5
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
c7303534a4
Please forgive this flood of tiny changes ... this will be cool when it works
...
how we want it to :) (testing mantis+svn)
(issue #9828 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
714e772ad4
Merged revisions 67804 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67804 | mmichelson | 2007-06-06 14:26:55 -0500 (Wed, 06 Jun 2007) | 10 lines
Fix for Issue 9810. There was a segfault under a specific set of circumstances:
1. VoiceMailMain was configured in the dialplan with an extension as its argument
2. A message was left for this mailbox
3. Tried to call VoiceMailMain but hung up before entering password.
This was fixed by checking that a pointer was non-null prior to trying to dereference it.
(Issue 9810, reported by xmarksthespot, patched by Corydon76 with modifications by me).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
8d35eeab0b
minor formatting change ... testing mantis/svn
...
(issue #9828 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
f94f4a4c91
Don't try to check the result of alloca ...
...
... testing mantis/svn stuff ...
(issue #9828 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
e156297c11
Fixing a crash wherein Asterisk would segfault when attempting to leave a voicemail when IMAP storage
...
was enabled. Though no bug was reported to the bugtracker, there was mention of this made as a note on
bug 9810 by edhorton.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
6a8be027d1
Merged revisions 67424 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r67424 | mmichelson | 2007-06-05 13:32:50 -0500 (Tue, 05 Jun 2007) | 5 lines
Fix for bug number 9786, wherein voicemails saved to IMAP storage using extensions other than gsm were
unable to be played over the phone. (Issue 9786, reporter: xmarksthespot, Patched by xmarksthe spot with revisions by me,
reviewed by Russell Bryant).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
7173f3378f
Merged revisions 66897 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66897 | mmichelson | 2007-06-01 16:09:30 -0500 (Fri, 01 Jun 2007) | 3 lines
Submitting a fix for voicemail with IMAP storage. Attachments with format specified as gsm were duplicated (i.e. two attachments) were left.
Thank you very much to xmarksthespot for submitting the patch that fixed this. (Issues 9787 and 8873, Reported by xmarksthespot and jerjer, patched by xmarksthespot)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Mark Michelson
684f320397
Merged revisions 66671 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r66671 | mmichelson | 2007-05-30 18:26:39 -0500 (Wed, 30 May 2007) | 2 lines
Fixed seg-faults when recording greetings in voicemail with IMAP enabled. (Issue No. 9734, reported by xmarksthespot, patched by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
432c8654f5
- Don't re-invent existing headers (some already existed in chan_sip)
...
- Rename command so taht module name comes first
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
54bccb409b
Add ListAllVoicemailUsers manager command. (issue #8112 reported by Tony Zhao)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66028 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
33215616d4
Don't check for MWI event subscribers before creating the MWI event in voicemail.
...
MWI events get cached, so go ahead and always generate them so the cache gets
populated.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
d3ee017682
Merged revisions 65501 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r65501 | russell | 2007-05-22 13:40:38 -0500 (Tue, 22 May 2007) | 3 lines
List res_smdi as a dependency for app_voicemail and chan_zap
(Thanks to mnicholson for pointing it out)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
bdd2b74ced
Issue #5930 - Remove dependencies on res_adsi.so - clwade
...
A big THANK YOU to clwade for this patch.
Minor modifications by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64921 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
13237f27c9
Merged revisions 64761 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r64761 | qwell | 2007-05-17 11:53:27 -0500 (Thu, 17 May 2007) | 12 lines
Merged revisions 64758 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r64758 | qwell | 2007-05-17 11:52:38 -0500 (Thu, 17 May 2007) | 4 lines
If we have a negative current message, we shouldn't go back even further...
Issue 9727.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
73b2f292bc
Merged revisions 64720 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64720 | file | 2007-05-17 09:48:44 -0400 (Thu, 17 May 2007) | 2 lines
Fix authuser support. (issue #9740 reported by xmarksthespot)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64721 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
2b12544f79
Merged revisions 63360 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r63360 | tilghman | 2007-05-08 01:22:37 -0500 (Tue, 08 May 2007) | 10 lines
Merged revisions 63359 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r63359 | tilghman | 2007-05-08 01:20:16 -0500 (Tue, 08 May 2007) | 2 lines
Issue 9527 - upon entering a folder, no message is selected (curmsg == -1), so deleting causes memory corruption (beyond bounds)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
2059f767dd
Merged revisions 62545 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r62545 | tilghman | 2007-05-01 16:34:43 -0500 (Tue, 01 May 2007) | 2 lines
Bug 9590 - Memory leaks around find_user() (found by rayjay, different fixes by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62546 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
b6b1bf3213
Merge changes from team/russell/events
...
This set of changes introduces a new generic event API for use within Asterisk.
I am still working on a way for events to be shared between servers, but this
part is ready and can already be used inside of Asterisk.
This set of changes introduces the first use of the API, as well. I have
restructured the way that MWI (message waiting indication) is handled. It is
now event based instead of polling based. For example, if there are a bunch
of SIP phones subscribed to mailboxes, then chan_sip will not have to
constantly poll the mailboxes for changes. app_voicemail will generate events
when changes occur.
See UPGRADE.txt and CHANGES for some more information on the effects of these
changes from the user perspective. For developer information, see the text in
include/asterisk/event.h.
As always, additional feedback is welcome on the asterisk-dev mailing list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62292 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
97d0661327
Merged revisions 61690 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61690 | russell | 2007-04-20 13:19:18 -0500 (Fri, 20 Apr 2007) | 4 lines
Fix the UpdateConfig manager action to properly treat "variables" and "objects"
differently (a=b versus a=>b).
(issue #9568 , reported by pari, patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
710a2e8ea6
Merged revisions 61645 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r61645 | russell | 2007-04-13 12:10:19 -0500 (Fri, 13 Apr 2007) | 3 lines
Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build
under dev-mode.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
13d44de57e
via 8119, a patch to allow voicemail data to be stored in RealTime.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61378 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Steve Murphy
ecaf781933
Merged revisions 60989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@61152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Jason Parker
02f03d9aeb
Merged revisions 60268 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r60268 | qwell | 2007-04-05 11:10:48 -0500 (Thu, 05 Apr 2007) | 13 lines
Merged revisions 60267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines
Just because we can't find the voicemail configuration file, doesn't
mean that the module failed to load. The user could be using realtime.
Issue #9473
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@60269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
a6d7b13160
Merged revisions 59724 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59724 | file | 2007-04-02 14:58:24 -0400 (Mon, 02 Apr 2007) | 10 lines
Merged revisions 59723 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines
Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
fcc7c358a5
Reduce the ridiculous number of variables used in the load_config() function by
...
just having one that can be re-used. There is no functional change here (that
is intentional, anyway!).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
e94dde199c
Add the ability for the "voicemail show users" CLI command to show users
...
configured in realtime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
185fc8711d
Merged revisions 59284 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59284 | tilghman | 2007-03-27 18:37:31 -0500 (Tue, 27 Mar 2007) | 10 lines
Merged revisions 59283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines
Oops
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
f7178b7bfe
Merged revisions 59281 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r59281 | tilghman | 2007-03-27 18:32:46 -0500 (Tue, 27 Mar 2007) | 10 lines
Merged revisions 59280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines
Fix a few remaining bad mmap(2) return values
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
1cf3a12047
Merged revisions 58931 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58931 | russell | 2007-03-15 17:25:12 -0500 (Thu, 15 Mar 2007) | 13 lines
Merge changes from svn/asterisk/team/russell/LaTeX_docs.
* Convert most of the doc directory into a single LaTeX formatted document
so that we can generate a PDF, HTML, or other formats from this
information.
* Add a CLI command to dump the application documentation into LaTeX format
which will only be include if the configure script is run with
--enable-dev-mode.
* The PDF turned out to be close to 1 MB, so it is not included. However, you
can simply run "make asterisk.pdf" to generate it yourself. We may include
it in release tarballs or have automatically generated ones on the web site,
but that has yet to be decided.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
96f7036c99
Merged revisions 58604 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r58604 | file | 2007-03-09 16:08:19 -0500 (Fri, 09 Mar 2007) | 2 lines
Fix spelling of unavailable in voicemail documentation. (issue #9248 reported by tensai)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
be92ac73b4
Merged revisions 57870 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r57870 | file | 2007-03-05 12:52:03 -0500 (Mon, 05 Mar 2007) | 10 lines
Merged revisions 57869 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57869 | file | 2007-03-05 12:49:18 -0500 (Mon, 05 Mar 2007) | 2 lines
Make create_dirpath use our standard for return values. -1 is failure, 0 is success. (issue #9205 reported by ballares)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Tilghman Lesher
7839f111a0
Merged revisions 57649 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r57649 | tilghman | 2007-03-03 00:45:00 -0600 (Sat, 03 Mar 2007) | 10 lines
Merged revisions 57648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007) | 2 lines
Memory leak of a list, if call recording was abandoned
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Olle Johansson
bc01e39174
Creating new doxygen macro "\extref" to create page that lists
...
external libraries and URLs to these. Please help me add these
references.
We might want to create a similar macro "\linuxpackage" to list
the needed Linux packages in popular distributions.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d94c511bb3
Merged revisions 56341 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r56341 | russell | 2007-02-23 11:58:57 -0600 (Fri, 23 Feb 2007) | 8 lines
The IMAP storage code uses the same code to build the email that is used when
voicemail is sent via email using something like sendmail. In the patch from
bug 8033 to fix various IMAP storage problems, the line endings in the email
file were changed in the code from "\n" to "\r\n". However, this breaks
sending regular voicemail to email. So, this change conditionally sets line
endings to "\r\n" only if IMAP_STORAGE is enabled.
(issue #9128 , patch by jarjarbinks, modified by me to not break IMAP storage)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
05a4b32f2a
Fix some compilation problems in app_voicemail. There was a parenthesis missing
...
in a function prototype, and "#elifdef" is not a valid preprocessor directive.
(issue #9122 , akohlsmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
80bab41671
Make filename on email follow subject message number, purely for cosmetic purposes for individuals like *cough* jsmith *cough*. (issue #9111 reported by sshah)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@56005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
ee980f4350
Merged revisions 55741 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r55741 | file | 2007-02-20 19:11:20 -0500 (Tue, 20 Feb 2007) | 2 lines
Better handle dropped IMAP connections. (issue #9054 reported by bsmithurst)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
fb626350c6
Merged revisions 55435 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r55435 | tilghman | 2007-02-19 12:11:48 -0600 (Mon, 19 Feb 2007) | 10 lines
Merged revisions 55434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r55434 | tilghman | 2007-02-19 12:09:09 -0600 (Mon, 19 Feb 2007) | 2 lines
forcename and forcegreetings options should check to see if the recording already exists
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6ad66e51ae
Allow both an external application and SMDI to do voicemail notification at the same time. (issue #8625 reported by lters)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
ec4eb25d8a
Formatting changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
74f31a51bc
add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
...
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
401133e544
More cleanups of app_voicemail
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
0f51f6577d
- add some notes, asking for help
...
- insert a few ast_strlen_zero
- Doxygen additions
- A few more spaces
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
e758ef09b3
Merged revisions 53779-53781 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r53779 | kpfleming | 2007-02-09 17:51:29 -0600 (Fri, 09 Feb 2007) | 2 lines
fix awk scripts to work when both MODULEINFO and MAKEOPTS are present in a source file
........
r53780 | kpfleming | 2007-02-09 17:51:41 -0600 (Fri, 09 Feb 2007) | 2 lines
add some inter-module dependencies
........
r53781 | kpfleming | 2007-02-09 17:52:44 -0600 (Fri, 09 Feb 2007) | 2 lines
another dependency
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
460f377cdb
Merged revisions 53530 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53530 | tilghman | 2007-02-08 07:40:02 -0600 (Thu, 08 Feb 2007) | 10 lines
Merged revisions 53529 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53529 | tilghman | 2007-02-08 07:36:10 -0600 (Thu, 08 Feb 2007) | 2 lines
Issue 9003 - If fullname is empty, quote() passes back "\""
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
e0944a6fc9
Resolve some warnings when not building with IMAP_STORAGE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
89bcae322d
Change vmstates list to use linked list macros.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
0fbb5a24e0
Code cleanup of IMAP storage support in app_voicemail.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6a7f296faf
Merged revisions 52572 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52572 | file | 2007-01-29 13:59:41 -0500 (Mon, 29 Jan 2007) | 2 lines
Use ast_calloc instead of malloc.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
6b02211f03
Merged revisions 52523 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52523 | file | 2007-01-29 12:33:19 -0500 (Mon, 29 Jan 2007) | 2 lines
Set quota information to 0 when creating a vm_state. (issue #8924 reported by neutrino88)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
174606b4bd
Merged revisions 52160 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r52160 | russell | 2007-01-24 19:37:16 -0600 (Wed, 24 Jan 2007) | 2 lines
By suggestion from kpfleming last week, change "vmpassword" to "vmsecret".
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@52161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
5d25265403
Merged revisions 51265 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51265 | qwell | 2007-01-18 16:50:23 -0600 (Thu, 18 Jan 2007) | 4 lines
Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
Issue 8832, patch(es) by tgrman
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
180eb47bcb
Merged revisions 51213 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51213 | file | 2007-01-17 19:48:55 -0500 (Wed, 17 Jan 2007) | 2 lines
Build the IMAP remote directory string better and properly. Fix an issue with encoding the GSM voicemail when attaching to the voicemail. (issue #8808 reported by akohlsmith)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51214 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
ce5d9ab661
Merged revisions 51186 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51186 | qwell | 2007-01-17 11:36:53 -0600 (Wed, 17 Jan 2007) | 2 lines
re-add "password" for realtime voicemail
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
87fad338e6
Merged revisions 51176 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51176 | kpfleming | 2007-01-16 19:29:12 -0600 (Tue, 16 Jan 2007) | 2 lines
a few more coding style cleanups and one bug fix (from AnthonyL)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
73bc822fa8
Merged revisions 51167 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51167 | qwell | 2007-01-16 16:50:19 -0600 (Tue, 16 Jan 2007) | 6 lines
Fix an issue with IMAP storage and realtime voicemail.
Also update the vmdb sql script for IMAP specific options.
Issue 8819, initial patches by bsmithurst (slightly modified by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
8cda34b5fc
Merged revisions 51159 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r51159 | tilghman | 2007-01-16 15:28:39 -0600 (Tue, 16 Jan 2007) | 10 lines
Merged revisions 51158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r51158 | tilghman | 2007-01-16 15:26:06 -0600 (Tue, 16 Jan 2007) | 2 lines
Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
8bd73ec01b
remove pointless DEBUG message (watch those patch merges, people!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
7dd96f284b
Merged revisions 51150 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
........
r51150 | mogorman | 2007-01-16 11:46:12 -0600 (Tue, 16 Jan 2007) | 2 lines
minor things i missed before i get jumped on
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
a4640ee9d8
Patch allows for changing voicemail password in users.conf from voicemail main, written by AnthonyL bug #8436
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51031 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
da9d86bfc2
Merged revisions 50957 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
................
r50957 | mogorman | 2007-01-15 15:08:07 -0600 (Mon, 15 Jan 2007) | 12 lines
Merged revisions 50946 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r50946 | mogorman | 2007-01-15 14:44:53 -0600 (Mon, 15 Jan 2007) | 4 lines
Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
3b3a66e54b
Merged revisions 50151 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r50151 | tilghman | 2007-01-09 07:40:45 -0600 (Tue, 09 Jan 2007) | 12 lines
Merged revisions 50150 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r50150 | tilghman | 2007-01-09 07:30:04 -0600 (Tue, 09 Jan 2007) | 4 lines
The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
3a98c6af87
Merged revisions 50098 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r50098 | qwell | 2007-01-08 17:39:12 -0600 (Mon, 08 Jan 2007) | 4 lines
Fix an issue with voicemail and users.conf, where it wouldn't ever parse a password, since it was using "secret" instead of "password"
Issue 8761, reported by and patch suggestion from ssokol.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
cd73a483f1
const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
d618580449
Merged revisions 49459 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
................
r49459 | mogorman | 2007-01-04 12:11:19 -0600 (Thu, 04 Jan 2007) | 10 lines
Merged revisions 49447 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49447 | mogorman | 2007-01-04 11:45:16 -0600 (Thu, 04 Jan 2007) | 2 lines
converted a lot of 256 to PATH_MAX and some white space fixes.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
29434b4b93
Merged revisions 49413 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
................
r49413 | mogorman | 2007-01-04 10:50:56 -0600 (Thu, 04 Jan 2007) | 11 lines
Merged revisions 49412 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49412 | mogorman | 2007-01-04 10:48:43 -0600 (Thu, 04 Jan 2007) | 3 lines
good catch russell sorry i missed that.
fix magic number with proper sizeof
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
aa2e61f0de
Merged revisions 49355 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.4
................
r49355 | mogorman | 2007-01-03 17:32:03 -0600 (Wed, 03 Jan 2007) | 14 lines
Merged revisions 49354 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2
........
r49354 | mogorman | 2007-01-03 17:22:47 -0600 (Wed, 03 Jan 2007) | 6 lines
When using ODBC_STORAGE VoicemailMain doesn't create the
subdirectories for a mailbox such as the INBOX directory.
this patch solves that problem, was written by anthony
be-125
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
94d71436ec
1. Rename 'maxmessage' to 'maxsecs' to differentiate from 'maxmsg'.
...
2. Rename 'minmessage' to 'minsecs' for parity.
3. Make 'maxsecs' a per-user option, in addition to global.
(Issue # 8624)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
7b338004bf
a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e54265a914
Merged revisions 48637 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48637 | file | 2006-12-19 21:56:09 -0500 (Tue, 19 Dec 2006) | 2 lines
vms doesn't exist on non-IMAP storage builds.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
75b125b96e
Merged revisions 48596 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48596 | file | 2006-12-19 18:04:30 -0500 (Tue, 19 Dec 2006) | 2 lines
Pass 'vms' pointer to record_and_review so it is then passed to the IMAP store file function. (issue #8614 reported by punknow)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
00a02844ba
Merged revisions 48401 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48401 | file | 2006-12-11 23:13:48 -0500 (Mon, 11 Dec 2006) | 2 lines
Use S_OR in my previous app_voicemail. This is the way it should have been done.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c393e8f664
Merged revisions 48391 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48391 | file | 2006-12-11 16:31:23 -0500 (Mon, 11 Dec 2006) | 2 lines
Return non-existant callerid handling to that which it was before. In 1.4 and trunk callerid can be allocated but not have any contents so we have to use ast_strlen_zero before passing it to the relevant functions. (issue #8567 reported by pabelanger)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5824af9cbc
Resolve some pointer signedness compiler warnings in app_osplookup, and
...
constify a bunch of usage strings for CLI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
02a66bee1d
Merged revisions 48254 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48254 | tilghman | 2006-12-04 19:41:02 -0600 (Mon, 04 Dec 2006) | 2 lines
Oops, forgot to release the odbc handle
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
1256ac0519
Merged revisions 48252 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48252 | tilghman | 2006-12-04 19:34:34 -0600 (Mon, 04 Dec 2006) | 14 lines
Merged revisions 48251 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48251 | tilghman | 2006-12-04 19:26:08 -0600 (Mon, 04 Dec 2006) | 6 lines
If the recording in the database is too large, it will fail to retrieve with
an mmap error. Not too sure why this doesn't happen when we put it in the
database, also, but since that doesn't seem to be broken, I'm not going to fix
it (at least until someone reports it). Solution is to ask for the file in
smaller chunks. (Bug 8385)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
05261e30e9
Merged revisions 48248 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48248 | qwell | 2006-12-04 15:48:41 -0600 (Mon, 04 Dec 2006) | 2 lines
Fix an issue which didn't allow unavail/greet/busy/etc messages from being saved into ODBC (and probably IMAP).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1cc4009bc6
Merged revisions 48115 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48115 | file | 2006-11-29 16:05:17 -0500 (Wed, 29 Nov 2006) | 2 lines
Use MAILTMPLEN instead of sizeof in mm_login. (issue #8420 reported by slimey)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
62157d2839
Merged revisions 48101 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r48101 | file | 2006-11-28 23:26:53 -0500 (Tue, 28 Nov 2006) | 2 lines
Don't crash if the mailstream was not created.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
8017bc6e6f
Merged revisions 48054 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r48054 | file | 2006-11-27 13:06:50 -0500 (Mon, 27 Nov 2006) | 10 lines
Merged revisions 48053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r48053 | file | 2006-11-27 13:03:57 -0500 (Mon, 27 Nov 2006) | 2 lines
Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e78c50a201
Merged revisions 47864-47865 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47864 | tilghman | 2006-11-20 14:01:58 -0600 (Mon, 20 Nov 2006) | 2 lines
Oops, merge missed release of odbc object
........
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
6dcb17baaf
This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47821 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
54d44e9b00
Add ability to notify an external application/script that the voicemail password was,
...
while also still changing the password "internally".
Issue 7371, initial patch by pdunkel, with rewrite/config comments by me.
Additional modifications (yay bitmask) by pdunkel.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
3fee20d25d
Merged revisions 47709 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47709 | tilghman | 2006-11-15 15:56:55 -0600 (Wed, 15 Nov 2006) | 2 lines
Fix ODBC_STORAGE for when context is NULL
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7fe1a6071c
Merged revisions 47693 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47693 | kpfleming | 2006-11-15 14:27:38 -0600 (Wed, 15 Nov 2006) | 12 lines
Merged revisions 47677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47677 | kpfleming | 2006-11-15 11:56:42 -0600 (Wed, 15 Nov 2006) | 4 lines
ensure that message duration is included in email notifications for forwarded messages (BE-96, fix by me after corydon used his clue-bat on me)
ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96)
remove prototype for API call that does not exist
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
c0dbe8931a
Merged revisions 47632 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47632 | file | 2006-11-14 17:17:16 -0500 (Tue, 14 Nov 2006) | 10 lines
Merged revisions 47631 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47631 | file | 2006-11-14 17:15:10 -0500 (Tue, 14 Nov 2006) | 2 lines
Update copyright information in the ADSI logo blob.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
1e41f1d68b
Merged revisions 47621 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47621 | tilghman | 2006-11-14 12:54:40 -0600 (Tue, 14 Nov 2006) | 3 lines
Conversion of res_odbc API to include ast_ prefix did not completely transition app_voicemail
when ODBC_STORAGE is used (reported on IRC by caio1982, not in bugtracker)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
1991814a38
Merged revisions 47398 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47398 | file | 2006-11-09 17:32:30 -0500 (Thu, 09 Nov 2006) | 2 lines
Do conversion in a more easier to read and working way for \r, \n, and \t. (issue #8324 reported by johnlange)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47399 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
36793b730c
Merged revisions 47391 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47391 | russell | 2006-11-09 16:26:27 -0500 (Thu, 09 Nov 2006) | 7 lines
Work around an issue that caused menuselect to display a bogus description for
app_voicemail and chan_zap. These modules use some preprocessor directives to
determine what it will report to Asterisk as its description. However, the way
we extract this information from the source files for menuselect is not smart
enough to figure this out.
(issue #8326 , #8328 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47392 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
908f176cf3
A fair number of changes for the sake of bug 7506
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
f9517eb385
rge overhaul to voicemail imap support. Allows support for more imap servers,
...
also a better implementation of several parts of the original work.
patch provided by 8033 with major upgrades. minor differences from 1.4 patch do to
changes in app_voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e0ff47fe21
One has to create the path and filename in order to copy a file there. (issue #8278 reported by davebath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
10875731ec
Merged revisions 47051 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
a89a16eb41
This introduces Brazilian Portuguese via 7663
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
8a2e564df5
Issue 8246 Doxygen updates (kshumard)
...
THANK YOU!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
a58a4fb8ac
Spelling fix.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4a523b1b2d
Add the ability to customize some of the prompts used within the voicemail
...
application by configuring them in voicemail.conf (issue #7415 , patch by
fkasumovic, with some fixes and documentation updates by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
0ca6a42d7e
fix various spelling mistakes in comments (issue #8237 , jmls)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
749029de38
Merged revisions 46200 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r46200 | kpfleming | 2006-10-25 09:32:08 -0500 (Wed, 25 Oct 2006) | 2 lines
apparently developers are still not aware that they should be use ast_copy_string instead of strncpy... fix up many more users, and fix some bugs in the process
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
9565f72ad3
Fix indenting a bit (issue #8082 reported by selsky)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
ae8cc3e18b
bug #8076 check option_debug before printing to debug channel.
...
patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
6bd618e1a1
Remove locking conflict
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44033 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7a336e9f9d
Finish up last commit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43829 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
7b0ba1bc7e
Do the directory walk dance instead of repeated stat calls as it seems to be faster (issue #7507 reported by Corydon76)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43827 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
777d5ecf6a
Merged revisions 43816 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43816 | tilghman | 2006-09-27 15:21:54 -0500 (Wed, 27 Sep 2006) | 10 lines
Merged revisions 43815 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43815 | tilghman | 2006-09-27 15:20:35 -0500 (Wed, 27 Sep 2006) | 2 lines
Avoid inability to lock directory log message by creating the directory ahead of time. (Issue 7631)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
fb215668ae
remote an unused buffer in mm_login() (issue #8038 , selsky)
...
In passing, I have cleaned up some formatting to better comply with our
guidelines. I have also changed one place to use S_OR(), and a couple of
places to use ast_strlen_zero() as appropriate.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
14852b8d3e
Merged revisions 43700 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43700 | russell | 2006-09-26 16:24:39 -0400 (Tue, 26 Sep 2006) | 14 lines
Merged revisions 43699 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43699 | russell | 2006-09-26 16:23:15 -0400 (Tue, 26 Sep 2006) | 6 lines
When parsing the sections of voicemail.conf that contain mailbox definitions,
don't introduce a length limit on the definition by using a 256 byte temporary
storage buffer. Instead, make the temporary buffer just as big as it needs
to be to hold the entire mailbox definition.
(fixes BE-68)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
ec83b11183
MailboxExists should be a dialplan function, not an application (Issue 7503)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
5a15d3ed5a
Merged revisions 43642 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43642 | tilghman | 2006-09-25 17:07:44 -0500 (Mon, 25 Sep 2006) | 2 lines
Should have moved these lines up in the merge, instead of removing them
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
2f3eab049b
Merged revisions 43640 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43640 | tilghman | 2006-09-25 17:04:47 -0500 (Mon, 25 Sep 2006) | 12 lines
Merged revisions 43634 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43634 | tilghman | 2006-09-25 16:14:41 -0500 (Mon, 25 Sep 2006) | 4 lines
Two bugs when forwarding voicemail (Issue 7824):
1) delete=yes was ignored
2) maxmessages was ignored
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
0b74986565
More removal of deprecated stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
70af28270d
Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
41d3e99e28
move ADSI functionality into ast_ namespace
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
33ddb53663
Various updates from PCadach's chan_h323-live branch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
e2253df3ec
Merged revisions 43248 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43248 | tilghman | 2006-09-19 07:28:55 -0500 (Tue, 19 Sep 2006) | 2 lines
cid is passed to a destructive function; thus a copy is needed (issue 7961)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fcb999c01c
merge qwell's CLI verbification work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
c2c4f86c72
merge markster's usersconf branch with some slight changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
25b0e3a148
use strcpy instead of sprintf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matt O'Gorman
a3a8442e5c
i dont know how msg_cfg got moved around but its all good again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
Matt O'Gorman
36935ffc42
protect curhst and curusr
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Matt O'Gorman
c13e44eacb
whitespace clean up
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Tilghman Lesher
954b0dd624
Whitespace fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37604 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Kevin P. Fleming
bc9ed9f5c4
various minor fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
Tilghman Lesher
a58afaa03b
Whitespace fixes only.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Russell Bryant
739385e761
remove the WITH_SMDI define
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Tilghman Lesher
e3f569532f
Deprecate prefixed options in voicemail
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Luigi Rizzo
62712ea668
constification and code simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
Olle Johansson
6843c5ddc6
Issue 6919 - clarify error message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
19 years ago
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
20 years ago
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
20 years ago
Olle Johansson
dd5222fd30
Update to trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
Olle Johansson
77752fc8c5
Remove javadoc doxygen format...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4414f45393
on this pass, only remove duplicate log messages
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
9fa6eb5e07
revert my pass through the tree to remove checks of the result of ast_strdupa
...
(revisions 8378 through 8381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
7ad681adc8
remove lots of useless checks of the result of ast_strdupa
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
6f71e1178e
constify arguments in more places where strings should not be modified (issue #6286 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
9932a6415a
make voicemail files group writable and uses a
...
nicer function for creating dirs as described in
5929
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
8637b23569
More memory wrapper and cleanup work. #6226 w/one very minor compile fix mod in app_rpt.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8044 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
bce06eff5b
Fix typos that caused voicemail not to compile.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
ac2732ef4e
I will never touch VM again...
...
thanks qwell for spotting mistakes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
791370e026
some error checking added into g and a option
...
if there is no parens.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
b86c380a58
More cosmetic changes. thanks qwell and everyone
...
else.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
0228cf5bc0
Minor revisions from bug 6090
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
57a8394f6c
fix breakage from new feature committed in r7995
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8019 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
deae1cbc3f
New memory wrapper changes.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
BJ Weschke
0c41704c68
Use argument macro in app_voicemail #6221
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
1db503ade6
Merged revisions 7999 via svnmerge from
...
/branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8000 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
f693a606f8
typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
672f6aa422
Added automatic folder feature described in 6090
...
with bounds checking.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
5ce65af66e
fix temp greetings with odbc storage (issue #6078 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7978 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
bdc14f3c84
Merged revisions 7955 via svnmerge from
...
/branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
10862cd151
fix breakage introduced in revision 7863
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f5678d89d4
Fix segfault in greek syntax (bug #6142 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
5c18154617
normalize a loop and avoid multiple strlen calls when completing voicemail users
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
7fae5bb20e
Bug 5382 - Allow VM_CATEGORY in voicemail emails
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
eeb58dcd81
Bug 5727 - reduce duplicate code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
2f9eb968e7
Merged revisions 7601 via svnmerge from
...
/branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
fcbe928353
Merged revisions 7404,7406,7425,7427,7429-7430 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7404 | tilghman | 2005-12-08 18:32:08 -0500 (Thu, 08 Dec 2005) | 2 lines
Documenting two keywords that were previously missing
........
r7406 | tilghman | 2005-12-08 18:45:36 -0500 (Thu, 08 Dec 2005) | 2 lines
Bug 5960
........
r7425 | bweschke | 2005-12-10 13:10:50 -0500 (Sat, 10 Dec 2005) | 4 lines
Bug #5877
Make sure the digit string from E&M wink DNIS collection is properly null terminated as it grows.
........
r7427 | tilghman | 2005-12-10 20:15:15 -0500 (Sat, 10 Dec 2005) | 2 lines
Bug 5967
........
r7429 | tilghman | 2005-12-10 20:26:51 -0500 (Sat, 10 Dec 2005) | 2 lines
Bug 5965 - major bug in AST_LIST_REMOVE
........
r7430 | russell | 2005-12-11 01:08:56 -0500 (Sun, 11 Dec 2005) | 2 lines
silence a couple of compiler warnings about pointer signedness
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
5152e1989f
Bug 5960
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
ec05153ac4
convert most of the option_*'s to a single ast_flags structure. Also, fix some
...
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Tilghman Lesher
357c38d177
Merging from 1.2, bug 5925 - app_voicemail should check for the callerid it sets for unknown
...
Also, remove unnecessary res checks (initialized to 0; never set)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0242a69b3f
Merged revisions 7265-7266,7268-7275 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines
Changing bug report address to the Asterisk issue tracker
........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines
Makefile 'update' target now supports updating from Subversion repositories (issue #5875 )
remove support for 'patches' subdirectory, it's no longer useful
........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines
ensure channel's scheduling context is freed (issue #5788 )
........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines
don't block waiting for the Festival server forever when it goes away (issue #5882 )
........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines
allow variables to exist on both 'halves' of the Local channel (issue #5810 )
........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines
protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879 )
........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines
properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870 )
reformat password changing code to conform to coding guidelines (issue #5870 )
........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines
allow previous context-searching behavior to be used if desired (issue #5899 )
........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines
inherit channel variables into channels created by Page() application (issue #5888 )
........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines
Bug #5907 . Improve SIP INFO DTMF debugging output. (1.2 & Trunk)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
1f538ad219
issue #5887
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
e38a91b45a
issue #5829
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
e9ae7a8be1
issue #5774
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Jeremy McNamara
3dc12025c8
Make voicemail not terminate asterisk if no config file
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
52da8d9862
issue #5704
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7085 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3b8c82543d
issue #5718
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
51b54236de
issue #5721
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7081 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
64aaaa1f4a
issue #5663 again
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7080 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
6f45949ca1
issue #5663
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
00de2bc78b
clean up descriptions for the voicemail applications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7075 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
52f25ae960
issue #5649
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a0a9769616
issue #5648
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f09c6bc78e
application doc update
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3bd298f2dd
alphabetize option lists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
4600902059
Handle ODBC forwarding properly (bug #5606 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
426360e389
major update to arg/option parsing APIs and documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
eae43386f0
when going through new user setup, don't change the password if they don't
...
match. Also, allow 3 tries before bailing out. (issue #5495 , different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6922 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
261e51b03a
handle comments containing what appear to be context names during voicemail.conf updates better (issue #5385 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
551ac9af04
don't use 'rowcount' after SELECT statements, since the ODBC API does not say it is allowed (issue #5083 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
5187de9ab6
remove unnecessary checks before calls to ast_strlen_zero
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4aa7912057
Massive cleanups to applications for LOCAL_USER handling and some other things.
...
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an
application. An exception is if there is some *fast* setup code that might
halt the execution of the application, such as checking to see if an argument
exists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
29829640bf
it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
cc5f36d139
ensure that message envelopes are retrieved from ODBC storage when advanced options menu is used (issue #5393 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
43e0f52600
correct logic errors (issue #5258 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7470ddb6b2
fix copy-and-paste error
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f6dff3608d
allow channel receive gain to be adjusted while recording messages/greetings in voicemail (workaround for issue #2023 from the ancient past)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Josh Roberson
f406fe76a8
Set filaneme BEFORE we return from open_mailbox() if we don't have positive message count (Bug #5175 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e0f02b46f1
convert a bunch of apps to use ast_goto_if_exists() (issue #5138 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
40c5fa88a4
eliminate signedness warnings (issue #5129 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
d1ec6c80d1
fix mem leak from not destrying config (issue #5048 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
37930961e1
add optional 'extended ODBC storage' mode (issue #4403 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
eb805b409f
do expensive 'next message number' calculation before playing sounds (issue #4955 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c9287324ea
make pager messages configurable (issue #4829 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
69f9c479e7
add 'restart' character to ast_control_playback function and ControlPlayback() application (issue #4693 )
...
rework app_controlplayback.c to take into account all Asterisk 1.2 coding style requirements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
71fcf66d1e
Fix password change bug (bug #4976 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
e0b57f1fae
Fix voicemail crash (bug #4800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5d350297b6
Make sure we don't close a mailbox if we didn't open one (bug #4800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
8efba1c127
Minor voicemail fixup (related to 4800, but not the fix yet)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
716a669818
Remove per-context maxmsg which should never have made it in (bug #4843 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3db82d8597
add OGG/Vorbis file format support (bug #4296 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
dcfabce0e4
restore count_messages for ODBC storage to proper behavior (bug #4711 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
86e17a7487
clean up maxmsg parsing, and ensure default applies to Realtime voicemail users
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9a7a5d5623
fix up lock breakage from bug #4245
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4f64fe03f0
get rid of compiler warning (bug #4682 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7276c684c4
clean up and reorganize vm_intro_it (bug #4683 , with formatting changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6105 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c79cc2fc6
correct arguments being passed to external notify function (bug #4595 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
99c29d7053
support a configurable number of mailboxes per folder (bug #4229 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
e2d42d2551
update the password in memory as well when using externpass (bug #4602 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
16c5ee5d56
fix voicemail path locking problems (bug #4245 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3cfa36143e
properly handle the return of the rowcount from ast_update_realtime (bug #4452 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
bebab80538
ast_copy_string conversion
...
replace unnecessary length-limited copies with direct copies
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
64cf50c8e1
allow user-configurable date formats in voicemail message body (bug #4554 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
34adab5d08
support Swedish grammar for voicemail message counts (bug #4227 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c0b1e88e8a
the last round of file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4f299de252
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
5477aca22d
remove extra LOCAL_USER_REMOVE (bug #4308 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1eecc81838
clean up message duration writing code (bug #4285 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
15f3cb303f
support Swedish and Norwegian mailbox intros (bug #4227 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ed223f7f90
add silent option to VMAuthenticate application (bug #4157 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matthew Fredrickson
2bdce17b5a
Fix to bug 4118
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
00bcbaaa05
Fix gethostname calls (bug #4198 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
8634ef9e4a
don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago