Commit Graph

207 Commits (812f5b51cb56a36668decc6dfc83adeca185429e)

Author SHA1 Message Date
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
Russell Bryant 5a60431c29 conver the lists of dundi packets to use the list macros
19 years ago
Russell Bryant 7ce2726c09 - convert the dundi precache list to use the list macros
19 years ago
Russell Bryant b992d92742 - convert the lists of dundi_transactions to the list macros
19 years ago
Russell Bryant 31cd56f76e remove unneeded define - it is already in asterisk.h
19 years ago
Russell Bryant 03d005e472 convert the dundi_request list to use the list macros
19 years ago
Russell Bryant dbbe944da8 convert existing comments to doxygen format
19 years ago
Russell Bryant 149e45924a fix indentation for this function
19 years ago
Russell Bryant fcb2809e45 immediately handle ast_strdupa result so that one more level of indentation
19 years ago
Russell Bryant ef775bbd66 fix the indentation of a large block
19 years ago
Russell Bryant ed320702d9 handle a memory allocation failure immediately so the following large block
19 years ago
Russell Bryant 4cfcacf6c9 - convert the list of dundi mappings to use the list macros
19 years ago
Russell Bryant d9fa5f3c89 change a list traversal to use a for loop
19 years ago
Russell Bryant c7fea723a3 fix the indentation of a large block of code
19 years ago
Russell Bryant 059f0bd108 immediately handle a memory allocation failure so the rest of the function
19 years ago
Russell Bryant d66de679d9 - convert some comments to doxygen format
19 years ago
Russell Bryant 8682a7378d add a small optimization for deleting all the members of a list
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
19 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
19 years ago
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
19 years ago
Luigi Rizzo d0bc6c20a7 - remove an unnecessary cast and recomputation of (timeout - now);
19 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
20 years ago
Mark Spencer c3447c7cce Fix a few compile warnings (turned errors) and disable -Werror on the
20 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
20 years ago
Russell Bryant 2f2530b8e6 remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD
20 years ago
Kevin P. Fleming 96bf384e7d major dialplan functions update
20 years ago
Russell Bryant 452f87a465 Merged revisions 9609 via svnmerge from
20 years ago
Russell Bryant 6f71e1178e constify arguments in more places where strings should not be modified (issue #6286)
20 years ago
Kevin P. Fleming 065a368463 remove some more deprecated (pre-1.2) stuff
20 years ago
Russell Bryant ef1ce7aec9 Merged revisions 7634 via svnmerge from
20 years ago
Russell Bryant ec05153ac4 convert most of the option_*'s to a single ast_flags structure. Also, fix some
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Russell Bryant 987b87662c make app_queue 1.2 jump compliant (issue #5580)
20 years ago
Kevin P. Fleming a0a9769616 issue #5648
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Kevin P. Fleming 8fb55e2478 fix various bugs related to list handling of channel variables (issue #5548)
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant 65cb05b658 clean up DUNDiLookup application
20 years ago
Kevin P. Fleming a3df4cdda2 fix typo
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 1e854ea773 remove useless buffer initializations (issue #5134)
20 years ago
Kevin P. Fleming 6543de5620 use native-sign characters for strings (issue #5105)
20 years ago
Kevin P. Fleming 22b0f5d306 add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
20 years ago
Kevin P. Fleming c4be3dfb53 make query cache time configurable (bug #4524)
20 years ago
Kevin P. Fleming e5e64bfd41 header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484)
20 years ago
Kevin P. Fleming 2b8338cb52 more file version tags
20 years ago
Josh Roberson 43866b0ef2 Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin being open sourced, and able to run on x86, OSX isn't really suitable)
20 years ago
Mark Spencer 00bcbaaa05 Fix gethostname calls (bug #4198, with mods)
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Kevin P. Fleming b052fe894b ensure that the random number generator(s) are always seeded with a different value during Asterisk startup
20 years ago
Mark Spencer 18d9b26cf9 Rework channel structure to eliminate "pvt" portion of channel (bug #3573)
21 years ago
Josh Roberson d271dfa7af Fix build on OpenBSD and fix small typo. (Bug #3502)
21 years ago
Mark Spencer 9ae7f2430a Add dundi show peers summary stats (bug #3474)
21 years ago
Mark Spencer 5f726ad8c7 Merge config updates (bug #3406)
21 years ago
Russell Bryant 0c30452423 update copyright headers for 2005
21 years ago
Mark Spencer 92eb0c2018 More flagification, courtesy drumkilla (bug #3280)
21 years ago
Mark Spencer 8db8179f97 Fix DUNDi segfault
21 years ago
Mark Spencer 7abe9e6c16 List improvements from kpfleming (bugs #3166,#3140)
21 years ago
Mark Spencer cecda3fb67 Speed up ast_list macros (bug #3135)
21 years ago
Mark Spencer 61f25c3e92 Merge twisted's OSX compat fix (bug #3090)
21 years ago
Mark Spencer 9d40b8ee80 Merge slimey's Solaris compatibility (with small mods) (bug #2740)
21 years ago
Mark Spencer 06221c4ec5 Fix leaky fd issue (bug #2832)
21 years ago
Mark Spencer 6cb38ac23a Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800)
21 years ago
Mark Spencer 50010fd3d0 Fix "killa" console issue
21 years ago
Mark Spencer 9941b34dd8 Fix locking issues
21 years ago
Mark Spencer da13a5c885 Oopsies...
21 years ago
Mark Spencer f38c6ee7fa Make retrans timer less aggressive
21 years ago
Mark Spencer c46c83bc96 Complete DUNDi push (first pass) support
21 years ago
Mark Spencer 4c0c0db318 Preliminary "PRECACHE" / push support...
21 years ago
James Golovich 286ea2461d Use same defines for NetBSD as FreeBSD in pbx_dundi.c (bug 2716)
21 years ago
James Golovich 8009d53690 Pass format string
21 years ago
Mark Spencer 16e8f4ca35 Allow "dundi flush" to flush statistics too
21 years ago
Mark Spencer 11dfba3120 Add cache bypass mode
21 years ago
Mark Spencer 49da32e637 Oops
21 years ago
Mark Spencer 76b5be4c87 DUNDi performance enhancments and metrics for average lookup time.
21 years ago
Mark Spencer 82cbf28993 Add "Loopback" switch
21 years ago
Mark Spencer 69a8f90814 Fix for FreeBSD (netbsd too?) (bug #2702)
21 years ago
Mark Spencer 8c4657bddf Work on precaching
21 years ago
Mark Spencer a73fc9a283 Disable mac lookup, fix compile on NetBSD (bug #2680)
21 years ago
Mark Spencer 06dfca5d24 Add DUNDi.... (http://www.dundi.com)
21 years ago