Commit Graph

1315 Commits (4765cf4553924050a3c0bfa581efaba8ffc50c55)

Author SHA1 Message Date
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
Olle Johansson 0cc7c0640b Constifications
19 years ago
Steve Murphy 02337303ef a small upgrade to the coding standard, and an update to the code that triggered the upgrade.
19 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.
19 years ago
Olle Johansson 51f99c5265 - Add manager command CoreSettings
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 3181a91148 Merged revisions 62414 via svnmerge from
19 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
19 years ago
Russell Bryant 3f414d2aea Remove a message that goes to LOG_ERROR that's not really an error.
19 years ago
Joshua Colp 8b2b3e172b Merged revisions 61805 via svnmerge from
19 years ago
Russell Bryant 94459660a3 Merged revisions 61781 via svnmerge from
19 years ago
Russell Bryant 97d0661327 Merged revisions 61690 via svnmerge from
19 years ago
Olle Johansson e1d30288c0 Doxygen changes
19 years ago
Dwayne M. Hubbard 2151e532fe changed #if HAVE_SYSINFO to #if defined(HAVE_SYSINFO)
19 years ago
Dwayne M. Hubbard 6a5f3599bb added HAVE_SYSINFO preprocessor directives for portability and general happiness
19 years ago
Joshua Colp 97d93d091b Add a configure script check for sysinfo support.
19 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
19 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.
19 years ago
Tilghman Lesher 47dd5a15af Issue 6082 - New DTMF event for manager
19 years ago
Russell Bryant ab31bec392 Add an option to the dial API for playing music instead of ringing to the caller.
19 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
19 years ago
Tilghman Lesher 5ecaea3d0a Merged revisions 60850 via svnmerge from
19 years ago
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
19 years ago
Joshua Colp 1c2e3e1ffc Major res_speech cleanup. It looks much better now!
19 years ago
Joshua Colp 4b618442a0 Merged revisions 60361 via svnmerge from
19 years ago
Steve Murphy 09c0d56c5c Merged revisions 59522 via svnmerge from
19 years ago
Steve Murphy 0f11d3c8c3 Merged revisions 59486 via svnmerge from
19 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
19 years ago
Russell Bryant 08e3a9bdc8 Merged revisions 59207 via svnmerge from
19 years ago
Nadi Sarrar 24d8595d00 Merged revisions 59202 via svnmerge from
19 years ago
Steve Murphy e6d32d3132 The fix for the AEL <<security hole>> (bug 9316) is here...
19 years ago
Russell Bryant 7f31b58b21 Merged revisions 58947 via svnmerge from
19 years ago
Russell Bryant 5bea998a55 Merge changes from team/russell/sqlite:
19 years ago
Russell Bryant 39c92fe449 Add some documentation on the arguments to the base64 encode/decode functions.
19 years ago
Tilghman Lesher 590cb3a6fa Expand datastores to add the notion of inheritance. This will be needed for
19 years ago
Russell Bryant 3d6e6e07ef Merged revisions 57364 via svnmerge from
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
Olle Johansson 75d387acbc Doxygen additions, corrections
19 years ago
Olle Johansson e916cf45da Doxygen updates and corrections
19 years ago
Olle Johansson bc01e39174 Creating new doxygen macro "\extref" to create page that lists
19 years ago
Olle Johansson c683aacfc6 Add some external references
19 years ago
Olle Johansson e930d1e88e Doxygen updates for AJI - The Asterisk Jabber API
19 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