Commit Graph

241 Commits (bb5655de7cc0b0ab076e7b47d32013c7260de0ed)

Author SHA1 Message Date
Olle Johansson e4c544cd5a Formatting changes (coding guidelines) while thinking about something else...
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Tilghman Lesher 9809a31bb5 Merged revisions 114195 via svnmerge from
17 years ago
Tilghman Lesher 123ac5fd64 Standardized routines for forking processes (keeps all the specialized code in one place).
17 years ago
Tilghman Lesher eb930d5edd AsyncAGI should not close the manager session on error.
17 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
17 years ago
Donny Kavanagh 4aadd3c770 trivial fix for an agi error when attempting to use EAGI on a dead/hungup channel, we now print an error that makes sense
17 years ago
Tilghman Lesher 8a411ccf83 Create a centralized configuration option for silencethreshold
18 years ago
Russell Bryant 0036cde5f3 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
18 years ago
Mark Michelson 7fa044f86f Instead of a notice, make the message about a hung-up channel a debug message, and revert the original
18 years ago
Mark Michelson b403e214b1 Don't print the fact that we are using dead mode in AGI if called from the
18 years ago
Olle Johansson 9cf6138725 Formatting fixes
18 years ago
Joshua Colp cc0c25c76c Remove ast_module_user usage from res_agi. This is taken care of in the core.
18 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
18 years ago
Mark Michelson fe9821cc10 Get rid of any remaining ast_verbose calls in the code in favor of
18 years ago
Joshua Colp 5186035990 Merged revisions 98317 via svnmerge from
18 years ago
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
18 years ago
Tilghman Lesher 9c00db7c16 Add coordination between AMI and AGI applications, with an asyncagi method
18 years ago
Tilghman Lesher ba57c36bbb Add channel thread ID to the information passed to AGI.
18 years ago
Tilghman Lesher 0fc70140a5 Publish the AGI events to manager.
18 years ago
Tilghman Lesher 05dc95d302 Merged revisions 92933 via svnmerge from
18 years ago
Joshua Colp e941bbad0f Move usage of the old LOCAL_USER_* macros to the new ast_module_user_* functions in a few documentation places.
18 years ago
Joshua Colp 9ebf3afe02 Only send a SIGHUP if the pid is greater than -1, otherwise all PIDs greater than -1 will get the SIGHUP... and that is bad.
18 years ago
Tilghman Lesher 4aff884622 Pass the Asterisk version to AGI scripts as part of the initial dump of info
18 years ago
Joshua Colp 8bfdea3160 Add AGI commands for speech recognition. These mirror the dialplan applications mostly but present the information in a nicer fashion. The SPEECH RECOGNIZE command for example will return the results instead of having to query the dialplan functions.
18 years ago
Joshua Colp 6aad89b97d Fix a few log messages.
18 years ago
Luigi Rizzo 3fc2646808 remove a number of #include <fcntl.h> which are either
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo a0f06d0dd5 start using asterisk/network.h for network related headers.
18 years ago
Luigi Rizzo 5490960453 remove a bunch of duplicate includes
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
18 years ago
Russell Bryant 4afb905cf0 Print out the channel name as a prefix to the "agi debug" output. This makes
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Russell Bryant efaa9cf607 Merged revisions 84236 via svnmerge from
18 years ago
Russell Bryant 0de872da8d Merged revisions 82929 via svnmerge from
18 years ago
Jason Parker c7a9ec1691 (issue #10724)
18 years ago
Russell Bryant a955df8eb9 Merged revisions 82296 via svnmerge from
18 years ago
Russell Bryant 83e24e0af2 Merged revisions 82278 via svnmerge from
18 years ago
Russell Bryant b8ff60d307 Remove an unused variable. I have no idea why this was marked with the unused
18 years ago
Russell Bryant 4eff19f413 Merged revisions 82245 via svnmerge from
18 years ago
Joshua Colp 7cb698fb31 (closes issue #10684)
18 years ago
Russell Bryant 84643967e1 Merged revisions 80469 via svnmerge from
18 years ago
Russell Bryant 44f70278a8 Merged revisions 80360 via svnmerge from
18 years ago
Tilghman Lesher a19b2fe6e3 Twould help if we actually defined ->mod before comparing against it (reported and fixed by Juggie via IRC).
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Russell Bryant 048bb3d9e3 Fix the return value of ast_agi_fdprintf() to include the result from ast_carefulwrite()
18 years ago
Russell Bryant 38bb9400de Improve ast_agi_fdprintf() by using the ast_str() API.
18 years ago
Russell Bryant 935982d15b Merged revisions 77788 via svnmerge from
18 years ago
Tilghman Lesher 059a7aa862 Cleanup of res_agi, ensuring thread safety (closes issue #10288)
18 years ago
Tilghman Lesher 67bd05d9d1 Merged revisions 77783 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Joshua Colp 3e9886598d You need to put static in front of a static RWLIST declaration to make it really static... and don't call AST_RWLIST_HEAD_DESTROY on a statically declared list.
18 years ago
Tilghman Lesher db9d7764e0 Enhance AGI with several fixes:
18 years ago
Tilghman Lesher a1fdc1c769 Missed one conversion to comma delimiter (thanks, Juggie) and add documentation on the
18 years ago
Russell Bryant a971b4bfc4 (closes issue #10210, reported and patched by juggie)
18 years ago
Russell Bryant 7743bed9f6 Merged revisions 75401 via svnmerge from
18 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
18 years ago
Joshua Colp 48f166e87b Code cleanup of res_agi
18 years ago
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
18 years ago
Russell Bryant 8d99a2004b Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
18 years ago
Russell Bryant 93229b0fed Add a CLI command to export the AGI command docs
18 years ago
Russell Bryant 625dbb6f89 Add a note that the AGI commands array is not handled in a thread-safe way
18 years ago
Tilghman Lesher 82e2033519 Merged revisions 71657 via svnmerge from
18 years ago
Joshua Colp 9b23b9b3b2 Minor header inclusion tweak for new usage of stat()
18 years ago
Joshua Colp c00428b0b0 Use stat to determine whether the file exists or not. (issue #10038 reported by Mike Anikienko)
18 years ago
Jason Parker 68ac7f7633 Merged revisions 71068 via svnmerge from
18 years ago
Joshua Colp fd9057423a Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue #9285 reported by srdjan)
18 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
18 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
18 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
18 years ago
Joshua Colp 3f463b7668 Merged revisions 67597 via svnmerge from
18 years ago
Joshua Colp cc3c91edc2 Merged revisions 65250 via svnmerge from
18 years ago
Russell Bryant 0664aa2a73 Add gender support for AGI SAY NUMBER.
18 years ago
Olle Johansson 33915a153a Issue #9068 - make sure we quote HTML characters correctly too (seanbright)
19 years ago
Olle Johansson 71c7f6e32f Merged revisions 54772 via svnmerge from
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Tilghman Lesher d670858735 Merged revisions 48375 via svnmerge from
19 years ago
Russell Bryant af870057c1 Constify a bunch of usage strings for CLI commands.
19 years ago
Luigi Rizzo ad2589bc01 useless cast removal...
19 years ago
Tilghman Lesher 79f75ec09a Merged revisions 47053 via svnmerge from
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Russell Bryant f012ccd4a3 Merged revisions 46558 via svnmerge from
19 years ago
Russell Bryant 4337a82563 Merged revisions 46363 via svnmerge from
19 years ago
Mark Spencer 9178e4223e Fix FastAGI to not wait for the non-existant pid
19 years ago
Steve Murphy c474556659 As per bug 6779, this patch is now applied to trunk; while I was at it, I corrected a reference to a CLI command, to follow the new regime.
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Tilghman Lesher 6ae8741518 Lots more removal of deprecated things
19 years ago
Kevin P. Fleming ea399862c4 move more API into the ast_ namespace
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Joshua Colp 31cc08295c Merged revisions 42148 via svnmerge from
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Tilghman Lesher ec7bd6614a Merged revisions 40901 via svnmerge from
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant b6a99250ed Merged revisions 39935 via svnmerge from
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago