Commit Graph

1618 Commits (1.6.0)

Author SHA1 Message Date
Russell Bryant dbdbdb7f43 Merged revisions 85997 via svnmerge from
18 years ago
Russell Bryant 5007769d4e Merged revisions 85994 via svnmerge from
18 years ago
Russell Bryant a4d915608b Merged revisions 85561 via svnmerge from
18 years ago
Russell Bryant eec3f78368 Merged revisions 85533 via svnmerge from
18 years ago
Russell Bryant a6507769ca Merged revisions 85316 via svnmerge from
18 years ago
Kevin P. Fleming cf12ac90b3 Merged revisions 85195 via svnmerge from
18 years ago
Tilghman Lesher e9221b062e Merged revisions 85158 via svnmerge from
18 years ago
Philippe Sultan 510430a6a2 Make the status and priority configurable.
18 years ago
Tilghman Lesher c2f7cc4bd4 Create a universal exception handling extension, "e" (closes issue #9785)
18 years ago
Russell Bryant 9334e72e76 Merged revisions 84271 via svnmerge from
18 years ago
Russell Bryant 1f3f7215d8 Merged revisions 84206 via svnmerge from
18 years ago
Russell Bryant 019c07e63e Merged revisions 84146 via svnmerge from
18 years ago
Dwayne M. Hubbard bd5b6cea68 Merged revisions 84018 via svnmerge from
18 years ago
Russell Bryant f04b586267 fix a typo in a comment
18 years ago
Russell Bryant 6e8997fe3c Change function documentation to use doxygen tags. (Really, I just needed
18 years ago
Russell Bryant b6abd3c659 Don't note that functions are deprecated in favor of themselves. This was
18 years ago
Philippe Sultan 3a5f263bf0 Comply with latest XEP-0166, XEP-0167, XEP-0176.
18 years ago
Tilghman Lesher 48f56ba8b4 Fixes for FreeBSD... testing for every conceivable math function now
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Tilghman Lesher 78a94595f6 Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776)
18 years ago
Philippe Sultan dc9dc75379 Transmit proper invitation, thus conforming to XEP-0166 (Jingle general
18 years ago
Russell Bryant 0de872da8d Merged revisions 82929 via svnmerge from
18 years ago
Russell Bryant 384aea6257 Make sure that libpthread doesn't try to call free() directly when MALLOC_DEBUG
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago
Tilghman Lesher bc494164c8 Add a direct execute method to res_odbc (closes issue #10722)
18 years ago
Russell Bryant bf28185fce Merged revisions 82385 via svnmerge from
18 years ago
Russell Bryant 79d79ac840 Merged revisions 82337 via svnmerge from
18 years ago
Russell Bryant 1282de797d Various code and documentation cleanups for res_config_sqlite
18 years ago
Philippe Sultan 43d63b1027 Assign namespace properly
18 years ago
Philippe Sultan 92cc7aeff1 Changed Jingle and Jingle DTMF namespaces.
18 years ago
Tilghman Lesher 82cf384e03 Merged revisions 82285 via svnmerge from
18 years ago
Tilghman Lesher c4869b5f1d Merged revisions 82028 via svnmerge from
18 years ago
Russell Bryant 79246506e7 Add doxygen documentation for slinfactory_destroy(), mainly just noting that
18 years ago
Jason Parker 9f865889a2 Merged revisions 81778 via svnmerge from
18 years ago
Philippe Sultan da620112de Merged revisions 81743 via svnmerge from
18 years ago
Luigi Rizzo 8e62c6c4d0 various changes to the documentation, and redefinition of
18 years ago
Tilghman Lesher 9169ac8ef4 Merged revisions 81569 via svnmerge from
18 years ago
Russell Bryant 8bcfddc8ec Merged revisions 81599 via svnmerge from
18 years ago
Jason Parker d72ea80a00 Doxygen cleanups/fixes.
18 years ago
Steve Murphy dcb85e2456 this set of changes fixes issue # 10643 by keeping track of the last object defined in a file, and attaching any accumulated comments to that object (category header or variable declaration). The file_save routine also had to be upgraded to output these trailing comments. Config.h was modified to include the trailing comment list on categories and variables.
18 years ago
Russell Bryant 9bda1c5a94 Merged revisions 81448 via svnmerge from
18 years ago
Russell Bryant 782b8ca0c9 logger.h depends on options.h, so go ahead and include it
18 years ago
Mark Michelson 1bfe10997b Merged revisions 81426 via svnmerge from
18 years ago
Russell Bryant 5872c6d757 Merged revisions 81418 via svnmerge from
18 years ago
Joshua Colp 5a8feb826d Make the event header file work under C++.
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Joshua Colp c9445d4a68 To keep others happy... revert part of my additions so trunk works.
18 years ago
Joshua Colp 2351d789fd Add API calls for iterating through an event. This should allow events to have multiple information elements (while there was nothing preventing it before you could not actually access any except the first one).
18 years ago
Joshua Colp 440aab5ffa Add inline function for signed linear subtraction.
18 years ago
Russell Bryant 2c708fdef4 Change the audiohook lock and unlock wrappers to macros instead of inline
18 years ago
Russell Bryant 040a5f20f9 * Constify the uid field of channel datastores
18 years ago
Russell Bryant 43e9b0f67c (closes issue #7852)
18 years ago
Russell Bryant 2290819e6d Merged revisions 80573 via svnmerge from
18 years ago
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
18 years ago
Russell Bryant 1765f903c4 Fix building res_crypto on systems that init locks with constructors.
18 years ago
Russell Bryant befb383d16 Merged revisions 78095 via svnmerge from
18 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
18 years ago
Joshua Colp d51079b70a Merged revisions 77863 via svnmerge from
18 years ago
Joshua Colp 1d07328918 Merged revisions 77831 via svnmerge from
18 years ago
Joshua Colp 3aaf122439 Add support for call forwarding and timeouts to the dialing API.
18 years ago
Russell Bryant 935982d15b Merged revisions 77788 via svnmerge from
18 years ago
Tilghman Lesher 059a7aa862 Cleanup of res_agi, ensuring thread safety (closes issue #10288)
18 years ago
Tilghman Lesher 1aa9e4fc4d Merged revisions 76937 via svnmerge from
18 years ago
Tilghman Lesher db9d7764e0 Enhance AGI with several fixes:
18 years ago
Tilghman Lesher 55b1ee298e Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
18 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
18 years ago
Russell Bryant f1f72312bb (closes issue #10192)
18 years ago
Joshua Colp 91c3d90e8f Use autoconf logic to determine byte swapping macro presence. This should now also use other macros if present.
18 years ago
Joshua Colp 93b72115d1 Add support for using /dev/urandom to get random numbers on systems that support it.
18 years ago
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
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
Jason Parker 4aaa1d1ec1 Merged revisions 65877 via svnmerge from
18 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
18 years ago
Steve Murphy 4572edae31 Merged revisions 65200 via svnmerge from
18 years ago
Olle Johansson bdd2b74ced Issue #5930 - Remove dependencies on res_adsi.so - clwade
18 years ago
Tilghman Lesher fe20320018 Merged revisions 64820 via svnmerge from
18 years ago
Russell Bryant e090c28540 Add two new dialplan functions: ENUMQUERY and ENUMRESULT. These functions
18 years ago
Russell Bryant 314c874d7d I noted this on the dev list but got no response, so I just did it myself.
18 years ago
Joshua Colp 5394364048 Merged revisions 63286 via svnmerge from
18 years ago
Olle Johansson 0cc7c0640b Constifications
18 years ago
Steve Murphy 02337303ef a small upgrade to the coding standard, and an update to the code that triggered the upgrade.
18 years ago
Steve Murphy 3ee0077f04 Added a small bit of code to support the SNOM 360's Record button. Made the find_feature func in res_features.c public, so I could use it to find the automon dial sequence as configured by the user. When the INFO packet has a Record: header with on/off, the sequence is sent as consecutive DTMF frames on the phone's channel, triggering the automon functionality. The user has to configure the automon in features.conf, and set up his dialplan accordingly.
18 years ago
Olle Johansson 51f99c5265 - Add manager command CoreSettings
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 3181a91148 Merged revisions 62414 via svnmerge from
18 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
18 years ago
Russell Bryant 3f414d2aea Remove a message that goes to LOG_ERROR that's not really an error.
18 years ago
Joshua Colp 8b2b3e172b Merged revisions 61805 via svnmerge from
18 years ago
Russell Bryant 94459660a3 Merged revisions 61781 via svnmerge from
18 years ago
Russell Bryant 97d0661327 Merged revisions 61690 via svnmerge from
18 years ago
Olle Johansson e1d30288c0 Doxygen changes
18 years ago
Dwayne M. Hubbard 2151e532fe changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
18 years ago
Dwayne M. Hubbard 6a5f3599bb added HAVE_SYSINFO preprocessor directives for portability and general happiness
18 years ago
Joshua Colp 97d93d091b Add a configure script check for sysinfo support.
18 years ago
Dwayne M. Hubbard 62256ee410 added option_minmemfree for use in asterisk.conf to specify the amount of minimum free memory prior to accepting calls. added CLI 'core show sysinfo' to display system information
18 years ago
Steve Murphy 69bb679e14 via 8118, a RealTime upgrade to make RT a complete storage abstraction. The store/destroy mechanisms needed these missing peices.
18 years ago
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
18 years ago
Russell Bryant ab31bec392 Add an option to the dial API for playing music instead of ringing to the caller.
18 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
18 years ago
Tilghman Lesher 5ecaea3d0a Merged revisions 60850 via svnmerge from
18 years ago
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
18 years ago
Joshua Colp 1c2e3e1ffc Major res_speech cleanup. It looks much better now!
18 years ago
Joshua Colp 4b618442a0 Merged revisions 60361 via svnmerge from
18 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
18 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
18 years ago
Steve Murphy be6013b206 Enhancement via 8118: Realtime API extension: add methods store_func and destroy_func, to make Realtime a complete database abstraction
18 years ago
Russell Bryant 08e3a9bdc8 Merged revisions 59207 via svnmerge from
18 years ago
Nadi Sarrar 24d8595d00 Merged revisions 59202 via svnmerge from
18 years ago
Steve Murphy e6d32d3132 The fix for the AEL <<security hole>> (bug 9316) is here...
18 years ago
Russell Bryant 7f31b58b21 Merged revisions 58947 via svnmerge from
18 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
18 years ago
Russell Bryant 39c92fe449 Add some documentation on the arguments to the base64 encode/decode functions.
18 years ago
Tilghman Lesher 590cb3a6fa Expand datastores to add the notion of inheritance. This will be needed for
18 years ago
Russell Bryant 3d6e6e07ef Merged revisions 57364 via svnmerge from
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
Olle Johansson 75d387acbc Doxygen additions, corrections
18 years ago
Olle Johansson e916cf45da Doxygen updates and corrections
18 years ago
Olle Johansson bc01e39174 Creating new doxygen macro "\extref" to create page that lists
18 years ago
Olle Johansson c683aacfc6 Add some external references
18 years ago
Olle Johansson e930d1e88e Doxygen updates for AJI - The Asterisk Jabber API
18 years ago
Kevin P. Fleming ad7d044c75 move the ast_module_info structure into the special section as well, otherwise when restore_globals() is called it will lose its pointer to the ast_module structure that the loader put there
19 years ago
Kevin P. Fleming 1bec2f5bfa give embedded modules a helping hand by backing up and restoring their global variables when they are loaded and unloaded
19 years ago
Russell Bryant 8088fcd312 Merged revisions 55590 via svnmerge from
19 years ago
Russell Bryant a347807103 Merged revisions 55052 via svnmerge from
19 years ago
Olle Johansson ba32ee49d0 Adding Realtime Text support (T.140) to Asterisk
19 years ago
Olle Johansson 8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
19 years ago
Russell Bryant f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
19 years ago
Russell Bryant 3b7cfbb80d Merged revisions 54218 via svnmerge from
19 years ago
Russell Bryant 4300a7a6cd - Constify the format string passed to ast_cli()
19 years ago
Russell Bryant 8f8df3e5a9 Merged revisions 54103 via svnmerge from
19 years ago
Russell Bryant 2a5477b35e Merged revisions 54066 via svnmerge from
19 years ago
Russell Bryant 5715b49c30 Merged revisions 53810 via svnmerge from
19 years ago
Russell Bryant f722121ca0 Merged revisions 52997 via svnmerge from
19 years ago
Russell Bryant 1f7fb2b0a6 Merged revisions 52494,52506 via svnmerge from
19 years ago
Russell Bryant 65439dcbb3 Merged revisions 52107 via svnmerge from
19 years ago
Joshua Colp 9826fc599b Merged revisions 52049 via svnmerge from
19 years ago
Olle Johansson a9849288de Doxygen updates
19 years ago
Russell Bryant 8724e1c42e Add a comment that the frame type constants are transmitted directly over IAX2.
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Luigi Rizzo 9d509eaf76 As the comment in the diff says:
19 years ago
Russell Bryant 3808ad7535 Regenerate configure script to reflect recent zaptel changes
19 years ago
Russell Bryant c2eba9d0df Include tonezone.h for linux, too
19 years ago
Luigi Rizzo 1b10b866b8 Add a stub file to find the zaptel headers in the right
19 years ago
Kevin P. Fleming 74f401d05f Merged revisions 50867 via svnmerge from
19 years ago
Kevin P. Fleming 17ea9c930e make the automatic post-answer delay happen only when the answer is 'automatic' (not done by the Answer() dialplan application)
19 years ago
Joshua Colp 4942fd94d2 Merged revisions 50466 via svnmerge from
19 years ago
Joshua Colp 982c8e1465 Return the useless casts that ensure this file is C++ clean. (issue #8602 reported by mikma)
19 years ago
Joshua Colp 3e0d0362e8 Change trylock output for what already has the lock from an error to a warning.
19 years ago
Olle Johansson 68ff3c3575 Issue #8663 - Add passthrough support for MPEG4 (neutrino88).
19 years ago
Tilghman Lesher c4c2c546da When calling the Realtime app more than once, unset fields which were
19 years ago
Kevin P. Fleming 37182c873e finish const-ifying ast_func_read()
19 years ago
Kevin P. Fleming d0f3b18d16 a little more const-ification
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
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Kevin P. Fleming dfe56d30bc ensure that the proper file/function/line shows up for dynamic string threadstorage objects
19 years ago
Kevin P. Fleming 64fc0d4667 yeah... so... compiling before committing seems like it might be a good idea
19 years ago
Kevin P. Fleming 4764795b37 Merged revisions 49553 via svnmerge from
19 years ago
Kevin P. Fleming cb97e0c353 Merged revisions 49102 via svnmerge from
19 years ago
Olle Johansson 43e0695bd0 Doxygen documentationification
19 years ago
Olle Johansson 9074555e37 - Add error handling to ast_parse_allow_disallow
19 years ago
Olle Johansson f83b845f08 - Implement error handling in ast_append_ha
19 years ago
Russell Bryant 723c1ffba8 Fix a spelling mistake in a comment.
19 years ago
Steve Murphy 6c7f4c1e32 Jason is having problems with the inclusion of <err.h>; it appears to be unnecessary for sucessful builds, so I either removed or commented out the inclusions from all the AEL related code. New outputs from bison/flex are included, etc.
19 years ago
Kevin P. Fleming 16b09ac48c Merged revisions 48998 via svnmerge from
19 years ago
Kevin P. Fleming d68c7c8ce6 Merged revisions 48987 via svnmerge from
19 years ago
Joshua Colp 7f61b822c1 Merged revisions 48964 via svnmerge from
19 years ago
Luigi Rizzo 09f75aa6dc rename the structs struct tone_zone_sound and struct tone_zone
19 years ago
Russell Bryant 2c5071a006 - Convert the list of URI handlers to use the linked list macros. While doing
19 years ago
Joshua Colp 193d2932b9 We should probably declare the lock... and not just the constructor/deconstructor.
19 years ago
Russell Bryant 72f23795df Use the correct function to destroy an rwlock in the destructor for an ast_rwlock_t
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Joshua Colp f19ff5a451 Really clean up indications to use the linkedlists API
19 years ago
Steve Murphy 9327720c37 As per bug 7978, this version introduces the jittertargetextra option in config files
19 years ago
Luigi Rizzo 02e21cb5f2 unbreak the macro used for incrementing the frame counters.
19 years ago
Luigi Rizzo 23be2c0bf4 apply the proposed fix for bug 8602
19 years ago
Luigi Rizzo ccebf3511c convert the final clients of ast_build_string to use ast_str_*()
19 years ago
Kevin P. Fleming a40b78b885 Merged revisions 48528 via svnmerge from
19 years ago
Kevin P. Fleming 018a9c86e4 Merged revisions 48521 via svnmerge from
19 years ago
Luigi Rizzo 20b382cfff replace ast_build_string() with ast_str_*() functions.
19 years ago
Luigi Rizzo 055abfe9d9 simplify the ast_dynamic_str_*.... routines by
19 years ago
Luigi Rizzo 961754d4b1 move the dynamic string support in a better place i.e. string.h
19 years ago
Luigi Rizzo b6d1722c83 remove ast_safe_string_alloc() - it is completely
19 years ago
Luigi Rizzo 286f02bf40 small documentation improvements.
19 years ago
Olle Johansson 0722c9ae77 Doxygen changes
19 years ago
Joshua Colp bbe0a579b2 Add support to see what holds the lock when doing trylock.
19 years ago
Luigi Rizzo 1122621981 constify ast_state2str() and note it is not reentrant.
19 years ago
Luigi Rizzo 5ba11f9855 remove the macro LOAD_OH and expand it inline in the only
19 years ago
Joshua Colp f6649ae0af Merged revisions 48472 via svnmerge from
19 years ago
Russell Bryant 666d526aad Fix various spelling mistakes in comments.
19 years ago
Luigi Rizzo 437f4288cd - Generalize the function ssl_setup() so that the certificate info
19 years ago
Luigi Rizzo 6a147ed134 Make externally visible some generic code useful to create
19 years ago
Russell Bryant efc7c78ba4 Make the "usage" member of the ast_cli_entry struct const to resolve a compiler
19 years ago
Olle Johansson fe53552f41 Doxygen updates
19 years ago
Jason Parker 87f81679ee Expand on r48273 (from issue 8506), to translate more of the fskmodem stuff to English.
19 years ago
Olle Johansson 33c09cbcfa Issue #8506 - translate spanish comments in fskmodem to english (according to bug guidelines)
19 years ago
Olle Johansson 00bf07b12e Well, yes...
19 years ago
Olle Johansson b8fcae6d75 Reserving flags for coming code (currently in the "videocaps" branch)
19 years ago
Olle Johansson c23bc46089 - Disable RTP timeouts during T.38 transmission
19 years ago
Olle Johansson ae14123361 Tiny doxygen improvement
19 years ago
Joshua Colp 869101028b Merged revisions 48168 via svnmerge from
19 years ago
Olle Johansson 446a06679a Documentation updates
19 years ago
Olle Johansson fddd385eb1 Adding some generic docs on extension and device states - watchers and providers
19 years ago
Russell Bryant f51cf94a62 - Fix a few spelling mistakes.
19 years ago
Olle Johansson b9d57e8e3a Doxygen updates
19 years ago
Russell Bryant a3adf3e754 - Add some comments on thread storage with a brief explanation of what it is
19 years ago
Olle Johansson 3fd07f51f2 Doxygen update
19 years ago
Joshua Colp af51be05a6 Merged revisions 47850 via svnmerge from
19 years ago
Luigi Rizzo f148916c23 Move this macro from cli.c to cli.h so apps can use it
19 years ago
Steve Murphy 6dcb17baaf This update fulfils the request of bug 7109, which claimed the language arg to ast_stream_and_wait() was redundant. Almost all calls just used chan->language, and seeing how chan is the first argument, this certainly seems redundant. A change of language could just as easily be done by simply changing the channel language before calling.
19 years ago
Luigi Rizzo 867e3d6e5d introduce a bit of regexp support in the internal CLI api.
19 years ago
Paul Cadach fc58bec502 Merged revisions 44809 via svnmerge from
19 years ago
TransNexus OSP Development 93df44fb9a 1. Re-format the code.
19 years ago
Luigi Rizzo 6edcca7b8d one more step cleaning the internal CLI interface:
19 years ago
Luigi Rizzo 1781f41b3b update the internal cli api following comments from kevin.
19 years ago
Olle Johansson 6606c55844 need to check quoting in the doxygen docs...
19 years ago
Olle Johansson c17bcc0f7c Some improvements to doxygen docs
19 years ago
Luigi Rizzo fbb143b829 Bring in the improved internal API for the CLI.
19 years ago
Matt O'Gorman b025702287 safe terminal output is sweet.
19 years ago
Russell Bryant 2b2693499d Add the ability to specify multiple prompts to the Read() dialplan application,
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Olle Johansson 8e73644bb8 Stealing Tilghman's explanation from the -dev list and producing documentation...
19 years ago
Joshua Colp 980ce017ec Add support for manager hooks, so you could fire off manager events over IRC if you were crazy enough. (issue #5161 reported by anthm with mods by moi)
19 years ago
Luigi Rizzo 0bf4235ff1 add a new cli/manager.conf option "debug" to enable/disable
19 years ago
Joshua Colp 7f7f2fe821 Let's make application/function/hint lists read/write lists... just for kicks
19 years ago
Russell Bryant 903e1e3bf3 Sure enough, some of the uses of astobj are doing recursive locking. This
19 years ago
Russell Bryant c8e35348c0 astobj was already set up to use read and write locks. Now that we have wrappers
19 years ago
Joshua Colp ffceb28cfd Add AST_RWLIST_* set of macros which implement linked lists using read/write locks, the actual list manipulation is still done via the old macros.
19 years ago
Joshua Colp ae00c6d3fa Set the AST_RWLOCK_INIT_VALUE to the PTHREAD_RWLOCK_INIT_VALUE if it is available, that way outside stuff can determine whether to use a constructor or deconstructor for initialization instead of using the init value.
19 years ago
Joshua Colp aebb4aaa0d I'm crazy so I will add this... pthread rwlock wrappers, along with autoconf stuff that detects the presence of the initializer and the ability to set the kind of lock (in our case we rather like writer preferred locks so writer starvation doesn't occur... but on something like Darwin we don't get that)
19 years ago
Kevin P. Fleming 39a4700047 Merged revisions 46714 via svnmerge from
19 years ago
Olle Johansson f003df1315 Issue #80898 - Restoring func_enum (otmar)
19 years ago
Olle Johansson 11d00cac15 Adding dialplan function IFMODULE, so you can create dialplans that handle
19 years ago
Kevin P. Fleming 79e45105f5 Merged revisions 46511 via svnmerge from
19 years ago
Olle Johansson 692dc8fd80 Issue #3930 - Add manager command for listing dialplan (coded april 2005, in bugtracker since)
19 years ago
Olle Johansson 8a2e564df5 Issue 8246 Doxygen updates (kshumard)
19 years ago
Kevin P. Fleming 5f5faa310a Merged revisions 46082-46083,46152-46153 via svnmerge from
19 years ago
Kevin P. Fleming 88efcea05e Merged revisions 46154 via svnmerge from
19 years ago
Russell Bryant b5ec2ec48a regenerate the configure script and autoconfig.h.in to reflect recent changes
19 years ago
Kevin P. Fleming 4b8e41c529 restore freeing of threadstorage objects without custom cleanup functions
19 years ago
Russell Bryant bd53e7ee4c Extend the thread storage API such that a custom initialization function can
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Kevin P. Fleming 0638096e5c Merged revisions 45027 via svnmerge from
19 years ago
Kevin P. Fleming 035aeb82e4 Merged revisions 44956 via svnmerge from
19 years ago
Paul Cadach 500353e095 Extend CALLERID() function for "pres" and "ton" values
19 years ago
Kevin P. Fleming eda9434455 Merged revisions 44631 via svnmerge from
19 years ago
Russell Bryant 283e7369ea regenerate the configure script to reflect the latest changes done by
19 years ago
Kevin P. Fleming c28461197b Merged revisions 44390 via svnmerge from
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Kevin P. Fleming 41eb95e055 Merged revisions 44322 via svnmerge from
19 years ago
Matt O'Gorman deb9cb88fb 44240 same as but without the removing of chan_jingle and such, as I hope to finish jingle support for 1.6
19 years ago
Kevin P. Fleming 89050169c8 Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
19 years ago
Kevin P. Fleming ccc221ed79 Merged revisions 43952 via svnmerge from
19 years ago
Joshua Colp 29d27bfe0d Merged revisions 43933 via svnmerge from
19 years ago
Paul Cadach 2719c20e4e Merged revisions 43861-43862 via svnmerge from
19 years ago
Joshua Colp 98873d34bd Merged revisions 43707 via svnmerge from
19 years ago
Luigi Rizzo 2946b43e31 compatibility fix:
19 years ago
Matt O'Gorman 08368f00ab Merged revisions 43466 via svnmerge from
19 years ago
Tilghman Lesher f14dc5fab4 And some deprecated APIs and modifications to documentation
19 years ago
Joshua Colp 1c764935f2 SS7 marked the start of an open season for trunk again but here's something minor - abstract early bridging into the technology so that we don't always assume they use RTP and try it.
19 years ago
Matthew Fredrickson bd76cda68d Merge in SS7 changes.... need to still cleanup zapata.conf
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Jason Parker 261e84229d Avoid errors when compiling out of tree modules like asterisk-addons.
19 years ago
Kevin P. Fleming 505c465a3b these functions never should have been non-static or in a header file
19 years ago
Kevin P. Fleming 32d119746c move ODBC API into ast_ namespace
19 years ago
Kevin P. Fleming ea399862c4 move more API into the ast_ namespace
19 years ago
Kevin P. Fleming 41d3e99e28 move ADSI functionality into ast_ namespace
19 years ago
Kevin P. Fleming 1485fa4c24 move this header to include where it belongs
19 years ago
Jason Parker fc60c151d3 After discussing this with other people, we decided we'd like to try to do this a little differently.
19 years ago
Anthony LaMantia 3f3402d69e 5240 update
19 years ago
Matthew Fredrickson 3c4dc2033f Update configure and closest kin. *Hopes my branch doesn't break*
19 years ago
Matt O'Gorman 465adf2bf1 allow for packetization on rtp channel drivers, need to add
19 years ago
Kevin P. Fleming 734a3d356e don't need two copies of this
19 years ago
Kevin P. Fleming 7b43316cbc a little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it
19 years ago
Jason Parker 31d25ac6f3 u_intXX_t is silly
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago