dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

578 Commits

Author SHA1 Message Date
file 989829904e Fix indenting a bit (issue #8082 reported by selsky)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44516 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-05 20:13:04 +00:00
mogorman 4a1aaf52ae bug #8076 check option_debug before printing to debug channel.
patch provided in bugnote, with minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03 15:53:07 +00:00
tilghman a91dc6e027 Remove locking conflict
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44033 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29 20:16:30 +00:00
file 8d39395066 Finish up last commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43829 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 21:41:25 +00:00
file 92cbbd56dc Do the directory walk dance instead of repeated stat calls as it seems to be faster (issue #7507 reported by Corydon76)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43827 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 21:39:12 +00:00
tilghman 63d14e3b63 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: http://svn.digium.com/svn/asterisk/trunk@43817 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 20:27:03 +00:00
russell 7c564986b9 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: http://svn.digium.com/svn/asterisk/trunk@43754 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-27 04:28:37 +00:00
russell c7f0265b5f 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: http://svn.digium.com/svn/asterisk/trunk@43701 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26 20:26:00 +00:00
tilghman 4dc96c2df6 MailboxExists should be a dialplan function, not an application (Issue 7503)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43659 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26 16:56:07 +00:00
tilghman b3fdd459a0 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: http://svn.digium.com/svn/asterisk/trunk@43643 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-25 22:09:13 +00:00
tilghman b4db071490 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: http://svn.digium.com/svn/asterisk/trunk@43641 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-25 22:06:26 +00:00
tilghman 3843e797c4 More removal of deprecated stuff
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43446 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 20:23:32 +00:00
tilghman e8ef9fd3ba Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 20:40:39 +00:00
kpfleming e0ebc65f74 move ADSI functionality into ast_ namespace
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43309 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20 04:34:51 +00:00
mattf b759835a90 Various updates from PCadach's chan_h323-live branch
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43294 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 21:07:49 +00:00
tilghman 50f9b9ec83 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: http://svn.digium.com/svn/asterisk/trunk@43249 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-19 12:30:17 +00:00
kpfleming 5aacb6a82d merge qwell's CLI verbification work
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00
kpfleming 5c0e56df21 merge markster's usersconf branch with some slight changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-16 23:53:58 +00:00
russell 6f46f16a24 use strcpy instead of sprintf
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42858 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-12 20:33:09 +00:00
mogorman 6dc84efcbc i dont know how msg_cfg got moved around but its all good again
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-12 17:45:42 +00:00
mogorman a95c71ff6d Get rid of ugly tmp directory, although I really should
fix the way imap accesses its temporary voice files.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42491 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08 22:54:28 +00:00
file dad1faf4ae Destroy msg_cfg after it's used, not before (issue #7618 reported by wvolz with minor mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42373 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-08 02:00:45 +00:00
mogorman a703f62dbf protect curhst and curusr
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 17:05:51 +00:00
mogorman 029f6738e4 patch to fix several things wrong with voicemail
imap storage.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42259 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 16:14:53 +00:00
mogorman de98d9b8ba get rid of some useless debug messages and raise debug level of others
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41765 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 22:03:33 +00:00
mogorman 3312f939f3 more staticness, and syntax cleaning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41749 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 19:23:07 +00:00
mogorman e38e54bae4 whitespace clean up
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41715 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-01 17:20:48 +00:00
kpfleming 22f86d46f2 could have sworn i committed this change already...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:46:47 +00:00
kpfleming 8b0c007ad9 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: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21 02:11:39 +00:00
qwell b7a22c9210 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: http://svn.digium.com/svn/asterisk/trunk@40426 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-19 00:53:54 +00:00
mogorman e6e061dfca changes to configure to support older c-client than the
2004 version.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-17 22:39:48 +00:00
mogorman fe5c8c9b83 fixed imap bug and updated syntax.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40107 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16 20:32:19 +00:00
file c64f9574c1 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: http://svn.digium.com/svn/asterisk/trunk@40033 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-16 16:22:13 +00:00
mogorman 1f44c4ddf0 support for imap in app_voicemail as well as some
credits fixed.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39404 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 20:35:59 +00:00
tilghman b2b7465c96 Bug 6237 - add volgain parameter, such that voicemail messages may be amplified after recording
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-08 15:37:53 +00:00
tilghman d726e96853 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: http://svn.digium.com/svn/asterisk/trunk@38762 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-03 05:24:43 +00:00
tilghman d46e12c4a6 Set permissions completely open and modify by umask
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-01 13:15:15 +00:00
tilghman 7e03bd8388 Whitespace fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37604 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-14 06:03:41 +00:00
kpfleming 8797054ad9 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: http://svn.digium.com/svn/asterisk/trunk@37572 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13 21:23:11 +00:00
kpfleming de26b25c7f 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: http://svn.digium.com/svn/asterisk/trunk@37514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-13 15:20:02 +00:00
russell b1057ec523 fix the build options for app_voicemail
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37484 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12 20:35:14 +00:00
kpfleming 98ae1f3092 various minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37277 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07 00:48:40 +00:00
kpfleming 135bedb7fe massive rework of configure script, and split of AST_EXT_LIB into separate macros, reducing code duplication
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 19:59:34 +00:00
oej 6d866fc005 - 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: http://svn.digium.com/svn/asterisk/trunk@36979 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 06:06:23 +00:00
tilghman 66a430953f Whitespace fixes only.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@36819 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-03 13:26:10 +00:00
file a9dbc73c2e 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: http://svn.digium.com/svn/asterisk/trunk@34912 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19 20:29:08 +00:00
tilghman a161b099b0 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: http://svn.digium.com/svn/asterisk/trunk@34876 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-19 18:11:04 +00:00
kpfleming 24e2e224b8 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: http://svn.digium.com/svn/asterisk/trunk@34577 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-18 12:52:08 +00:00
russell 2bcb71214f remove IMAP_STORAGE from the build options list for app_voicemail since it's
not in trunk yet


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34523 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 17:53:26 +00:00
russell 1fdf1962e9 add support for setting the CFLAGS for voicemail storage options in menuselect
Thanks to kpfleming for the Makefile magic :)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34492 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 16:17:43 +00:00
tilghman ceecb1f247 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: http://svn.digium.com/svn/asterisk/trunk@34243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-15 12:41:24 +00:00
russell 29194b094c 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: http://svn.digium.com/svn/asterisk/trunk@33785 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13 04:37:36 +00:00
kpfleming 0f9cabe4d5 there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09 20:40:10 +00:00
kpfleming 73c525e6e2 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
russell 3cd1c6869d remove the WITH_SMDI define
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32845 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:28:29 +00:00
tilghman 591c1b6c73 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: http://svn.digium.com/svn/asterisk/trunk@32606 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 16:59:13 +00:00
oej 3e2f57ec3e - Add headers to e-mail with caller ID name and number to simplify automatic parsing
- Formatting fixes


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32229 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-05 08:06:02 +00:00
kpfleming a0488b0c75 let's use the proper variable here, instead of segfaulting (don't know how this worked for anyone at all)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28833 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 22:55:02 +00:00
tilghman fcce7189b1 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28745 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 18:21:31 +00:00
file 5bf1fe818e 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: http://svn.digium.com/svn/asterisk/trunk@28657 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 16:04:35 +00:00
tilghman 3ebfed7cf6 Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for 1.2)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28300 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 18:28:52 +00:00
file 57bccad155 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: http://svn.digium.com/svn/asterisk/trunk@28213 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 16:32:37 +00:00
file 938caded5d 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: http://svn.digium.com/svn/asterisk/trunk@28170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 14:40:20 +00:00
file b17929c219 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: http://svn.digium.com/svn/asterisk/trunk@27848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-17 17:10:44 +00:00
tilghman 4cce0ae9f2 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: http://svn.digium.com/svn/asterisk/trunk@27637 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-17 02:27:17 +00:00
tilghman f4d44a3a0c 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: http://svn.digium.com/svn/asterisk/trunk@27094 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-13 04:18:25 +00:00
russell d99b677f35 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: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
rizzo 8abb5a32f2 fix indentation of two large blocks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26416 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 12:17:25 +00:00
rizzo e297382a9e 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: http://svn.digium.com/svn/asterisk/trunk@26378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 11:38:43 +00:00
rizzo 0b9d26e5a1 use 'switch' insteaf of multiple 'if'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26345 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 10:10:03 +00:00
bweschke 24d061bdb8 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: http://svn.digium.com/svn/asterisk/trunk@26051 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 13:33:54 +00:00
tilghman 4726be05ab Bug 7009 - use the actual path, so that a table index can be used
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25830 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 05:55:44 +00:00
tilghman 1eaf7ae6ca Warn user if the custom format is not one of the options
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25772 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 23:04:19 +00:00
russell e47970d15e 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: http://svn.digium.com/svn/asterisk/trunk@25159 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-06 02:05:18 +00:00
russell 53dc3b55cb modify the handling of the new temporary greeting reminder feature so that
it works for any language


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25096 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05 22:57:11 +00:00
russell be0d2ed294 add support for having the user reminded that their temporary greeting
is still set (issue #6120, khaefner)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25057 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05 21:22:50 +00:00
bweschke 0ff9a2f25d Fix 4 bugs in voicemail. #7064 ( supczinskib and jcollie )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24981 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05 19:10:11 +00:00
tilghman e7c9e22c7a Bug 6989 - updates to the ODBC storage mechanism for compatibility with the new res_odbc
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24641 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 22:54:02 +00:00
bweschke 81e68e05cd 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: http://svn.digium.com/svn/asterisk/trunk@23989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 19:35:53 +00:00
bweschke 9520d1f304 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: http://svn.digium.com/svn/asterisk/trunk@23987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 19:32:47 +00:00
russell dc64af4667 - convert the list of zones to use the list macros, and add locking (issue #7027, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23250 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 01:05:13 +00:00
mogorman 9d02cc530e 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: http://svn.digium.com/svn/asterisk/trunk@22597 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 19:22:55 +00:00
tilghman 606c93a397 Deprecate prefixed options in voicemail
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22268 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:20:41 +00:00
rizzo fa4bd289a0 convert to use ast_strem_and_wait
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22078 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:51:55 +00:00
file 6c00b7ca23 Allow the attachment format to be specified differently for different mailboxes (issue #6961 reported by the ever fabulous Corydon76)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20357 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 23:05:18 +00:00
rizzo 8c45c1475f use ast_strdup instead of strdup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20167 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:22:13 +00:00
rizzo fae6856ca5 constification and code simplifications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20165 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 22:02:19 +00:00
rizzo 3664249356 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: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
tilghman 03209b7e42 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: http://svn.digium.com/svn/asterisk/trunk@19892 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 20:40:23 +00:00
tilghman b19f672644 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: http://svn.digium.com/svn/asterisk/trunk@19395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 22:25:57 +00:00
bweschke 5bd391eb84 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: http://svn.digium.com/svn/asterisk/trunk@19009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11 01:12:13 +00:00
oej 87af6389db Issue 6919 - clarify error message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18603 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-09 18:53:46 +00:00
kpfleming e4880150b1 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman 5adcee992f 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: http://svn.digium.com/svn/asterisk/trunk@18495 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 19:22:29 +00:00
tilghman e0ba99b7f5 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
rizzo c977f70f81 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: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30 21:29:39 +00:00
tilghman 1e01cbdd9e 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: http://svn.digium.com/svn/asterisk/trunk@14837 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 05:02:19 +00:00
tilghman fb985f3242 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: http://svn.digium.com/svn/asterisk/trunk@14822 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25 04:10:35 +00:00
bweschke e73a60ef7a 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: http://svn.digium.com/svn/asterisk/trunk@14660 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-24 04:55:09 +00:00
file 2082e1e4ef 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: http://svn.digium.com/svn/asterisk/trunk@14279 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-22 22:28:36 +00:00
file 1536cfb7a1 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: http://svn.digium.com/svn/asterisk/trunk@14277 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-22 22:27:11 +00:00
tilghman 6fa1f8e69d 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: http://svn.digium.com/svn/asterisk/trunk@13749 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-21 06:28:19 +00:00
russell 8cf97ad14a add a couple of variables to clarify some code (issue #6700)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12924 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14 18:11:35 +00:00
oej fcd5783b86 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: http://svn.digium.com/svn/asterisk/trunk@12843 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14 07:17:30 +00:00
oej 0690cff1e9 Initialize variable (fix by Luigi Rizzo)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11983 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-06 09:43:59 +00:00
mogorman d9ca01aeb5 Russian locale for voicemail from bug patch 6603
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-03 19:14:18 +00:00
oej 45d29914cc Reverting revision 10998 that was accidentaly committed to trunk. My apologies.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-24 10:50:43 +00:00
oej 5d7fbc4b1e Update to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-24 10:17:40 +00:00
kpfleming 9c4950dff3 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: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23 17:13:57 +00:00
mogorman 48848cc51d 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: http://svn.digium.com/svn/asterisk/trunk@10766 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22 20:13:05 +00:00
tilghman 429b7c6d51 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: http://svn.digium.com/svn/asterisk/trunk@10465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-19 17:27:39 +00:00
tilghman 4e9abfbe1b Bug 6503 - Change wording from mailbox to folder when referring to the subfolders of a mailbox (less confusing)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10353 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16 23:13:48 +00:00
russell f921b9c2c3 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: http://svn.digium.com/svn/asterisk/trunk@10302 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-16 18:19:05 +00:00
tilghman 284a588ebd Define the initial values separate from the STATIC definitions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 23:00:07 +00:00
russell c72e5e1b38 remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 20:11:56 +00:00
kpfleming 15db46a445 add API function for parsing strings to time_t (issue #6320, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10105 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 00:24:24 +00:00
kpfleming 32dfcec463 list macro conversion (issue #6328, with bugfix)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10020 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14 20:39:56 +00:00
kpfleming 6fdcb5fae5 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: http://svn.digium.com/svn/asterisk/trunk@9451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10 23:55:47 +00:00
mattf 8ebf7821fe Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10 21:50:56 +00:00
kpfleming 21d21f89c0 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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
oej 7a16ada3be Remove javadoc doxygen format...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-23 12:19:16 +00:00
russell 252fb982f4 on this pass, only remove duplicate log messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell b14bdc5a12 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell 3f2c7248c6 remove lots of useless checks of the result of ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:13:12 +00:00
russell c6643537f1 constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18 22:17:31 +00:00
mogorman 21ae33a90c make voicemail files group writable and uses a
nicer function for creating dirs as described in
5929


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8068 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 22:05:46 +00:00
bweschke bb26a9138e More memory wrapper and cleanup work. #6226 w/one very minor compile fix mod in app_rpt.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8044 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 03:25:23 +00:00
tilghman 99fcbf119e Fix typos that caused voicemail not to compile.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8037 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 21:12:25 +00:00
mogorman 98f945ee0f I will never touch VM again...
thanks qwell for spotting mistakes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8034 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 20:04:52 +00:00
mogorman 79d46268f8 some error checking added into g and a option
if there is no parens.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8030 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 19:45:38 +00:00
mogorman 3490c9e795 More cosmetic changes. thanks qwell and everyone
else.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8024 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 19:28:47 +00:00
mogorman a570700f99 Minor revisions from bug 6090
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8022 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 19:09:36 +00:00
russell 83ebc0922e fix breakage from new feature committed in r7995
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8019 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 18:35:03 +00:00
bweschke 06dcaaaadf New memory wrapper changes.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8009 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 15:51:13 +00:00
bweschke 079f49e114 Use argument macro in app_voicemail #6221
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8008 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 15:28:01 +00:00
tilghman b94831a7c3 Merged revisions 7999 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8000 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 06:15:56 +00:00
russell a66cb8916f typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7996 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 02:35:45 +00:00
mogorman 2a4ca3a422 Added automatic folder feature described in 6090
with bounds checking.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7995 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 02:20:19 +00:00
russell d9d4aadd30 fix temp greetings with odbc storage (issue #6078)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7978 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 07:21:16 +00:00
tilghman 254c6b317b Merged revisions 7955 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7956 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 01:31:28 +00:00
kpfleming 7a2f93abe7 fix breakage introduced in revision 7863
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-09 18:03:18 +00:00
markster dd039e5ddb Fix segfault in greek syntax (bug #6142)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7863 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 23:43:23 +00:00
russell ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
russell 5f662aa8c7 normalize a loop and avoid multiple strlen calls when completing voicemail users
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7668 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-29 08:25:06 +00:00
tilghman 86532264b0 Bug 5382 - Allow VM_CATEGORY in voicemail emails
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7649 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-27 07:13:37 +00:00
tilghman 94af0e8ec8 Bug 5727 - reduce duplicate code
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7619 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-25 00:25:41 +00:00
tilghman a1133ebd7c Merged revisions 7601 via svnmerge from
/branches/1.2


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7602 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-22 22:06:35 +00:00
russell d0bde5055e 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: http://svn.digium.com/svn/asterisk/trunk@7431 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-11 06:17:36 +00:00
tilghman b3d81fa499 Bug 5960
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7407 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-08 23:46:21 +00:00
russell cfb1ef4712 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: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 20:40:46 +00:00
tilghman 4f21a12d58 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: http://svn.digium.com/svn/asterisk/trunk@7313 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 20:20:51 +00:00
kpfleming 907b53f827 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: http://svn.digium.com/svn/asterisk/trunk@7276 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-02 01:01:11 +00:00
twisted ae48a402d8 issue #5887
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7225 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30 03:35:24 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
twisted b6ad9ac7c9 issue #5829
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7187 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-23 04:46:12 +00:00
twisted 32d58fbf80 issue #5774
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7141 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-20 05:51:33 +00:00
jeremy c8e6380de7 Make voicemail not terminate asterisk if no config file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7123 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-16 21:02:25 +00:00
kpfleming 56d8a3c501 issue #5704
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7085 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12 02:39:06 +00:00
kpfleming b88097834d issue #5718
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7084 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12 02:34:01 +00:00
kpfleming 1b8f2605c3 issue #5721
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7081 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12 00:52:08 +00:00
kpfleming 818954f5fa issue #5663 again
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7080 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12 00:09:43 +00:00
kpfleming 13fe86a110 issue #5663
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7078 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 21:04:10 +00:00
russell e09381994a clean up descriptions for the voicemail applications
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7075 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11 17:14:13 +00:00
kpfleming 0d79aec3bd issue #5649
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7015 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 02:56:01 +00:00
kpfleming df706a8900 issue #5648
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 01:55:31 +00:00
kpfleming e61f71745f application doc update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07 22:01:22 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
russell fcb15a4b4f alphabetize option lists
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6975 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 05:34:13 +00:00
markster d1d229de97 Handle ODBC forwarding properly (bug #5606)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6974 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 05:15:29 +00:00
kpfleming ae35e4e069 major update to arg/option parsing APIs and documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 21:19:11 +00:00
russell 36b3d6f283 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: http://svn.digium.com/svn/asterisk/trunk@6922 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 02:20:30 +00:00
kpfleming bd6eb0d661 handle comments containing what appear to be context names during voicemail.conf updates better (issue #5385)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6917 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 23:41:20 +00:00
kpfleming d1eb523ab8 don't use 'rowcount' after SELECT statements, since the ODBC API does not say it is allowed (issue #5083)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6904 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31 21:31:25 +00:00
russell 2a1fd152ed remove unnecessary checks before calls to ast_strlen_zero
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 19:48:14 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
russell 58818426d6 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: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 18:19:02 +00:00
russell 2c83f05ebb it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18 22:52:21 +00:00
kpfleming 0712d9dff3 ensure that message envelopes are retrieved from ODBC storage when advanced options menu is used (issue #5393)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6783 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 00:08:24 +00:00
kpfleming a3800e5678 correct logic errors (issue #5258)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6651 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-25 20:39:19 +00:00
kpfleming 23b2d967cb fix copy-and-paste error
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6638 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-24 22:56:41 +00:00
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming 9ffe7a545d allow channel receive gain to be adjusted while recording messages/greetings in voicemail (workaround for issue #2023 from the ancient past)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6595 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:00:54 +00:00
twisted 58a5f701a4 Set filaneme BEFORE we return from open_mailbox() if we don't have positive message count (Bug #5175)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6559 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-09 21:13:42 +00:00
kpfleming a21860310e convert a bunch of apps to use ast_goto_if_exists() (issue #5138)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 19:13:00 +00:00
kpfleming 687a47fc26 eliminate signedness warnings (issue #5129)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6530 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 18:55:03 +00:00
russell f183317737 fix mem leak from not destrying config (issue #5048)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6432 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-29 16:08:53 +00:00
kpfleming 7ff52bf0be add optional 'extended ODBC storage' mode (issue #4403)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6404 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-25 03:15:18 +00:00
kpfleming 3f7567fe15 do expensive 'next message number' calculation before playing sounds (issue #4955)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6373 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 02:01:37 +00:00
kpfleming 77ffeda4e8 make pager messages configurable (issue #4829)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6361 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 22:43:47 +00:00
kpfleming 19577acdfe 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: http://svn.digium.com/svn/asterisk/trunk@6352 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 19:06:42 +00:00
markster 1bc584b850 Fix password change bug (bug #4976)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6340 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-17 15:49:34 +00:00
markster 8e03a2c849 Fix voicemail crash (bug #4800)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6261 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03 02:45:30 +00:00
markster 2437ed2777 Make sure we don't close a mailbox if we didn't open one (bug #4800)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6250 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-01 11:09:03 +00:00
markster 76c2a95e9a Minor voicemail fixup (related to 4800, but not the fix yet)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6249 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-01 11:03:09 +00:00
markster 7a8e8d3b67 Remove per-context maxmsg which should never have made it in (bug #4843)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6242 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-28 18:14:13 +00:00
kpfleming c8ececdd93 add OGG/Vorbis file format support (bug #4296)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6173 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20 00:25:54 +00:00
kpfleming ff15e0fa53 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 23:00:47 +00:00
kpfleming cf67ae6727 restore count_messages for ODBC storage to proper behavior (bug #4711)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6132 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 00:27:41 +00:00
kpfleming f4efe45a03 clean up maxmsg parsing, and ensure default applies to Realtime voicemail users
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6131 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 00:18:58 +00:00
kpfleming 90a8bcf11a fix up lock breakage from bug #4245
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6125 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-13 19:27:09 +00:00