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
2005-10-19 18:19:02 +00:00
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
2005-10-18 22:52:21 +00:00
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
2005-10-14 00:08:24 +00:00
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
2005-09-25 20:39:19 +00:00
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
2005-09-24 22:56:41 +00:00
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
2005-09-14 20:46:50 +00:00
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
2005-09-14 20:00:54 +00:00
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
2005-09-09 21:13:42 +00:00
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
2005-09-07 19:13:00 +00:00
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
2005-09-07 18:55:03 +00:00
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
2005-08-29 16:08:53 +00:00
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
2005-08-25 03:15:18 +00:00
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
2005-08-23 02:01:37 +00:00
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
2005-08-22 22:43:47 +00:00
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
2005-08-22 19:06:42 +00:00
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
2005-08-17 15:49:34 +00:00
Mark Spencer
e0b57f1fae
Fix voicemail crash (bug #4800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 02:45:30 +00:00
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
2005-08-01 11:09:03 +00:00
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
2005-08-01 11:03:09 +00:00
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
2005-07-28 18:14:13 +00:00
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
2005-07-20 00:25:54 +00:00
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
2005-07-15 23:00:47 +00:00
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
2005-07-15 00:27:41 +00:00
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
2005-07-15 00:18:58 +00:00
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
2005-07-13 19:27:09 +00:00
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
2005-07-12 15:22:55 +00:00
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
2005-07-12 15:10:31 +00:00
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
2005-07-12 02:57:50 +00:00
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
2005-07-12 02:53:56 +00:00
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
2005-07-12 01:30:55 +00:00
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
2005-07-12 01:04:54 +00:00
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
2005-07-11 23:13:11 +00:00
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
2005-07-10 23:49:57 +00:00
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
2005-07-07 23:17:22 +00:00
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
2005-07-07 22:56:49 +00:00
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
2005-06-23 17:44:20 +00:00
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
2005-06-06 22:39:32 +00:00
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
2005-06-06 03:04:58 +00:00
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
2005-05-17 17:19:53 +00:00
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
2005-05-16 13:36:35 +00:00
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
2005-05-15 17:03:08 +00:00
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
2005-05-15 05:23:05 +00:00
Matthew Fredrickson
2bdce17b5a
Fix to bug 4118
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-10 19:05:50 +00:00
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
2005-05-08 16:44:25 +00:00
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
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
57b1bfcc73
support old single-column options for realtime voicemail (bug #4080 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 01:37:46 +00:00
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Kevin P. Fleming
30de08c187
support postfix options in voicemail apps (prefix options still supported using old syntax) (bug #4007 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 05:22:51 +00:00
Kevin P. Fleming
4597c9a9e8
add VM_MESSAGEFILE channel variable to hold path to message left by caller (bug #3926 , plus doc update)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-02 01:08:55 +00:00
Mark Spencer
03da4fbf3b
Add VM_CONTEXT for substitution (bug #3872 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27 22:13:20 +00:00