Archived
14
0
Fork 0
Commit graph

68 commits

Author SHA1 Message Date
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
anthonyl
fb320ddf9e small fix for issue 007926
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42715 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-11 16:00:53 +00:00
tilghman
88fda7653e In trunk, ast_fileexists now returns 0 for failure, instead of -1, as it did
in 1.2.  This corrected a longstanding confusion about the return value.
Unfortunately, it broke this app in the process.  (Issue 7906)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42621 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-09 21:51:07 +00:00
tilghman
17b99c8c7c Merged revisions 42355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r42355 | tilghman | 2006-09-07 18:12:29 -0500 (Thu, 07 Sep 2006) | 2 lines

Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 23:15:43 +00:00
anthonyl
2ea46c1628 spacing update
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41648 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:12:26 +00:00
anthonyl
08746f779d small typo
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41647 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:06:07 +00:00
anthonyl
1d4845cffd fix for bugid: 0007830
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41630 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 20:49:26 +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
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
file
35ef7f8d42 don't stop recording until hangup (no terminator) (issue #7168 reported by julien23)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 15:48:22 +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
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
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
rizzo
f229a1fc56 convert a couple of applications to the new module style
(STATIC_MODULE) to show what needs to be changed.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 09:24:02 +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
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
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
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
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
russell
d29dcba2f8 issue #5787
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7162 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-21 02:01:36 +00:00
russell
465d1d7712 make app_queue 1.2 jump compliant (issue #5580)
add missing includes of stdio.h
remove some unused and duplicate headers


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:48:00 +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
kpfleming
cd7ee5f7cd optionally send silence during recording (issue #5135)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6925 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01 17:22: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
40d5d2e36e ensure that Record() will exit even if no audio is received from the channel (issue #4899)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6610 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 01:17:51 +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
markster
cd0067f95a Add SIP video fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:12:09 +00:00
kpfleming
1b9fcfe21b reverse commit due to lack of disclaimer
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6367 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 01:09:49 +00:00
kpfleming
610ee422c0 make Record() properly timeout even if no input is received from the channel (issue #4899)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6366 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 01:08:07 +00:00
kpfleming
8dc28b2439 the last round of file version tags
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5867 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:39:32 +00:00
kpfleming
025c3f4d6b add support for Sun Microsystems AU audio format (bug #4428 with minor mods)
remove hardcoded format list from app_record help text


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5837 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03 21:52:00 +00:00
kpfleming
31e8dcf4fe use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
afedd1cb91 Add option to disable beep to record (bug #3508, with mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4969 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-05 16:52:46 +00:00
markster
0e35bc0c79 Fix Record with "." in filename (bug #2923)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4321 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-23 02:35:46 +00:00
markster
e1e7f61edb Fix silence detection in app_record (bug #2883)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4269 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-17 03:34:56 +00:00
markster
5c5a72cc80 Ouch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4133 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-31 23:29:56 +00:00
markster
cc877d2d6e Fix record app
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4124 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-28 22:14:08 +00:00
markster
76292125f0 Fix potential seg if someone doesn't specify an extension
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4122 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-28 21:37:18 +00:00
markster
656368a291 Record application updates (bug #2627)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4120 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-28 19:08:02 +00:00
markster
792bc71f00 Eliminate extraneous message (bug #2633)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3984 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-12 21:30:53 +00:00
anthm
45ca345938 tweak prior commit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3826 f38db490-d61c-443f-a65b-d21fe96a405b
2004-09-23 16:39:33 +00:00
markster
4e18ef6889 Merge rgagnon's pedantic string changes (apps n-z) (bug #2038)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3429 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-14 07:34:34 +00:00
markster
14feeee6dc Read/Record updates (bug #1947)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3363 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-30 16:04:28 +00:00