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
2005-12-04 20:40:46 +00:00
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
2005-11-29 18:24:39 +00:00
Kevin P. Fleming
87c87fe158
remove extraneous message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-07 22:05:31 +00:00
Kevin P. Fleming
7ffb604a2f
issue #4678
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-01 21:53:30 +00:00
Kevin P. Fleming
f9c8bb8087
ignore non-regular files during config parsing (issue #5510 , different fix)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 21:08:55 +00:00
Russell Bryant
a736096e0b
change ast_strlen_zero to also check for the string to be defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:54:24 +00:00
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
2005-10-24 20:12:06 +00:00
Kevin P. Fleming
7a59bc42c8
correct behavior change introduced by issue #5448 patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 13:53:50 +00:00
Mark Spencer
43fd4d64b0
Improve config parsing performance (bug #5448 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-17 03:53:27 +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
1632d52795
major header file cleanup: license, copyrights, descriptions, markers, etc.
...
remove deprecated config_old.c/config_old.h
remove unused cvsid.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 18:32:10 +00:00
Kevin P. Fleming
a5b640cb40
add 'sip show settings' CLI command (issue #4806 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-23 01:44:28 +00:00
Russell Bryant
edbc500b77
more ast_copy_string conversions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 22:56:21 +00:00
Kevin P. Fleming
054317fb13
add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
...
add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 22:11:43 +00:00
Kevin P. Fleming
65e52f3ba9
clean up find_engine()
...
issue a warning when a config file mapping is found but the desired driver is not available (inspired by bug #4628 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 21:17:58 +00:00
Kevin P. Fleming
3e44b65090
split up string/time functions into separate header files
...
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules)
move compiler-specific stuff into a separate header file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-24 22:45:15 +00:00
Kevin P. Fleming
2f5da9a173
make 'show config mapping' show all mappings associated with an engine (bug #4564 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21 19:09:35 +00:00
Kevin P. Fleming
304bc75cf1
fix memory leaks in config loader (bug #4223 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-07 21:28:04 +00:00
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:12:19 +00:00
Kevin P. Fleming
0e6762dd5f
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 20:27:51 +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
Josh Roberson
43866b0ef2
Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin being open sourced, and able to run on x86, OSX isn't really suitable)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 21:56:50 +00:00
Russell Bryant
9644f1dcfe
various code cleanups (bug #4353 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-25 10:57:15 +00:00
Mark Spencer
ee79fe4036
Fix improper config dir path (bug #4184 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-08 17:31:09 +00:00
Kevin P. Fleming
199add9567
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22 13:11:34 +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
Josh Roberson
48b6ab921b
Fix help and command line completion for "show config mappings" (Bug #3766 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5185 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 00:35:06 +00:00
Mark Spencer
188fdf9260
Fix "not found" case (bug #3404 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-11 16:09:01 +00:00
Mark Spencer
c52f076bca
Separate IAX and SIP tables for users/peers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-10 21:14:11 +00:00
Mark Spencer
f286c413c0
Clarify documentation (bug #3495 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 19:48:53 +00:00
Mark Spencer
b4f05e2c98
Merge #exec functionality (must be explicitly enabled!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 03:38:24 +00:00
Mark Spencer
7cd91c85fa
Fix seg in variable replacement (bug #3464 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 17:34:44 +00:00
Mark Spencer
0b04b3dfb2
Add category inheritance (bug #3099 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 06:26:19 +00:00
Mark Spencer
976bdba2d1
Fix properly the issue of the verbose level for parsing... (bug #3404 etc)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-28 00:31:50 +00:00
Anthony Minessale II
dad010329b
Fixing "parsing" bug in config.c (AGAIN!)
...
if you had a verbose of 2 you got the following:
Parsing '/etc/asterisk/cdr_odbc.conf': == Parsing '/etc/asterisk/confcall.conf': *CLI> == Parsing '/etc/asterisk/sip_notify.conf':
the carraige return only prints on verbose of 3 or more so i am again moving them to be the same.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4899 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-27 21:10:44 +00:00
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-25 06:10:20 +00:00
Mark Spencer
17c311c9b9
Un-revert in preparation for actual fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4880 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 22:13:11 +00:00
Anthony Minessale II
d52d919a29
repeal config prototype changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 21:00:31 +00:00
Mark Spencer
9dfb8aac36
Fix tiny typo (bug #3404 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-22 17:18:28 +00:00
Anthony Minessale II
32ba309c68
Fix this annoying typeo that has been torturing me for weeks now
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4870 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 21:26:34 +00:00
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
1496da97fb
Optimize module loading (bug #3356 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-16 22:59:30 +00:00
Mark Spencer
b0772febde
config restructure, sip peer completion (bug #3352 , #3327 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4808 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-16 06:01:50 +00:00
Anthony Minessale II
907ed4d346
tiny tweak to allow pvt config engines to use __ast_load
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4567 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-28 14:53:40 +00:00
Mark Spencer
61f25c3e92
Merge twisted's OSX compat fix (bug #3090 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 17:33:19 +00:00
Mark Spencer
dd6a232277
Add missing patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-15 16:01:13 +00:00
Mark Spencer
54b418482f
Fix glob issue on solaris (bug #3047 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-15 16:00:10 +00:00
Mark Spencer
bbbd682ed6
Revert earlier patch (bug #2825 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-11 22:46:10 +00:00
Mark Spencer
442e1403a8
Restore ignoring missing include files (bug #2825 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-11 20:03:42 +00:00
Mark Spencer
be9ec5833d
Add support for globbing (bug #2825 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-11 05:16:30 +00:00