Commit Graph

1081 Commits (5a4867543d268d68b9cfebcef6e02bb9e032173e)

Author SHA1 Message Date
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
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
19 years ago
Joshua Colp 96b96a5f72 Convert CLI helpers list to rwlist.
19 years ago
Joshua Colp 3aaf122439 Add support for call forwarding and timeouts to the dialing API.
19 years ago
Jason Parker fc0ea46f04 Merged revisions 77795 via svnmerge from
19 years ago
Luigi Rizzo f66dbeb8f3 print formats as 0x%x instead of %d in a warning message.
19 years ago
Russell Bryant 06f618a1ca Remove an XXX comment noting that it would be nice for a declaration to be
19 years ago
Russell Bryant ad094d5109 Merged revisions 77785 via svnmerge from
19 years ago
Russell Bryant a2fc80d4a6 Merged revisions 77780 via svnmerge from
19 years ago
Joshua Colp 3733874f49 Merged revisions 77771 via svnmerge from
19 years ago
Joshua Colp 7bd9b905e4 Merged revisions 77460 via svnmerge from
19 years ago
Mark Michelson 57d5d489a7 Merged revisions 77380 via svnmerge from
19 years ago
Tilghman Lesher 03c973ab2d Merged revisions 77350 via svnmerge from
19 years ago
Tilghman Lesher 620a5a11e4 Merged revisions 77348 via svnmerge from
19 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 years ago
Russell Bryant 3ed2deb7df Ensure that the read from /dev/urandom returns a positive result
19 years ago
Russell Bryant 77a75d46b2 Add a link to the list of assigned RTP payload types for convenience.
19 years ago
Luigi Rizzo 5a96f8aa72 document how the RTP marker bit is passed for video frames,
19 years ago
Luigi Rizzo f1aadc8161 add an entry for h263plus in an empty slot of the rtp types.
19 years ago
Mark Michelson b37f7ab577 Merged revisions 77154 via svnmerge from
19 years ago
Luigi Rizzo a1a5701821 change the debug level to 3 for an exceedingly annoying message
19 years ago
Luigi Rizzo 8f4d728fe0 Merged revisions 77022 via svnmerge from
19 years ago
Joshua Colp 2db4e2b19b Move manager users list over to an rwlist.
19 years ago
Joshua Colp 58004e3741 Don't bother calling AST_RWLIST_EMPTY on a list before AST_RWLIST_TRAVERSE, it's just a double check.
19 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
19 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
19 years ago
Russell Bryant f1f72312bb (closes issue #10192)
19 years ago
Joshua Colp 93b72115d1 Add support for using /dev/urandom to get random numbers on systems that support it.
19 years ago
Russell Bryant d5b4fde291 Merged revisions 76132 via svnmerge from
19 years ago
Luigi Rizzo 925ebbb2b3 expose struct ast_ha so external code can do things such as printing it
19 years ago
Tilghman Lesher 4af3f12b29 Reduce some logging contention by switching several locks over to rwlocks
19 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
19 years ago
Russell Bryant f3b1eab2f3 Remove some debug code that was added in revision 75894, which removed some
19 years ago
Luigi Rizzo 20448013df comment out some terribly expensive debugging code
19 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
19 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
19 years ago
Russell Bryant 9ffd55b6f9 Merged revisions 75403 via svnmerge from
19 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
19 years ago