Commit Graph

1274 Commits (1e12db06da803d46ba4d3cd3ad89623f79cd9da8)

Author SHA1 Message Date
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
Jason Parker f18cbf77df Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
19 years ago
Joshua Colp bc5924120d Remove old unused functions
19 years ago
Joshua Colp 55d594e9da Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.
19 years ago
Russell Bryant 4de3c0e447 Add the ability to specify that a frame should not be considered for caching
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Kevin P. Fleming ece7018515 add one remaining bit of functionality to the features.conf applicationmap (from Matt Nicholson in Digium Express Services)
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Russell Bryant 3a83fbed5b menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
19 years ago
Russell Bryant 1ff5a0988d Merged revisions 40994 via svnmerge from
19 years ago
Olle Johansson 8b3aeaeae6 Fixing a comment
19 years ago
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
19 years ago
Kevin P. Fleming 74fb27c15f add a new include file for out-of-tree modules that need to know where things are located
19 years ago
Joshua Colp 432e19f2b7 Sorry, but this does not resemble malloc... so GCC was ignoring the attribute and throwing a warning.
19 years ago
Kevin P. Fleming 26fa229138 restore 'preload' functionality in loader
19 years ago
Kevin P. Fleming 6cd063c74d use new configure-provided wrappers for attributes
19 years ago
Russell Bryant d030102eed - use a common error message in all of the memory allocation macros
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant 5dc72404ab convert lists of constants in channel.h to enums instead of #defines
19 years ago
Matt O'Gorman a95851978b updating configure script and putting comments in the docs
19 years ago
Joshua Colp ecb907e010 Use OSAtomicAdd instead of OSAtomicDecrement to decrement the value by 1.
19 years ago
Russell Bryant 9ad9e42c3e add MacroExclusive application, a Macro that only one call can executed at
19 years ago
Russell Bryant fd82d4569c increase the maximum length of the mohinterpret/mohsuggest options (issue #7696)
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Steve Murphy 3042d0e046 This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
19 years ago
Steve Murphy 14c12fed9b The contents of branch teams/murf/bug_7598 are being folded in here.
19 years ago
Russell Bryant 4d7c67fc72 Merge my applicationmap_fixup branch to address the issues described in this
19 years ago
Tilghman Lesher a9f8f09c19 Add details about flash and wait to doxygen about DTMF.
19 years ago
Mark Spencer f2a6636210 Allow updates to match specific lines, allow specification of object or
19 years ago
Kevin P. Fleming 4bc6613648 add ExtenSpy variant of ChanSpy
19 years ago
Russell Bryant 99f9d827c1 the pure attribute was not implemented before gcc 2.96. Since we have this
19 years ago
Russell Bryant 450db95711 add macros for the pure and const attributes to compiler.h, in case they ever
19 years ago
Russell Bryant d6246e579f Add the function attribute "pure" or "const" to various functions that perform
19 years ago
Russell Bryant b04f059b4a As discussed and decided on the asterisk-dev mailing list ...
19 years ago
Kevin P. Fleming 3314ea0d59 move slinfactory structure definition back to header... it's just easier to use this way
19 years ago
Kevin P. Fleming d079b1c49f more slinfactory structure definition to inside implementation module
19 years ago
Kevin P. Fleming a8b85fda84 more simplification, and correct a bug i introduced in the last commit
19 years ago
Russell Bryant 41ab9c5015 remove an XXX comment and document that ast_autoservice_start() will return -1
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago
North Antara 1edb21b423 Fix a few doxygen warnings.
19 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
19 years ago
Mark Spencer 837910062b First pass at in-place file manipulation via manager
19 years ago
Joshua Colp 457ec51f8d Expand speech API so that the developer can interact with the engine more directly and use specific functions of the connector even if a generic API call is not available
19 years ago