Commit graph

6766 commits

Author SHA1 Message Date
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
2006-01-13 22:05:46 +00:00
Matt O'Gorman
169eeb8599 Added forward context option from 5497
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 19:09:05 +00:00
Russell Bryant
55c8fc92a9 Various cleanups from comments in an email from Luigi Rizzo. Thank you!
- Use a cleaner syntax for declaring the allocation macros
- Fix return value for ast_strdup/ast_strndup
- remove safe_strdup from app_macro, since ast_strup does the same thing
- fix a place in app_queue where ast_calloc+strncpy was used instead of
  ast_strdup.  If you are helping out with these conversions, please watch out
  for other places where this is done.
- add a note to the coding guidelines about the fix to app_queue


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 18:38:55 +00:00
Matt O'Gorman
3928ebd74f Made chan_agent code parsing more robust and
implemented new macro code. from 6228.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 18:30:49 +00:00
BJ Weschke
1874f21ff8 Implement the autologoffunavail option in chan_agent (#6038 with some minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 18:23:30 +00:00
Matt O'Gorman
130ce286ba added two new features to meetme, autofill and
autopause.  thanks twisted from 5577


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:39:56 +00:00
BJ Weschke
21796e2569 Another patch against this code (the right one now) to deal with cyclic ranges. #6230
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:35:12 +00:00
BJ Weschke
46b6488927 Address the condition where X-ClientCode could be NULL or an empty string - from a -dev posting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:28:22 +00:00
Matt O'Gorman
2aaffe48e4 allow app_directed_pickup to try to pickup
multiple channels at the same time. however it
does not work in cases where dial was called
with multiple devices.  bug 5694.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8057 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 17:02:15 +00:00
BJ Weschke
34ba77e702 Range should be inclusive, not exclusive, of the end of the range.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8056 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 16:01:40 +00:00
Tilghman Lesher
caa0de6e99 Somebody complained the that length of the dah wasn't quite up to spec...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 07:14:42 +00:00
Matt O'Gorman
1a5aa53fc9 adding more output for shutdown. as per 6102
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 06:49:23 +00:00
Matt O'Gorman
ea06844b19 added some minor changes from bug 6046 thanks ppyy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 06:43:27 +00:00
Russell Bryant
cd28843c19 fix spelling errors (issue #6227)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8048 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 06:11:41 +00:00
BJ Weschke
f6c5e65266 More memory wrapper cleanup. #6224
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 03:34:31 +00:00
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
2006-01-13 03:25:23 +00:00
Matt O'Gorman
8d4ee3882a forgot to take out createlink sample along with
other part.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 02:34:10 +00:00
Tilghman Lesher
79d3456c50 Bug 6223 - Remove unnecessary header that caused FreeBSD not to compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8038 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 21:18:46 +00:00
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
2006-01-12 21:12:25 +00:00
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
2006-01-12 20:04:52 +00:00
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
2006-01-12 19:45:38 +00:00
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
2006-01-12 19:28:47 +00:00
Matt O'Gorman
d6638d5262 Oops... need to keep my trunk folder clean...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:15:20 +00:00
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
2006-01-12 19:09:36 +00:00
Matt O'Gorman
1dc0312d01 Added option for limiting a user from logging in
as multiple agents at same time. bug 6046 thanks
ppyy


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:07:18 +00:00
BJ Weschke
a44bc3a0d7 Remove an unneccessary unlock and do away with the error msg about not being able to unlock the lock. #6201
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 19:01:35 +00:00
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
2006-01-12 18:35:03 +00:00
Mark Spencer
af155f9c28 Remove unnecessary (but unexecutable) unlocks, cleanup code (bug #6220)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 17:34:10 +00:00
Mark Spencer
7b6c46a6d4 Merge rizzo's range optimizations (bug #6101)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 17:27:38 +00:00
Matthew Fredrickson
1437a7255d More changes to make t.38 support work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 17:14:58 +00:00
Matthew Fredrickson
0f5e4e476a Changes to add udptl to asterisk (preliminary merging of the t.38 patch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 17:12:12 +00:00
Matt O'Gorman
37b04c33cb As we no longer have chan_modem this file is not used
either thanks rizzo in refrence to 6217


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 16:15:01 +00:00
BJ Weschke
aaa4c9aecc More new memory wrapper work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8012 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 16:08:06 +00:00
BJ Weschke
e825a748cf More new memory wrapper work and initializing some memory allocations to zero where they weren't before.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 16:00:13 +00:00
Matt O'Gorman
57fe2e8ea2 removed unused variable and config parsing for it
as to bug 6219


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 16:00:04 +00:00
BJ Weschke
deae1cbc3f New memory wrapper changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 15:51:13 +00:00
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
2006-01-12 15:28:01 +00:00
BJ Weschke
5f542e14cc Use argument macro in app_dictate #6222
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 15:11:49 +00:00
Matt O'Gorman
64f01df137 added page macro examples from 6077 with minor typo
fixes.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 06:43:24 +00:00
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
2006-01-12 06:15:56 +00:00
Tilghman Lesher
35dc7e7ff9 Bug 6213 - Morse code app
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 05:47:30 +00:00
Russell Bryant
f693a606f8 typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7996 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12 02:35:45 +00:00
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
2006-01-12 02:20:19 +00:00
Russell Bryant
2eb7eecdd0 conversions to memory allocation wrappers (issue #6210)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 22:41:34 +00:00
Matt O'Gorman
f5b108ac99 Added macros from 6198 and 6203. also added better
error reporting in func_cut


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 19:52:29 +00:00
Russell Bryant
69c4cefcd4 fix incorrect return value (issue #6202)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 19:23:16 +00:00
Russell Bryant
0318a4b180 Merged revisions 7986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7986 | russell | 2006-01-11 14:08:53 -0500 (Wed, 11 Jan 2006) | 2 lines

move variable to correct scope (issue #6197)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 19:13:33 +00:00
Russell Bryant
2dc13eb912 replace malloc+memset with a call to ast_calloc, also removing the error
message that is no longer necessary (issue #6205)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 18:40:42 +00:00
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
2006-01-11 07:21:16 +00:00
Russell Bryant
da684d64b4 block 7976
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 07:19:52 +00:00