Commit Graph

2112 Commits (4cc1606d2708c9435e3e5726891b7882e5d62660)

Author SHA1 Message Date
Joshua Colp 90f6a8eeee Merged revisions 162204 via svnmerge from
17 years ago
Joshua Colp f02e8e9ea9 Merged revisions 162188 via svnmerge from
17 years ago
Russell Bryant da0737c00c Merged revisions 161948 via svnmerge from
17 years ago
Brandon Kruse 390b5bbcd6 Note that the recently changed waittime parameter is in milliseconds.
17 years ago
Tilghman Lesher 58716e94ba Allocate enough space initially for the message.
17 years ago
Joshua Colp db99faa00d Fix a regression introduced when the PBX timeouts were converted to milliseconds. collect_digits now gets milliseconds fed to it, not seconds.
17 years ago
Eliel C. Sardanons bc03323251 - Fix a leak while printing an argument description.
17 years ago
Sean Bright fbb542055f Merged revisions 161426 via svnmerge from
17 years ago
Russell Bryant de811c9490 Merged revisions 161287 via svnmerge from
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
17 years ago
Tilghman Lesher da8069394b The first file should have a blank config filename in the structure, so that
17 years ago
Eliel C. Sardanons 4900f83f56 Fix minor coding guidelines introduced with CLI permissions.
17 years ago
Jeff Peeler 8dd432ec5e Merged revisions 161013 via svnmerge from
17 years ago
Mark Michelson 21a3c93ef2 Merged revisions 160943 via svnmerge from
17 years ago
Jason Parker 85034a7f8e Another place this is missing
17 years ago
Jason Parker b147256fb5 Fix typo when ListCategories returns none.
17 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
17 years ago
Sean Bright 4dc60e7560 Merged revisions 159976 via svnmerge from
17 years ago
Eliel C. Sardanons 033bffd32f Introduce CLI permissions.
17 years ago
Michiel van Baak 1b6a5b7524 Merged revisions 159897 via svnmerge from
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Kevin P. Fleming 9a7c28cd5a we can now build with -Wformat=2, which found a couple of real bugs
17 years ago
Russell Bryant bcde91337b Make a formatting change to test a new post-commit hook for reviewboard.
17 years ago
Russell Bryant bd341895b3 Make a formatting change to test a new post-commit hook for reviewboard.
17 years ago
Russell Bryant 40a52b50fa Make a formatting change to test a new post-commit hook for reviewboard.
17 years ago
Kevin P. Fleming aa0e888629 add support for event suppression for AMI-over-HTTP
17 years ago
Tilghman Lesher 6e6e02ce1f If the config file does not exist, then the first use crashes Asterisk.
17 years ago
Jeff Peeler 1abffcee9f Always parse arguments in park_call_exec so that app_args is valid. This prevents a crash when executing Park from the dialplan with no arguments.
17 years ago
Steve Murphy c5e64b2ac4 Merged revisions 159316 via svnmerge from
17 years ago
Tilghman Lesher bb80c835e0 Add an option, waitfordialtone, for UK analog lines which do not end a call
17 years ago
Tilghman Lesher f9461535d3 Don't limit the length of the hint at the final step (from ~8100 chars max
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Matthew Nicholson 69d85eaca9 Fix compiling in dev mode.
17 years ago
Matthew Nicholson f3d086256c Added EVENT_FLAG_AGI and used it for manager calls in res_agi.c
17 years ago
Tilghman Lesher 455284ebc1 Add a bit of documentation (thanks, I-MOD) on what the silence threshold
17 years ago
Matthew Nicholson 926eb0940b Make ast_streamfile() check the result of ast_openstream() before doing
17 years ago
Steve Murphy 11e22239cc Merged revisions 158603 via svnmerge from
17 years ago
Tilghman Lesher 35213dff98 Allow space within an extension, when the space is within a character class.
17 years ago
Tilghman Lesher 7bd6f1744b Merged revisions 158600 via svnmerge from
17 years ago
Russell Bryant 6fb1f86054 Merged revisions 158539 via svnmerge from
17 years ago
Steve Murphy 3c01868040 Merged revisions 158483 via svnmerge from
17 years ago
Jason Parker ea1446635e Make sure we add the Event header for CoreShowChannels.
17 years ago
Mark Michelson 3a9c27459e Merged revisions 158072 via svnmerge from
17 years ago
Ryan Brindley e27f9325ea more formatting corrections :: one line for loops and if statements still need {}
17 years ago
Ryan Brindley ad918da94f formatting changes :: one line for loops and if statements should have {}
17 years ago
Jeff Peeler d12263a16a (closes issue #12929)
17 years ago
Kevin P. Fleming 8d5deb312b Merged revisions 157859 via svnmerge from
17 years ago
Terry Wilson d66a8cd264 Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config
17 years ago
Tilghman Lesher afb571ba8f Starting with a change to ensure that ast_verbose() preserves ABI compatibility
17 years ago
Mark Michelson 07a22680ee If malloc returns NULL, we need to return NULL immediately or
17 years ago
Mark Michelson d91f1df3e0 Merged revisions 157305 via svnmerge from
17 years ago
Steve Murphy f68bfa4ff3 (closes issue #13420)
17 years ago
Eliel C. Sardanons 7a20daefed Avoid a not needed cast, making code more readable.
17 years ago
Russell Bryant 1148e648b8 Fix a few more places where the case insensitive hash should be used since
17 years ago
Tilghman Lesher 777d5ee470 Ping is missing the standard double-newline after the event.
17 years ago
Tilghman Lesher c2d30ffaa5 Merged revisions 156688 via svnmerge from
17 years ago
Jeff Peeler 93a59f5bda (closes issue #13891)
17 years ago
Eliel C. Sardanons a22928b853 Introduce XML documentation for:
17 years ago
Eliel C. Sardanons 62a32fef40 Fix a typo introduced when changing xmldoc_has_arguments() to xmldoc_has_inside()
17 years ago
Eliel C. Sardanons df6b78b742 Remove trailing whitespaces
17 years ago
Steve Murphy 449c012c68 Merged revisions 156297 via svnmerge from
17 years ago
Russell Bryant e2133648f9 Merged revisions 156164 via svnmerge from
17 years ago
Eliel C. Sardanons 15d30a56cd - The paramname is a pointer allocated with strdup() or malloc(), so,
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Eliel C. Sardanons 6f31fed83f Implement AGI XML documentation parsing functions.
17 years ago
Pari Nannapaneni f50966c16a changing comment style to conform coding guidelines
17 years ago
Pari Nannapaneni 7a2b0102f1 Patch by Ryan Brindley -- Make sure that manager refuses any duplicate 'new category' requests in updateconfig
17 years ago
Tilghman Lesher a974729765 Fix memory leak when MALLOC_DEBUG is enabled.
17 years ago
Eliel C. Sardanons 23adb8e509 Move all the XML documentation API from pbx.c to xmldoc.c.
17 years ago
Sean Bright 48522988ab In order to move away from nested function use, some changes to the recently introduced
17 years ago
Sean Bright 9ef09ad1d4 Merged revisions 155553 via svnmerge from
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Sean Bright 1d09d193e7 Convert open-coded linked list in indications to the AST_LIST_* macros. This
17 years ago
Russell Bryant 1a239454f1 Fix some code in chan_sip that was intended to unlink multiple objects from a
17 years ago
Eliel C. Sardanons 9cc7bc998b If 'asterisk.conf' is not found, instead of giving up,
17 years ago
Eliel C. Sardanons 65d4d1eb0f Fix an asterisk crash if no asterisk.conf configuration file is present.
17 years ago
Eliel C. Sardanons e771f08f60 Simplify the output of [See Also].
17 years ago
Sean Bright 6ac794074e Update a couple places to use the new ast_channel_search_locked API call.
17 years ago
Tilghman Lesher 81fb7597e5 Don't read history on -rx commands.
17 years ago
Tilghman Lesher 0d25ddd366 Add LISTFILTER dialplan function, along with supporting documentation. See
17 years ago
Steve Murphy f7c20e0dec Merged revisions 154685 via svnmerge from
17 years ago
Eliel C. Sardanons 990a6bebe8 Add more SeeAlso references based on TFOT.
17 years ago
Eliel C. Sardanons f18699be24 - Add more <see-also> based on TFOT.
17 years ago
Sean Bright 086a52d9d1 Introduce a new API call ast_channel_search_locked, which iterates through the
17 years ago
Tilghman Lesher 2cc8e25222 Slightly optimize ast_devstate_str and rename global functions devstate2str and config_text_file_save to have an ast_ prefix
17 years ago
Sean Bright f349f18eaa GLOB_BRACE is already added to MY_GLOB_FLAGS if it is supported on the
17 years ago
Sean Bright bc1629a9e8 Fix build errors.
17 years ago
Tilghman Lesher fd6ee6e1f2 Merged revisions 154060 via svnmerge from
17 years ago
Kevin P. Fleming bd4eb070f3 bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Mark Michelson d521ad9696 * Fixed timeout logic in the dialing API as setting timeouts
17 years ago
Terry Wilson 5fe37e47c6 Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
17 years ago
Russell Bryant 511ce6b2bf Use the ast_str API call to reset the string instead of manually editing its internals
17 years ago
Kevin P. Fleming 85f78531ce Merged revisions 152811 via svnmerge from
17 years ago
Kevin P. Fleming 10d36d9f34 fix a few small things found by using sparse
17 years ago
Mark Michelson de90c84b1a After seeing another problem in #asterisk stemming from
17 years ago
Tilghman Lesher fa06ce2e6c Track down and fix annoying lock errors
17 years ago
Steve Murphy 6fad66dfb3 Merged revisions 152535 via svnmerge from
17 years ago
Russell Bryant 316f3897a8 Merged revisions 151905 via svnmerge from
17 years ago
BJ Weschke 9aefadd7c1 Do NOT attempt to do anything with the ast_config struct when it's been returned as INVALID by the config file interpreter.
17 years ago
Kevin P. Fleming 1ddc834b39 cleaup of the TCP/TLS socket API:
17 years ago
BJ Weschke 09e9b5d208 Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when you use a dialplan function that requires a channel and then you don't provide one or provide an invalid one in the Channel: parameter. We'll handle this situation exactly the same way it was handled in pbx.c back on r61766.
17 years ago
Michiel van Baak 805556773f Fix CLI command 'channel request hangup'
17 years ago
Mark Michelson 4ad187cba4 Merged revisions 150304 via svnmerge from
17 years ago
Mark Michelson 8a1d9d1678 Merged revisions 150298,150301 via svnmerge from
17 years ago
Mark Michelson 29a8fe20c8 Merged revisions 149204 via svnmerge from
17 years ago
Tilghman Lesher d5837ba8c2 Add additional memory debugging to several core APIs, and fix several memory
17 years ago
Kevin P. Fleming b17413c992 Merged revisions 148611 via svnmerge from
17 years ago
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
17 years ago
Steve Murphy db7299f4bc Hmmm. Nobody (but me) is interested in seeing
17 years ago
Olle Johansson 32d93bbc0e Highlightning even more bugs in the current tcp/tls implementation.
17 years ago
Sean Bright 1dedb785ab Don't include logger.h in asterisk.h by default as it is causing problems building
17 years ago
Mark Michelson 9851feb8fb The priority was unnecessary for the manager atxfer, so it has
17 years ago
Mark Michelson 6d70f45506 Merged revisions 146026 via svnmerge from
17 years ago
Tilghman Lesher 8b14e5f493 Reverting format addition for now
17 years ago
Tilghman Lesher f5d5eb5e19 Fudges for wav16, just like wav49
17 years ago
Jeff Peeler c897b4e630 (closes issue #13139)
17 years ago
Steve Murphy e235a07376 (closes issue #13557)
17 years ago
Tilghman Lesher 9335b3ad34 Allow people to select the old console behavior of white text on a black
17 years ago
Jeff Peeler 0dc7ac9a6c Explicitly setting these fields to NULL was done because I wasn't sure if they would be NULL otherwise. Since they will be set automatically, removing.
17 years ago
Jeff Peeler 2ec290b09d Similar to r143204, masquerade the channel in the case of Park being called from AGI.
17 years ago
Jeff Peeler 50923eab5d This commit squashes together three commits because the wrong approach was originally used. (One of the commits was only one line.)
17 years ago
Jeff Peeler abc88c1d61 fix some comment placement
17 years ago
Jeff Peeler 7d8d1f50bb Explicitly set args in park_call_exec NULL so in the case of no options being passed in, there
17 years ago
Sean Bright 6855b63d44 Fix a bug with the last item in CLI history getting duplicated when
17 years ago
Jeff Peeler 4b22fb221c remove superfluous reference counting operations in manage_parkinglot since ao2_interator_next increments the ref count automatically
17 years ago
Sean Bright b29fb615ae Resolve a subtle bug where we would never successfully be able to get
17 years ago
Terry Wilson 84b0093bef The dialing API should inherit datastores as well as variables
17 years ago
Tilghman Lesher 529874de7b Add schedule extensions to app_meetme. In addition, the reporter found a
17 years ago
Mark Michelson 7eae109418 Okay, this should really do it now. While I did manage
17 years ago
Mark Michelson e6799e1c99 if (!(x) == 0) is the same as
17 years ago
Mark Michelson a23b8c9158 The logic surrounding the return value of ast_spawn_extension
17 years ago
Michiel van Baak 90751b16ca Merge the cli_cleanup branch.
17 years ago
Kevin P. Fleming 629861a705 Merged revisions 144924-144925 via svnmerge from
17 years ago
Steve Murphy 579177ae80 Merged revisions 144677 via svnmerge from
17 years ago
Steve Murphy e74584ca3c (closes issue #13557)
17 years ago
Steve Murphy 8343faed0e Merged revisions 144066 via svnmerge from
17 years ago
Mark Michelson 48ffe6e772 If attempting to free a NULL pointer when MALLOC_DEBUG
17 years ago
Mark Michelson 224980b07b Merged revisions 143337 via svnmerge from
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Tilghman Lesher bbf8c3d7cc When checking for an encoded character, make sure the string isn't blank, first.
17 years ago
Tilghman Lesher 8c53dd7f5e Merged revisions 142740 via svnmerge from
17 years ago
Steve Murphy 67f7ac0499 Merged revisions 142675 via svnmerge from
17 years ago
Steve Murphy c4fc8fe4be Merged revisions 142575 via svnmerge from
17 years ago
Steve Murphy 4fc65a69a2 Merged revisions 142474 via svnmerge from
17 years ago
Russell Bryant bdfd731b8b Merged revisions 142354 via svnmerge from
17 years ago
Richard Mudgett 75e95cb2b3 Cleaned up comment
17 years ago
Russell Bryant 4f077691bc Merged revisions 142063 via svnmerge from
17 years ago
Russell Bryant fbe13cfb86 Modify ast_answer() to not hold the channel lock while calling ast_safe_sleep()
17 years ago
Russell Bryant 1452b6dd97 Merged revisions 141806 via svnmerge from
17 years ago