Commit Graph

1225 Commits (94bb75cb7b5d9ceb0862d18b77a12967c85f6e5e)

Author SHA1 Message Date
Luigi Rizzo 925ebbb2b3 expose struct ast_ha so external code can do things such as printing it
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
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
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 dfc9970e15 Make trunk build once again.
18 years ago
Luigi Rizzo 72b99a2817 Introduce ast_parse_arg() , a generic function to parse strings
18 years ago
Joshua Colp 344e6fd016 Change the function name slightly... just for kpfleming!
18 years ago
Joshua Colp 0b0e64fe2f Add in check for the GCC attribute deprecated. It may be used soon!
18 years ago
Joshua Colp e498488bde For my next trick I will make it so dialplan functions no longer need to call ast_module_user_add and ast_module_user_remove. These are now called in the ast_func_read and ast_func_write functions outside of the module.
18 years ago
Joshua Colp b8cd949cce Applications no longer need to call ast_module_user_add and ast_module_user_remove. This is now taken care of in the pbx_exec function outside of the application.
18 years ago
Russell Bryant 8d1e53958c Merge a bunch of doxygen updates to header files. This includes changes to
18 years ago
Luigi Rizzo e950538bdd Small improvement to the STUN support so it can be used by
18 years ago
Joshua Colp fde3d4b086 Use linkedlist macros for UDPTL protocol list.
18 years ago
Joshua Colp 7e015109a2 Use the linkedlists.h AST_LIST_NEXT macro for modifying the list of results.
18 years ago
Joshua Colp 2d3f9ce25b Merged revisions 74572 via svnmerge from
18 years ago
Joshua Colp f8e605fe25 Allow the native formats of a channel to influence the audio that is going to the engine. The best format will try to be chosen with an ultimate fallback to signed linear if possible.
18 years ago
Joshua Colp 406c3df40e Change the speech API to allow passing the format through to the engine.
18 years ago
Jason Parker 8a5cea16bc Merged revisions 74374 via svnmerge from
18 years ago
Jason Parker 76e2e39f77 Fix building that was broken by recent monitor.h changes. Thanks Russell for pointing this out (and pointing out what I probably did to prevent gcc from fixing it - don't ctrl-C builds)
18 years ago
Jason Parker ef94957540 (closes issue #7596)
18 years ago
Olle Johansson a1b9cbcd31 Implementation of a feature that will disable "missed calls" counters on SIP phones.
18 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
18 years ago
Tilghman Lesher 935bd057f8 Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
18 years ago
Steve Murphy 1827bcba77 These changes fix 10145 and 10150, a prob with BSD and exp2/log2 not existing, as well as the bootstrap needing a small upgrade for openbsd. Many thanks to mvanbaak
18 years ago
Steve Murphy 6a4efe5d5a In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.
18 years ago
Russell Bryant 4a6f3770f9 Fix my recent change for sending large files via the http server. This code
18 years ago
Russell Bryant 408dbc4304 Merge changes from team/russell/http_filetxfer
18 years ago
Tilghman Lesher a952147446 Remove the ill-advised ast_restrdupa API call and related structures
18 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
18 years ago
Jason Parker 7a1c2d94bb Add manager events for RTCP statistics.
18 years ago
Steve Murphy c1bb0fc34b This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.
18 years ago
Steve Murphy c6ed12405f These changes were submitted via bug 6683, to allow CID detection in India, with carriers that do Polarity/DTMF CID signalling.
18 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
18 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
18 years ago
Joshua Colp 679733c52a Use read/write lock based lists for group counting.
18 years ago
Russell Bryant 33c66c4e77 Put parenthesis around the level argument to ast_debug()
18 years ago
Russell Bryant 7f437de523 Add a new macro, ast_debug(), which combines the check of the value of
18 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
18 years ago
Jason Parker 7ce2280b70 Merged revisions 68814 via svnmerge from
18 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
18 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
18 years ago
Olle Johansson bce7e353d6 Merged revisions 67993 via svnmerge from
18 years ago
Russell Bryant 65e8178c2b Constify the return values of ast_parking_ext() and ast_pickup_ext()
18 years ago
Russell Bryant 18101ff0e3 Merged revisions 67716 via svnmerge from
18 years ago
Russell Bryant 7903eac38f Merged revisions 67492 via svnmerge from
18 years ago
Russell Bryant 508d36f5ad Merged revisions 67308 via svnmerge from
18 years ago
Russell Bryant e4cd3c1cc2 Fix some compiler warnings in C++ modules.
18 years ago
Russell Bryant 605368649e Merge major changes to the way device state is passed around Asterisk. The two
18 years ago
Russell Bryant ce4051a803 Merged revisions 66775 via svnmerge from
18 years ago
Olle Johansson 0b2db74e5a Issue #9842 - Doxygen updates by snuffy. Thanks!
18 years ago