Commit Graph

70 Commits

Author SHA1 Message Date
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it 
had a non static function when it should.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-31 21:00:20 +00:00
Kevin P. Fleming 0a27d8bfe5 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-21 02:11:39 +00:00
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
inet_ntoa, which uses thread specific data (aka thread local storage) instead
of stack allocatted buffers to store the result.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-21 17:31:28 +00:00
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-07-05 16:44:41 +00:00
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 19:43:31 +00:00
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
various other minor fixes


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-24 08:45:49 +00:00
Jim Dixon 8f77de5ebd Allowed proper tx/rx signal exclusivity for simplex repeater modes
on 2 wire interfaces


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 23:46:41 +00:00
Jim Dixon f2af2718a6 Added incoming audio notch filtering, plus a bunch of command improvements, etc.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-24 07:01:02 +00:00
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-24 17:11:45 +00:00
Luigi Rizzo e43bc6634d 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: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 14:08:19 +00:00
Kevin P. Fleming cf15740eaf remove support for BYEXTENSION (which nobody even knows about anymore)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 23:01:22 +00:00
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Jim Dixon 44d1382a05 Removed "frog" command (so it could be moved to cli.c)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-01 12:56:50 +00:00
Luigi Rizzo 606c7dcb93 remove the long since unused STANDARD_LOCAL_USERS macro
so that new apps will not try to use it by mistake.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28 13:52:04 +00:00
Russell Bryant 9063466dfb update to reflect conversion of the accountcode to use stringfields (issue #6722)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12961 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 19:09:13 +00:00
Jim Dixon 60c5b80818 Fixed nasty lockup bug and added command macros (not to be confused with
macro-oni).


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-26 05:11:34 +00:00
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 20:11:56 +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
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
Russell Bryant a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Jim Dixon 13e757450d New version, including half/semi-half duplex modes and system announcements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 23:41:59 +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 c3b6ac6004 issue #5706
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7049 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-10 22:55:36 +00:00
Jim Dixon fc9612edad Fixed a couple of silly boo-boo's
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 18:58:24 +00:00
Russell Bryant 5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:48:14 +00:00
Jim Dixon 7810f546f3 Many changes and new stuff including Reverse Autopatch and completely new authentication system no longer requiring static IP address assignment.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 16:00:38 +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
Jim Dixon b3d871f223 Added support for iaxrpt gui client
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-23 03:07:06 +00:00
Kevin P. Fleming b8f23573fa more license/copyright header updates (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-15 15:44:26 +00:00
Jim Dixon 391d8b0994 Better improved HF interface
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6562 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-11 22:08:44 +00:00
Jim Dixon 4794638c99 Fixed signalling problem with pciradio
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-08 17:29:49 +00:00
Jim Dixon 6b2ff5db90 Added support for Yaesu FT-897 HF/VHF/UHF radio and other improvements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-22 02:38:37 +00:00
Kevin P. Fleming ee568be647 revert unneeded change and add comment to avoid it in the future
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6140 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 16:15:57 +00:00
Kevin P. Fleming 7070dafdbf don't use %i for scanf unless non-base-10 input is needed (bug #4717)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15 16:10:21 +00:00
Jim Dixon b4f7592ebb Fixed iobase specification in rpt.conf and put in check for 'keyed' for
main system rx DTMF.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 03:13:42 +00:00
Jim Dixon 4cac951c1c Added fix so that wctdm interface will start out in correct state
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-04 00:52:18 +00:00
Jim Dixon a64d79c196 Fixed transmitter hang problem
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-15 03:50:29 +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
Jim Dixon 882eea1390 Fixed transmit/link hang problem and autopatch wierdness
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 21:49:35 +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 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
Jim Dixon b5ecfdc179 Fixed more bugs.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-29 07:31:17 +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
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
Jim Dixon 99e2b961c2 Fixed another little bug.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-15 00:53:17 +00:00
Jim Dixon 924bc59162 Fixed some bugs; added re-connect mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4794 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-14 21:57:31 +00:00
Jim Dixon a9ebcff694 Made changes to go with pciradio zaptel driver changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4525 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-22 05:02:00 +00:00
Jim Dixon c513f7318c Updated so that it will work with latest changes in asterisk, plus fixed a couple of little problems.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-17 05:26:36 +00:00
Jim Dixon e499028440 Fixed minor issue in app_rpt(). Allows it to work better with many Linux distributions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-13 12:12:17 +00:00
Jim Dixon f2dcfca9c4 Fixed timing race with thread creation in app_rpt.c, and added settable
delays and such in config file.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-22 03:58:42 +00:00