Commit Graph

91 Commits (4e0947c5f1f9c9583bff9f2be1b0c2810263e3e9)

Author SHA1 Message Date
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Russell Bryant f1f72312bb (closes issue #10192)
18 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
18 years ago
Russell Bryant 9ffd55b6f9 Merged revisions 75403 via svnmerge from
18 years ago
Joshua Colp 344e6fd016 Change the function name slightly... just for kpfleming!
18 years ago
Joshua Colp e498488bde For my next trick I will make it so dialplan functions no longer need to call ast_module_user_add and ast_module_user_remove. These are now called in the ast_func_read and ast_func_write functions outside of the module.
18 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
18 years ago
Steve Murphy 6a4efe5d5a In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
18 years ago
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
18 years ago
Russell Bryant 9aa28d2d3d Add "core dump funcdocs" CLI command
18 years ago
Russell Bryant f1468915c7 change the "core dump appdocs" CLI command to use the new API for creating
18 years ago
Tilghman Lesher 396a37eba8 Fix trunk brokenness; also, optimize application registration
18 years ago
Steve Murphy 2462d5ab4f Cleaning up a small disaster I created earlier
18 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
18 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
18 years ago
Jason Parker 63535ada60 Fixes for ast_strlen_zero() janitor project.
18 years ago
Russell Bryant ff4fc97911 Convert pbx.c to use ast_debug() for debug logging.
18 years ago
Russell Bryant 334d8d9dc4 Add channel variable manager event
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Russell Bryant b1490716f6 remove a bogus comment that came from copy/paste
18 years ago
Russell Bryant 605368649e Merge major changes to the way device state is passed around Asterisk. The two
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Steve Murphy a76ff39c0e Merged revisions 64193 via svnmerge from
18 years ago
Steve Murphy 8e90622210 Merged revisions 62738 via svnmerge from
18 years ago
Steve Murphy fe7068a51b Merged revisions 62689 via svnmerge from
18 years ago
Russell Bryant ec0cae93a4 Merged revisions 62171 via svnmerge from
18 years ago
Russell Bryant 0c9ef3221c Merged revisions 61765 via svnmerge from
18 years ago
Dwayne M. Hubbard 2151e532fe changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
18 years ago
Dwayne M. Hubbard 6a5f3599bb added HAVE_SYSINFO preprocessor directives for portability and general happiness
18 years ago
Dwayne M. Hubbard 62256ee410 added option_minmemfree for use in asterisk.conf to specify the amount of minimum free memory prior to accepting calls. added CLI 'core show sysinfo' to display system information
18 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
18 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
18 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
18 years ago
Tilghman Lesher 433a7a721c Merged revisions 58946 via svnmerge from
18 years ago
Tilghman Lesher 8c4c5d9910 Fix trunk so that it compiles again
18 years ago
Russell Bryant 1cf3a12047 Merged revisions 58931 via svnmerge from
18 years ago
Steve Murphy 96fe5e2286 Merged revisions 57826 via svnmerge from
19 years ago
Joshua Colp 96693aca99 Don't try to do recursive locking/unlocking when it isn't supported.
19 years ago
Steve Murphy 1220306aab Merged revisions 57473 via svnmerge from
19 years ago
Joshua Colp 5bc0d8d324 Minor code cleanup... nothing to write home about.
19 years ago
Joshua Colp e7b03a991e Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.
19 years ago
Steve Murphy 462f759e67 Merged revisions 57139 via svnmerge from
19 years ago
Joshua Colp 9577a1c65a Merged revisions 56805 via svnmerge from
19 years ago
Tilghman Lesher e5304e54cc Merged revisions 53070 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Tilghman Lesher f7dd25f20c Fix bug introduced during constification (reported by tzanger via IRC)
19 years ago
Jason Parker 5d25265403 Merged revisions 51265 via svnmerge from
19 years ago
Kevin P. Fleming 17ea9c930e make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
19 years ago