Commit Graph

119 Commits (b2eb99bb476a30aab8fe9537db221e8656a4169c)

Author SHA1 Message Date
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 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.
19 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.
19 years ago
Joshua Colp 674dbeb0cf Merged revisions 75583 via svnmerge from
19 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.
19 years ago
Joshua Colp 836ea36d3c Merged revisions 74045 via svnmerge from
19 years ago
Joshua Colp 36668045a6 Merged revisions 72006 via svnmerge from
19 years ago
Kevin P. Fleming 4573b36af1 use the OpenSSL AES implementation if it's available (unless configured not to)
19 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
19 years ago
Russell Bryant f02e26feff Make sure that DUNDIRESULT is given an ID.
19 years ago
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
19 years ago
Russell Bryant c59b8876aa Merge changes from team/russell/dundi_results
19 years ago
Russell Bryant 32e03f9e4a Add the ability to dynamically specify weights for responses to DUNDi queries.
19 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.
19 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
20 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
20 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
20 years ago
Russell Bryant b7c2ae9dba - use ast_calloc instead of malloc+memset
20 years ago
Russell Bryant 0765f065ca staticize the list heads from my recent conversions to list macros
20 years ago
Russell Bryant 02eda146ac - convert permission lists to use list macros
20 years ago
Russell Bryant 5a60431c29 conver the lists of dundi packets to use the list macros
20 years ago
Russell Bryant 7ce2726c09 - convert the dundi precache list to use the list macros
20 years ago
Russell Bryant b992d92742 - convert the lists of dundi_transactions to the list macros
20 years ago
Russell Bryant 31cd56f76e remove unneeded define - it is already in asterisk.h
20 years ago
Russell Bryant 03d005e472 convert the dundi_request list to use the list macros
20 years ago
Russell Bryant dbbe944da8 convert existing comments to doxygen format
20 years ago
Russell Bryant 149e45924a fix indentation for this function
20 years ago
Russell Bryant fcb2809e45 immediately handle ast_strdupa result so that one more level of indentation
20 years ago
Russell Bryant ef775bbd66 fix the indentation of a large block
20 years ago
Russell Bryant ed320702d9 handle a memory allocation failure immediately so the following large block
20 years ago
Russell Bryant 4cfcacf6c9 - convert the list of dundi mappings to use the list macros
20 years ago
Russell Bryant d9fa5f3c89 change a list traversal to use a for loop
20 years ago
Russell Bryant c7fea723a3 fix the indentation of a large block of code
20 years ago