Commit Graph

1315 Commits (4765cf4553924050a3c0bfa581efaba8ffc50c55)

Author SHA1 Message Date
Russell Bryant 2ac281e0ed Merged revisions 80426 via svnmerge from
18 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
18 years ago
Steve Murphy 337c44236d This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision.
18 years ago
Steve Murphy b69734ae09 Stephn Davies reports that this will help make things work on 64-bit machines
18 years ago
Jason Parker 100e2387db Merged revisions 79904 via svnmerge from
18 years ago
Russell Bryant f5bf66bcd7 This commit adds a scheduler API call, ast_sched_replace that can be used
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Tilghman Lesher 918348f03c Missing from murf's last trunk commit, which was why trunk won't compile
18 years ago
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
18 years ago
Joshua Colp 94b1dda1fa Merged revisions 79334 via svnmerge from
18 years ago
Joshua Colp 3dac92ecbf Merged revisions 79207 via svnmerge from
18 years ago
Russell Bryant 5f0c3e7dbc constify the return value of reason2str
18 years ago
Steve Murphy 526d1f39a2 Merged revisions 79099 via svnmerge from
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Russell Bryant fef7773d0b Merged revisions 78995 via svnmerge from
18 years ago
Russell Bryant 9d1acad76b Fix a problem that I had introduced into MWI handling. I had ignored
18 years ago
Joshua Colp 22114b509d Add support for using epoll instead of poll. This should increase scalability and is done in such a way that we should be able to add support for other poll() replacements.
18 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Joshua Colp 218241f174 Use the linkedlists.h macros for the manager action list.
18 years ago
Joshua Colp 9ef1b0a974 Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
18 years ago
Doug Bailey 3e426df072 Change the fsk filter used in CID and TDD decode to an integer based implementation
18 years ago
Mark Michelson c4c0e45c8b Merged revisions 78103 via svnmerge from
18 years ago
Russell Bryant 6af571e79a Merged revisions 78184 via svnmerge from
18 years ago
Russell Bryant 1a4bd1ec63 Merged revisions 78143 via svnmerge from
19 years ago
Russell Bryant 1765f903c4 Fix building res_crypto on systems that init locks with constructors.
19 years ago
Russell Bryant befb383d16 Merged revisions 78095 via svnmerge from
19 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
19 years ago
Joshua Colp d51079b70a Merged revisions 77863 via svnmerge from
19 years ago
Joshua Colp 1d07328918 Merged revisions 77831 via svnmerge from
19 years ago
Joshua Colp 3aaf122439 Add support for call forwarding and timeouts to the dialing API.
19 years ago
Russell Bryant 935982d15b Merged revisions 77788 via svnmerge from
19 years ago
Tilghman Lesher 059a7aa862 Cleanup of res_agi, ensuring thread safety (closes issue #10288)
19 years ago
Tilghman Lesher 1aa9e4fc4d Merged revisions 76937 via svnmerge from
19 years ago
Tilghman Lesher db9d7764e0 Enhance AGI with several fixes:
19 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
19 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
19 years ago
Russell Bryant f1f72312bb (closes issue #10192)
19 years ago
Joshua Colp 91c3d90e8f Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
19 years ago
Joshua Colp 93b72115d1 Add support for using /dev/urandom to get random numbers on systems that support it.
19 years ago
Luigi Rizzo 925ebbb2b3 expose struct ast_ha so external code can do things such as printing it
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
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
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 dfc9970e15 Make trunk build once again.
19 years ago
Luigi Rizzo 72b99a2817 Introduce ast_parse_arg() , a generic function to parse strings
19 years ago
Joshua Colp 344e6fd016 Change the function name slightly... just for kpfleming!
19 years ago
Joshua Colp 0b0e64fe2f Add in check for the GCC attribute deprecated. It may be used soon!
19 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.
19 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.
19 years ago
Russell Bryant 8d1e53958c Merge a bunch of doxygen updates to header files. This includes changes to
19 years ago
Luigi Rizzo e950538bdd Small improvement to the STUN support so it can be used by
19 years ago
Joshua Colp fde3d4b086 Use linkedlist macros for UDPTL protocol list.
19 years ago
Joshua Colp 7e015109a2 Use the linkedlists.h AST_LIST_NEXT macro for modifying the list of results.
19 years ago
Joshua Colp 2d3f9ce25b Merged revisions 74572 via svnmerge from
19 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.
19 years ago
Joshua Colp 406c3df40e Change the speech API to allow passing the format through to the engine.
19 years ago
Jason Parker 8a5cea16bc Merged revisions 74374 via svnmerge from
19 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)
19 years ago
Jason Parker ef94957540 (closes issue #7596)
19 years ago
Olle Johansson a1b9cbcd31 Implementation of a feature that will disable "missed calls" counters on SIP phones.
19 years ago
Tilghman Lesher ba857cc8a9 Merged revisions 73985 via svnmerge from
19 years ago
Tilghman Lesher 935bd057f8 Restore EXP2 and LOG2 functions, by providing mathematical identify functions, when the underlying C functions are not available.
19 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
19 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.
19 years ago
Russell Bryant 4a6f3770f9 Fix my recent change for sending large files via the http server. This code
19 years ago
Russell Bryant 408dbc4304 Merge changes from team/russell/http_filetxfer
19 years ago
Tilghman Lesher a952147446 Remove the ill-advised ast_restrdupa API call and related structures
19 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)
19 years ago
Jason Parker 7a1c2d94bb Add manager events for RTCP statistics.
19 years ago
Steve Murphy c1bb0fc34b This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.
19 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.
19 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
19 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
19 years ago
Joshua Colp 679733c52a Use read/write lock based lists for group counting.
19 years ago
Russell Bryant 33c66c4e77 Put parenthesis around the level argument to ast_debug()
19 years ago
Russell Bryant 7f437de523 Add a new macro, ast_debug(), which combines the check of the value of
19 years ago
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
19 years ago
Jason Parker 7ce2280b70 Merged revisions 68814 via svnmerge from
19 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
19 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
19 years ago
Olle Johansson bce7e353d6 Merged revisions 67993 via svnmerge from
19 years ago
Russell Bryant 65e8178c2b Constify the return values of ast_parking_ext() and ast_pickup_ext()
19 years ago
Russell Bryant 18101ff0e3 Merged revisions 67716 via svnmerge from
19 years ago
Russell Bryant 7903eac38f Merged revisions 67492 via svnmerge from
19 years ago
Russell Bryant 508d36f5ad Merged revisions 67308 via svnmerge from
19 years ago
Russell Bryant e4cd3c1cc2 Fix some compiler warnings in C++ modules.
19 years ago
Russell Bryant 605368649e Merge major changes to the way device state is passed around Asterisk. The two
19 years ago
Russell Bryant ce4051a803 Merged revisions 66775 via svnmerge from
19 years ago
Olle Johansson 0b2db74e5a Issue #9842 - Doxygen updates by snuffy. Thanks!
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
Jason Parker 4aaa1d1ec1 Merged revisions 65877 via svnmerge from
19 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
19 years ago
Steve Murphy 4572edae31 Merged revisions 65200 via svnmerge from
19 years ago
Olle Johansson bdd2b74ced Issue #5930 - Remove dependencies on res_adsi.so - clwade
19 years ago
Tilghman Lesher fe20320018 Merged revisions 64820 via svnmerge from
19 years ago
Russell Bryant e090c28540 Add two new dialplan functions: ENUMQUERY and ENUMRESULT. These functions
19 years ago
Russell Bryant 314c874d7d I noted this on the dev list but got no response, so I just did it myself.
19 years ago
Joshua Colp 5394364048 Merged revisions 63286 via svnmerge from
19 years ago