Commit Graph

1118 Commits (620e580ed671ca6bc34e2e6df64ac680dff7c371)

Author SHA1 Message Date
Russell Bryant c2ba92b385 Move the CLI commands that were in builtins[] into the cli_cli[] array of CLI
18 years ago
Russell Bryant 27031927cf Merged revisions 85545 via svnmerge from
18 years ago
Russell Bryant 42b2f932d2 Merged revisions 85543 via svnmerge from
18 years ago
James Golovich 741c0ba9df Fix compiling cli.c due to differences with new cli system (closes issue
18 years ago
Russell Bryant eec3f78368 Merged revisions 85533 via svnmerge from
18 years ago
Russell Bryant e97a723cf1 Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
18 years ago
Tilghman Lesher c0fcb59d38 Merged revisions 85356 via svnmerge from
18 years ago
Joshua Colp d19257304e Process outstanding log messages before shutting down the logger thread.
18 years ago
Tilghman Lesher e9221b062e Merged revisions 85158 via svnmerge from
18 years ago
Joshua Colp 6f2e7b4310 Merged revisions 85057 via svnmerge from
18 years ago
Joshua Colp 648f67d4c8 Fix up tree so that it compiles when MTX Profiling is enabled.
18 years ago
Joshua Colp de64c85b54 Merged revisions 85023 via svnmerge from
18 years ago
Joshua Colp 914cd4a7cf Merged revisions 84990 via svnmerge from
18 years ago
Tilghman Lesher 977d8e2c8a Merged revisions 84851 via svnmerge from
18 years ago
Joshua Colp 5b3347c715 Merged revisions 84818 via svnmerge from
18 years ago
Russell Bryant 40e7d22cd7 Merged revisions 84742 via svnmerge from
18 years ago
Joshua Colp 094e9d8397 Don't register the exception function with module information. Since it is in the core there is none and it will explode.
18 years ago
Tilghman Lesher cfc8e90501 Merged revisions 84581 via svnmerge from
18 years ago
Tilghman Lesher c2f7cc4bd4 Create a universal exception handling extension, "e" (closes issue #9785)
18 years ago
Tilghman Lesher 5139a2f6f7 Add MSet for people who prefer the old, deprecated syntax of Set (Closes issue #10549)
18 years ago
Joshua Colp fe1d4b1d04 Don't swap channel priority if using epoll as polling should/will only happen off the first channel.
18 years ago
Dwayne M. Hubbard 71a0672560 Merged revisions 84274 via svnmerge from
18 years ago
Russell Bryant 9334e72e76 Merged revisions 84271 via svnmerge from
18 years ago
Russell Bryant 7a542a0a39 Change simple uses of snprintf to ast_copy_string. This was provided by
18 years ago
Russell Bryant d78463be1e Corydon posted this janitor project to the bug tracker and mvanbaak provided
18 years ago
Russell Bryant 9217a05b01 Simplify code by using the -= and %= operators.
18 years ago
Russell Bryant 7c01bf15df Don't set the full command string until after verifying that there is not
18 years ago
Joshua Colp 8de5a4857e Don't register the dnsmgr refresh CLI command twice.
18 years ago
Matthew Fredrickson 32c5558676 Let's use process time instead of wall clock time for show translation
18 years ago
Tilghman Lesher 8b2b13a750 Merged revisions 84078 via svnmerge from
18 years ago
Tilghman Lesher d3904a21c4 Merged revisions 84049 via svnmerge from
18 years ago
Dwayne M. Hubbard bd5b6cea68 Merged revisions 84018 via svnmerge from
18 years ago
Tilghman Lesher 0efe82bf9e Merged revisions 83773 via svnmerge from
18 years ago
Tilghman Lesher ddc6f8100e Permit custom locations for astdb and the keys directory (though default to the current locations) (Closes issue #10267)
18 years ago
Tilghman Lesher 7abaa82162 Merged revisions 83637 via svnmerge from
18 years ago
Tilghman Lesher 02c997c64c Add the MeetmeList and Reload manager commands, which supplement the need to have Command privilege. (closes issue #10736)
18 years ago
Tilghman Lesher 48f56ba8b4 Fixes for FreeBSD... testing for every conceivable math function now
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Tilghman Lesher 78a94595f6 Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
18 years ago
Jason Parker 857f785a40 More NEW_CLI conversions.
18 years ago
Russell Bryant 5cbdfc9925 Merged revisions 83348 via svnmerge from
18 years ago
Russell Bryant 86e254caba trivial formatting change
18 years ago
Russell Bryant 06fd2e1a05 trivial formatting change
18 years ago
Russell Bryant 2d7b84b2cf minor spelling fixes in a comment
18 years ago
Russell Bryant f8911d2bbc minor grammar fix
18 years ago
Russell Bryant 2fde4885db trivial formatting change
18 years ago
Russell Bryant 6aa1638d8a Don't start the event processing thread until after forking.
18 years ago
Joshua Colp 6489076887 Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.
18 years ago
Russell Bryant fc1fdac8f2 Merged revisions 83121 via svnmerge from
18 years ago
Joshua Colp 25597993d7 Extend manager show connected with additional information.
18 years ago
Jason Parker c7a9ec1691 (issue #10724)
18 years ago
Russell Bryant c3b4322469 Merged revisions 82867 via svnmerge from
18 years ago
Russell Bryant 96d9f820e9 Merged revisions 82676 via svnmerge from
18 years ago
Doug Bailey 410bdaf535 Fix memory leak introduced when POST support was added.
18 years ago
Joshua Colp abe84c029f Merged revisions 82514 via svnmerge from
18 years ago
Steve Murphy 6a98adc357 Merged revisions 82444 via svnmerge from
18 years ago
Russell Bryant 37dbcf6422 Merged revisions 82339 via svnmerge from
18 years ago
Russell Bryant 79d79ac840 Merged revisions 82337 via svnmerge from
18 years ago
Tilghman Lesher 22436131f7 Merged revisions 82291 via svnmerge from
18 years ago
Tilghman Lesher 82cf384e03 Merged revisions 82285 via svnmerge from
18 years ago
Steve Murphy 95ee34a654 This fix closes issue #10642 -- it's not perfect, but should retain most blank lines in config files, via read/write cycles.
18 years ago
Mark Michelson 3a6e79ad80 Fixes Solaris build warnings
18 years ago
Russell Bryant 7e19df05b9 Merged revisions 82280 via svnmerge from
18 years ago
Russell Bryant 2a3ed7b879 remove unused functions that made this file not build under dev mode
18 years ago
Steve Murphy c88e216a14 This solves an unreported solaris compile problem (missing -lnsl -lsocket).
18 years ago
Steve Murphy c6b6a67364 Merged revisions 82261 via svnmerge from
18 years ago
Joshua Colp 0dc7b3e8f8 (closes issue #10666)
18 years ago
Joshua Colp e4c8ac7abd (closes issue #10695)
18 years ago
Joshua Colp a7d3a24fa5 (closes issue #10692)
18 years ago
Jason Parker 10f28b2d79 Add a counter to the 'database deltree' CLI command.
18 years ago
Jason Parker ccb6b0065d Add counter to 'database show' CLI command.
18 years ago
Steve Murphy 6cc72a0e0d Changes applied from marta's team/marta/astobj2 branch to solve a race condition
18 years ago
Russell Bryant 9dba50322d Merged revisions 81997 via svnmerge from
18 years ago
Joshua Colp a565584d05 Fix memory issue that crept up with Russell's testing. It is *not* proper to free the frame we get in ast_write.
18 years ago
Luigi Rizzo 8e62c6c4d0 various changes to the documentation, and redefinition of
18 years ago
Russell Bryant 8bcfddc8ec Merged revisions 81599 via svnmerge from
18 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
18 years ago
Steve Murphy dcb85e2456 this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.
18 years ago
Joshua Colp 1df4047b4a Finish up commit from revision 81452 by removing last remnants of strlcat/strlcpy checks.
18 years ago
Russell Bryant 664d1d879b Don't check for and include strlcpy and strlcat in editline. We also include
18 years ago
Russell Bryant 9bda1c5a94 Merged revisions 81448 via svnmerge from
18 years ago
Joshua Colp 352fd9d942 Merged revisions 81437 via svnmerge from
18 years ago
Joshua Colp 611d112eb7 Merged revisions 81435 via svnmerge from
18 years ago
Tilghman Lesher 3305af34d6 Once we get past the file checks, we're loading, so clear the FILEUNCHANGED flag (fixes #include) (closes issue #10629)
18 years ago
Tilghman Lesher 87044d37a0 We shouldn't use a filename blindly without checking to make sure it's unused first
18 years ago
Mark Michelson 1bfe10997b Merged revisions 81426 via svnmerge from
18 years ago
Steve Murphy 837ae96aeb Merged revisions 81392 via svnmerge from
18 years ago
Tilghman Lesher 262578a60f A schedule id of 0 is not possible and is used to flag that we want to add a new item
18 years ago
Tilghman Lesher 43adcde7bf Always force reread of the config when we're rotating the log file (closes issue #10598)
18 years ago
Joshua Colp 56e74f0dde (closes issue #10603)
18 years ago
Steve Murphy 876ebb3ec7 init newer so compile won't complain.
18 years ago
Russell Bryant 8555b694ee make trunk build again. murf will have to review this to see if it was the right fix, as it is related to his last change.
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Russell Bryant 8a6c04a0a9 Try to clarify the rules on changing ast_event and ast_event_ie
18 years ago
Russell Bryant 94d9d29f18 Fix parenthesis from my last commit
18 years ago
Russell Bryant 22de9a1c68 Change pointer aritmetic on void * to char *
18 years ago
Russell Bryant dce06fed1d there is not actually code that sends these over the network in trunk yet
18 years ago
Joshua Colp e311ae98d1 Return ast_event_get_ie_raw to using an iterator and fix logic in ast_event_iterator_next.
18 years ago
Joshua Colp a3b8cb670e This concludes bringing trunk back to a working state.
18 years ago
Joshua Colp c9445d4a68 To keep others happy... revert part of my additions so trunk works.
18 years ago
Russell Bryant d99440e2ed Merged revisions 81342 via svnmerge from
18 years ago
Joshua Colp 2351d789fd Add API calls for iterating through an event. This should allow events to have multiple information elements (while there was nothing preventing it before you could not actually access any except the first one).
18 years ago
Joshua Colp f4fa5a228a Add some read/write locking magic to make logger reload operate again.
18 years ago
Tilghman Lesher f5a14167f3 Support better rotation of log files to be more like system logging (closes issue #10398)
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Russell Bryant 43e9b0f67c (closes issue #7852)
18 years ago
Joshua Colp 44aacc96f1 Merged revisions 80974 via svnmerge from
18 years ago
Russell Bryant 7ddccc897f Merged revisions 80820 via svnmerge from
18 years ago
Tilghman Lesher f8c93488d5 Fix documentation for Set (closes issue #10549)
18 years ago
Steve Murphy 9931947a6e Merged revisions 80789 via svnmerge from
18 years ago
Joshua Colp c755851bc8 Return trunk to a working state by including compat.h in minimime.
18 years ago
Jason Parker b875ca68e1 Convert minimime to use the proper uint*_t types, rather than u_int*_t
18 years ago
Russell Bryant 4328c75281 Merged revisions 80424 via svnmerge from
18 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
18 years ago
Joshua Colp 91d9c110af Merged revisions 80255 via svnmerge from
18 years ago
Steve Murphy 6f9f77e0ca Merged revisions 80166 via svnmerge from
18 years ago
Joshua Colp 937d83f7e4 Minor tweak. Don't manipulate volume of the audio in the buffer if no audio is actually there.
18 years ago
Steve Murphy 337c44236d This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision.
18 years ago
Jason Parker 100e2387db Merged revisions 79904 via svnmerge from
18 years ago
Tilghman Lesher 8b63009338 Change this flag... might not otherwise unlock in an OOM situation
18 years ago
Russell Bryant f5bf66bcd7 This commit adds a scheduler API call, ast_sched_replace that can be used
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
18 years ago
Joshua Colp 5fbd7ebd24 Merged revisions 79553 via svnmerge from
18 years ago
Joshua Colp 9264d5007a (closes issue #10427)
18 years ago
Steve Murphy 4f98b05cd5 Don't ask me why, but waitfordigit will immediately return a 1 on my system, unless the outfd is initialized to -1 before calling the nandfds func
18 years ago
Russell Bryant 5f0c3e7dbc constify the return value of reason2str
18 years ago
Steve Murphy 526d1f39a2 Merged revisions 79099 via svnmerge from
18 years ago
Joshua Colp e927902fe7 Bring up to date with poll changes.
18 years ago
Steve Murphy cc6a96c580 Merged revisions 79049 via svnmerge from
18 years ago
Steve Murphy f223818927 Merged revisions 79044 via svnmerge from
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Joshua Colp 845cba6792 Merged revisions 78955 via svnmerge from
18 years ago
Joshua Colp 22114b509d Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
18 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Joshua Colp 218241f174 Use the linkedlists.h macros for the manager action list.
18 years ago
Joshua Colp b4778de562 (closes issue #10225)
18 years ago
Joshua Colp 9ef1b0a974 Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
18 years ago
Joshua Colp 431c60f818 Merged revisions 78275 via svnmerge from
18 years ago
Doug Bailey 3e426df072 Change the fsk filter used in CID and TDD decode to an integer based implementation
18 years ago
Mark Michelson c4c0e45c8b Merged revisions 78103 via svnmerge from
18 years ago
Jason Parker 3f0a1faed2 Merged revisions 78180 via svnmerge from
18 years ago
Joshua Colp 5a1e2bfb50 Merged revisions 78172 via svnmerge from
18 years ago
Russell Bryant befb383d16 Merged revisions 78095 via svnmerge from
19 years ago
Steve Murphy 79b9bc6a2f Merged revisions 77945 via svnmerge from
19 years ago
Joshua Colp 1e4bd7a192 Instead of adding the SOLARIS check to each HAVE_SYSINFO check let's just make the sysinfo autoconf logic a bit pickier about what it considers a usable sysinfo.
19 years ago
Joshua Colp a7aaa0bbc2 Solaris does not have a sysinfo like we know of on Linux.
19 years ago
Joshua Colp 28fec17d59 Merged revisions 77867 via svnmerge from
19 years ago
Joshua Colp d51079b70a Merged revisions 77863 via svnmerge from
19 years ago