Commit Graph

232 Commits (b4eb773d5ea9befa25e8045a57dba550a690e541)

Author SHA1 Message Date
Tilghman Lesher 8190e96fad Merged revisions 284610 via svnmerge from
15 years ago
Terry Wilson d6e1c724e5 Remove built-in AES code and use optional_api instead
15 years ago
Matthew Nicholson 01507f4ab7 Merged revisions 271761 via svnmerge from
15 years ago
Russell Bryant be672528e6 Merged revisions 255322 via svnmerge from
15 years ago
Russell Bryant b6e5e180b9 Resolve a compiler warning on FreeBSD.
15 years ago
Leif Madsen b310356d93 Convert some DUNDI functions to XML documentation.
15 years ago
Jeff Peeler 568c057c4c Extend max call limit duration from 24.8 days to 292+ million years.
16 years ago
Tilghman Lesher 9c653c4431 DUNDILOOKUP function in 1.6 should use comma delimiters.
16 years ago
Tilghman Lesher 642bec4d6f AST-2009-005
16 years ago
David Brooks d81d6d3415 Fixing typos. Replaces "recieved" with "received" and "initilize" with "initialize"
16 years ago
Russell Bryant 742f0b90dd Remove trailing whitespace.
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Russell Bryant b564b2105f Change g_eid to ast_eid_default.
16 years ago
Sean Bright 5183cbccfc Change intializer types. Found while working on asterisk-cpp. I have a new
17 years ago
Russell Bryant 1238488319 When a reload is issued, always process the configuration for dundi.conf.
17 years ago
Russell Bryant 92e1619bab Merged revisions 163511 via svnmerge from
17 years ago
Matthew Nicholson c6244cca48 Merged revisions 163316 via svnmerge from
17 years ago
Eliel C. Sardanons 1e8e12efcf Janitor, use ARRAY_LEN() when possible.
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
Michiel van Baak 86f900b201 This commit does two things:
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
Sean Bright b7a4db0ced Start moving in changes from my resolve-shadow-warnings branch. Going to do
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Russell Bryant 8c29e699fe Merged revisions 134595 via svnmerge from
17 years ago
Russell Bryant f4a8062e93 Merge another change from team/russell/events ...
17 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
17 years ago
Tilghman Lesher ac699196f5 Merged revisions 100465 via svnmerge from
18 years ago
Russell Bryant cc4a630cd7 Merged revisions 98390 via svnmerge from
18 years ago
Jason Parker eea428cf76 Use defined return values in load_module in more places.
18 years ago
Olle Johansson 940f8f6276 Convert from LOG_DEBUG etc to ast_debug. Thanks, dimas!
18 years ago
Olle Johansson 17afebc1a6 HUGE improvements to QoS/CoS handling by IgorG
18 years ago
Russell Bryant 04ab19aef5 make something static
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo ffd86fc964 more errno.h removal
18 years ago
Steve Murphy 1a5cdeb138 a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the right thing. And some additions to removal of extens to take care of hashtab pointers in all cases.
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
Luigi Rizzo 7f8ecd2cd3 make the 'name' and 'value' fields in ast_variable const char *
18 years ago
Steve Murphy 98429d37b2 Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.
18 years ago
Kevin P. Fleming edc78d6023 improve linked-list macros in two ways:
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
Russell Bryant 1c7eb1d82b Change some uses of free() to ast_free(). (No functional differences.)
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
Joshua Colp 9409a33900 Merged revisions 86661 via svnmerge from
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Jason Parker ed690fc348 Switch dundi to new tos config format.
18 years ago
Russell Bryant 3f2e8db598 Merged revisions 85556 via svnmerge from
18 years ago
Russell Bryant e97a723cf1 Merge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
18 years ago
Russell Bryant 41d513f443 Merged revisions 83976 via svnmerge from
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Joshua Colp 6489076887 Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.
18 years ago
Russell Bryant 3d7cf301d8 Merged revisions 82802 via svnmerge from
18 years ago
Russell Bryant c0f72f5311 Merged revisions 82250 via svnmerge from
18 years ago
Joshua Colp 078595f5c5 Merged revisions 82243 via svnmerge from
18 years ago
Russell Bryant 2f4a2811b6 Add proper channel locking around the uses of datastore_add and _find. There
18 years ago
Russell Bryant 44795584b2 This should have been trunk only, I guess. oh well ... it's harmless.
18 years ago
Russell Bryant adcd4d4ab4 Merged revisions 81074 via svnmerge from
18 years ago
Russell Bryant 8d4761f8d3 localize a variable and remove a duplicate error message
18 years ago
Jason Parker fafa7d93e4 Correct the argument separator for a Dial statement in pbx_dundi.
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Joshua Colp 3f998a86a1 (closes issue #10467)
18 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
18 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
18 years ago
Joshua Colp 674dbeb0cf Merged revisions 75583 via svnmerge from
18 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
18 years ago
Joshua Colp 836ea36d3c Merged revisions 74045 via svnmerge from
18 years ago
Joshua Colp 36668045a6 Merged revisions 72006 via svnmerge from
18 years ago
Kevin P. Fleming 4573b36af1 use the OpenSSL AES implementation if it's available (unless configured not to)
18 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
18 years ago
Russell Bryant f02e26feff Make sure that DUNDIRESULT is given an ID.
18 years ago
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
18 years ago
Russell Bryant c59b8876aa Merge changes from team/russell/dundi_results
18 years ago
Russell Bryant 32e03f9e4a Add the ability to dynamically specify weights for responses to DUNDi queries.
18 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.
18 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Kevin P. Fleming cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
19 years ago
Russell Bryant 17a2888d2e Staticize one, and Constify a bunch of usage strings for CLI commands.
19 years ago
Joshua Colp eceb5c60d7 Fine, take this.
19 years ago
Joshua Colp 3521586712 Hello compiler working, goodbye compiler warning. (fix compiler warning introduced from pbx_dundi optimizations)
19 years ago
Russell Bryant 74b6314d50 Various little bits of code cleanup to reduce nesting, remove useless casts,
19 years ago
Russell Bryant 908b6ed6bc Make pbx_dundi compile again. Sorry. :(
19 years ago
Russell Bryant b1e7dd843a use the AST_MODULE_LOAD_* return codes from load_module()
19 years ago
Russell Bryant 121bd75fcc simplify a couple of loops
19 years ago
Russell Bryant 4b5ad8fb98 Do some minor cleanup to the section of code that sets the EID by getting the
19 years ago
Russell Bryant 4ffc388358 Add the ability to pass options to the Dial application when using the DUNDi
19 years ago
Russell Bryant fef9ec96c7 put flags in an enum and remove a couple of unused defines
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Russell Bryant b7c2ae9dba - use ast_calloc instead of malloc+memset
19 years ago
Russell Bryant 0765f065ca staticize the list heads from my recent conversions to list macros
19 years ago
Russell Bryant 02eda146ac - convert permission lists to use list macros
19 years ago