Commit Graph

220 Commits (dd23f68d189773d91bc72b83a36f509b18683e46)

Author SHA1 Message Date
Russell Bryant 445269f001 Merged revisions 51205 via svnmerge from
19 years ago
Joshua Colp 3c1b9fc508 One const, two const. Let's stick with everything else - one const. Plus older versions of GCC don't support double const either.
19 years ago
Tilghman Lesher c4c2c546da When calling the Realtime app more than once, unset fields which were
19 years ago
Tilghman Lesher 785483f304 Modifications to allow the output of SHELL() to be split per line (Issue 8676)
19 years ago
Tilghman Lesher 6b13c4d7d4 Add function to execute a shell command and return the output (Issue 8676)
19 years ago
Kevin P. Fleming 37182c873e finish const-ifying ast_func_read()
19 years ago
Tilghman Lesher 551fbf5007 Tweak description text to match new functionality (Issue 7959)
19 years ago
Tilghman Lesher ee8b36228a Add power and right/left shift functions (Issue 7959)
19 years ago
Joshua Colp f19c6f66aa Initialize obj pointers to NULL. Gets rid of two compiler warnings.
19 years ago
Tilghman Lesher 1e1fd3c3e0 Integrate functionality tested on svncommunity users back into trunk
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Russell Bryant b93f1f3e37 Merged revisions 48956 via svnmerge from
19 years ago
Russell Bryant 527dbe399e Simplify the if statements used to check to see if the argument was "num"
19 years ago
Kevin P. Fleming 518f25f65c Merged revisions 48577 via svnmerge from
19 years ago
Luigi Rizzo 7c5f06ddcd replace ast_build_string() with ast_str_*().
19 years ago
Kevin P. Fleming a2ec1d322c update to use trunk's version of the threadstorage API
19 years ago
Kevin P. Fleming b2bd05ee83 Merged revisions 48513 via svnmerge from
19 years ago
Tilghman Lesher 496d3e72f2 Merged revisions 48382 via svnmerge from
19 years ago
Luigi Rizzo 1b372d1b0f remove an extra comma in an initializer
19 years ago
Steve Murphy 17eba0de3d Merged revisions 48017 via svnmerge from
19 years ago
Steve Murphy 8ccbe1dc56 Merged revisions 48015 via svnmerge from
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
Joshua Colp 7d1771b575 Merged revisions 47625 via svnmerge from
19 years ago
Olle Johansson f003df1315 Issue #80898 - Restoring func_enum (otmar)
19 years ago
Olle Johansson 30deec45f8 show, list, view, display... whatever.
19 years ago
Olle Johansson 11d00cac15 Adding dialplan function IFMODULE, so you can create dialplans that handle
19 years ago
Steve Murphy 647704aca5 This new function, VERSION(), created via bug report 8176, may help dialplan programmers in the future. In the meantime, they can use the algorithm I outline on the bug report notes; If anyone invents something better, I'd hope they post it
19 years ago
Steve Murphy 6bbd50bce2 update the doc string for both AEL and extensions.conf users.
19 years ago
Tilghman Lesher 9ca7c56c74 Merged revisions 44808 via svnmerge from
19 years ago
Joshua Colp f54fc75796 Timeout values are in seconds (issue #7122 reported by jmls)
19 years ago
Paul Cadach 500353e095 Extend CALLERID() function for "pres" and "ton" values
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp 29d27bfe0d Merged revisions 43933 via svnmerge from
19 years ago
Tilghman Lesher fc88db013e Remove deprecated apps and funcs
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
19 years ago
Matthew Fredrickson 33ddb53663 Various updates from PCadach's chan_h323-live branch
19 years ago
Steve Murphy 4c937339e5 As per discussion on bug 7862, the problem wasn't the fact that the documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small.
19 years ago
Steve Murphy a7b5ef30e7 With respect to bug 7862, the syntax and description are misleading to users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope.
19 years ago
Tilghman Lesher bfef0a23ff Missing field terminator
19 years ago
BJ Weschke f1b43be465 Some changes/fixes for func_curl. curl_global_init is only supposed to be called once, and if it returns non-zero, we need to give up on further executions with that instance. Additionally, let's set absolute timeout values for the CURL connections to try and prevent possible Zap (and possibly other channel tech) channel lockouts.
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Russell Bryant badabb5bb9 oops.
19 years ago
Russell Bryant 42fc890acc The behavior of REGEX when it did not match was not defined by the docs, so
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Tilghman Lesher 6fec811743 Convert func_odbc to use the prepare_and_execute callback, which helps with a database reconnection issue (bug 7693)
19 years ago
Joshua Colp 08b23695b4 Add 'l' option to CDR dialplan function which will cause it to pass the last CDR record to getvar instead of the first. (issue #7689 reported by voipgate)
19 years ago
Tilghman Lesher d99e7d4f8e Move curl version test to autoconf script
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago