Commit Graph

222 Commits (a026dc5f437e3c32f21a16ab69f93c19a02a6c4b)

Author SHA1 Message Date
Russell Bryant 7b1aaf8791 Revert very broken fix for issue #10540 ... none of these values take ms so I
18 years ago
Russell Bryant e5be9cb65f Fix func_timeout to take values in floating point so 1.5 actually means
18 years ago
Russell Bryant cbdc6b5b2d To prevent 92138749238754 more reports of "I have unixodbc installed, but
18 years ago
Jason Parker 5305d9c27f Merged revisions 69258 via svnmerge from
18 years ago
Tilghman Lesher cb8813a250 Merged revisions 67161 via svnmerge from
18 years ago
Tilghman Lesher 70b882702c On some drivers, deallocating the statement handle isn't enough. We also have to clear the cursor (nice, Oracle)
18 years ago
Tilghman Lesher e21412d53d Merged revisions 66537 via svnmerge from
18 years ago
Dwayne M. Hubbard f4fc851405 merged qwell's func_math patch for issue 9507
18 years ago
Joshua Colp 1d4adc0174 Merged revisions 61804 via svnmerge from
18 years ago
Tilghman Lesher 1572777fa0 Merged revisions 61680 via svnmerge from
18 years ago
Russell Bryant c0aca26f30 Convert the RTPQOS function to just be additional parameter of the CHANNEL
18 years ago
Tilghman Lesher 7246207bd8 Oops, this should have been a %d all along
18 years ago
Joshua Colp 54a94c650b Fix typo in help for CDR function. (issue #9295 reported by ajohnson)
18 years ago
Tilghman Lesher 1771f9621d Function works fine, but the documentation is backwards.
18 years ago
Tilghman Lesher 2fd66654ac Issue 9162 - pbx_substitute_variables_helper assumes the buffer is initialized
18 years ago
Kevin P. Fleming 07462b8d1b add some inter-module dependencies
19 years ago
Russell Bryant 51bcb9d3be Fix the FIELDQTY function to not crash. (reported by blitzrage and Corydon on IRC)
19 years ago
Joshua Colp 290fd87817 Make func_strings build under dev mode. Didn't I do this today already in the berkeley DB?
19 years ago
Tilghman Lesher 86f51691c5 Oops.
19 years ago
Tilghman Lesher a94d8f5bd8 Merged revisions 53074 via svnmerge from
19 years ago
Tilghman Lesher 7e0a469bda Merged revisions 53069 via svnmerge from
19 years ago
Jason Parker 76eb4e76dc Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
19 years ago
Russell Bryant 8d0defa82b Fix some instances where when loading func_odbc, a double-free could occur.
19 years ago
Russell Bryant 525f5e6d75 Fix the REALTIME() dialplan function. ast_build_string() advances the string
19 years ago
Russell Bryant ab43c25d33 Merged revisions 48955 via svnmerge from
19 years ago
Kevin P. Fleming 8e900c7db7 use the proper variable type for these unixODBC API calls, eliminating warnings on 64-bit platforms that use the 'new' 64-bit types for ODBC API calls
19 years ago
Kevin P. Fleming c2490f8e72 instead of initializing the curl library every time the CURL() function is invoked, do it only once per thread (this allows multiple calls to CURL() in the dialplan for a channel to run much more quickly, and also to re-use connections to the server) (thanks to JerJer for frequently complaining about this performance problem)
19 years ago
Tilghman Lesher fda0dce406 STRFTIME() does not actually require an argument (issue 8540)
19 years ago
Steve Murphy be037061e8 might as well also document the raw values of the flag vars
19 years ago
Steve Murphy f4b1302b95 A little bit of func_cdr documentation upgrade-- no bug# involved, although 8221 may have inspired it.
19 years ago
Joshua Colp 039c552a47 Small documentation clarification for URIENCODE. (issue #8294 reported by salaud)
19 years ago
Olle Johansson d318976f4d Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
19 years ago
Steve Murphy 2ba44e6b10 update the doc string for both AEL and extensions.conf users.
19 years ago
Paul Cadach 53024e3508 CHANNEL() function sometime mix parameter and value
19 years ago
Tilghman Lesher 88873fbafa Lost of a bit of logic when this was simplified between 1.2 and 1.4 (Bug 8117)
19 years ago
Joshua Colp d2d4833b79 Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
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