russell
f042431847
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 19:39:12 +00:00
tilghman
eb5d461ed4
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 21:20:11 +00:00
russell
a42bc96f14
Add a new API call for creating detached threads. Then, go replace all of the
...
places in the code where the same block of code for creating detached threads
was replicated. (patch from bbryant)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@65968 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-24 18:30:19 +00:00
russell
7fd0b05dbd
Remove duplicate calls to pthread_attr_destroy() that I put in yesterday
...
by accident.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53061 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01 14:43:44 +00:00
russell
ee25f98f93
Merged revisions 53046 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines
Merged revisions 53045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53047 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31 21:35:15 +00:00
rizzo
6897a0cbe0
include "asterisk/zapata.h" instead of looking
...
directly for the zaptel.h and tonezone.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51292 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 16:16:19 +00:00
russell
b1b9710998
fix various spelling mistakes in comments (issue #8237 , jmls)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-26 17:52:15 +00:00
tilghman
a3d4dc924e
More whitespace fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44831 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-10 20:52:50 +00:00
tilghman
255a824f55
Massive cleanup of the rpt code, updating to current coding guidelines
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44595 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-06 17:27:30 +00:00
file
3a27d3bc70
Merged revisions 43933 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43933 | file | 2006-09-28 14:05:43 -0400 (Thu, 28 Sep 2006) | 2 lines
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28 18:09:01 +00:00
tilghman
2c10491236
Merged revisions 43441 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43441 | tilghman | 2006-09-21 14:43:32 -0500 (Thu, 21 Sep 2006) | 2 lines
Oops, missed the merge breakage
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43442 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 19:48:35 +00:00
tilghman
9f3c1f75ff
Merged revisions 43422 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r43422 | tilghman | 2006-09-21 12:04:40 -0500 (Thu, 21 Sep 2006) | 10 lines
Merged revisions 43420 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43420 | tilghman | 2006-09-21 12:01:48 -0500 (Thu, 21 Sep 2006) | 2 lines
Whitespace change... really just an excuse to test repotools
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43423 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 17:06:43 +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
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
mogorman
73925ee14a
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: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 21:00:20 +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
russell
f395a52a02
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: http://svn.digium.com/svn/asterisk/trunk@38042 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-21 17:31:28 +00:00
kpfleming
cda33c11a8
prepare Asterisk for new zaptel.h/tonezone.h installation locations
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37027 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-05 16:44:41 +00:00
kpfleming
41af2260b7
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: http://svn.digium.com/svn/asterisk/trunk@35832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 19:43:31 +00:00
kpfleming
3df43d0174
search for Zaptel and libtonezone separately in the configure script
...
various other minor fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@35812 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-24 08:45:49 +00:00
jdixon
4ea7c6bef6
Allowed proper tx/rx signal exclusivity for simplex repeater modes
...
on 2 wire interfaces
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33973 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-13 23:46:41 +00:00
jdixon
d4330f629e
Added incoming audio notch filtering, plus a bunch of command improvements, etc.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24 07:01:02 +00:00
kpfleming
29f496ef12
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +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
31b2a51bfb
remove support for BYEXTENSION (which nobody even knows about anymore)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10 23:01:22 +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
jdixon
2fa3ce927b
Removed "frog" command (so it could be moved to cli.c)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-01 12:56:50 +00:00
rizzo
f2babce209
remove the long since unused STANDARD_LOCAL_USERS macro
...
so that new apps will not try to use it by mistake.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15517 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28 13:52:04 +00:00
russell
8d3b770c99
update to reflect conversion of the accountcode to use stringfields (issue #6722 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12961 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14 19:09:13 +00:00
jdixon
201efd61e2
Fixed nasty lockup bug and added command macros (not to be confused with
...
macro-oni).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11146 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-26 05:11:34 +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
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
bweschke
d6bead8226
More new memory wrapper work.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8012 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 16:08:06 +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
jdixon
5d0953b55d
New version, including half/semi-half duplex modes and system announcements
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7566 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 23:41:59 +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
kpfleming
1068c04ce7
issue #5706
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7049 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-10 22:55:36 +00:00
jim
cee4c00add
Fixed a couple of silly boo-boo's
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6952 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 18:58:24 +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
jim
6be9629202
Many changes and new stuff including Reverse Autopatch and completely new authentication system no longer requiring static IP address assignment.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 16:00:38 +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
jim
64f427a12e
Added support for iaxrpt gui client
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6631 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-23 03:07:06 +00:00
kpfleming
f89c44df03
more license/copyright header updates (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6618 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-15 15:44:26 +00:00
jim
5f39cef2c9
Better improved HF interface
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6562 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-11 22:08:44 +00:00
jim
3e280f3af9
Fixed signalling problem with pciradio
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6553 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-08 17:29:49 +00:00
jim
3b6dc3c1e0
Added support for Yaesu FT-897 HF/VHF/UHF radio and other improvements
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6346 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-22 02:38:37 +00:00
kpfleming
2bbd57c0d6
revert unneeded change and add comment to avoid it in the future
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6140 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 16:15:57 +00:00
kpfleming
552eab0954
don't use %i for scanf unless non-base-10 input is needed (bug #4717 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6138 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 16:10:21 +00:00
jim
4ad4095bec
Fixed iobase specification in rpt.conf and put in check for 'keyed' for
...
main system rx DTMF.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6068 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 03:13:42 +00:00
jim
f63e1f68c7
Added fix so that wctdm interface will start out in correct state
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6018 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-04 00:52:18 +00:00