Commit Graph

2312 Commits (04224c20362f94f99886d6b51adb7b90db62855f)

Author SHA1 Message Date
Russell Bryant 0e8c630224 Move OpenSSL initialization to a single place, make library usage thread-safe.
16 years ago
Sean Bright ee0cd5a32c Add a configure check for Reverse Charging Indication support in LibPRI.
16 years ago
Sean Bright c381cf82e7 Wrap rtp_engine.h header comments to 80 characters.
16 years ago
David Vossel 48c9a85d91 Merged revisions 204681 via svnmerge from
16 years ago
Russell Bryant c511a26749 Move Asterisk-addons modules into the main Asterisk source tree.
16 years ago
Tilghman Lesher b5f6eac49e Allow trunk to once again compile under MALLOC_DEBUG
16 years ago
Russell Bryant cce4fad522 Make invalid hints report Unavailable instead of Idle.
16 years ago
Joshua Colp 59c1998d67 Improve T.38 negotiation by exchanging session parameters between application and channel.
16 years ago
Russell Bryant 27e1708eed Note a new API call, and one that changed in doxygen.
16 years ago
Russell Bryant 0264eef115 Merge the new Channel Event Logging (CEL) subsystem.
16 years ago
Sean Bright e06c6f97c4 Add functions to map syslog facilities and priorities constants to strings.
16 years ago
Sean Bright 2f88262abb Add checks in configure for non-POSIX syslog facilities.
16 years ago
Sean Bright 4535305772 Move syslog utility functions into a separate file so they can be re-used.
16 years ago
David Vossel 87c8658912 attempting to load running modules
16 years ago
Joshua Colp e85296e244 Add support for allowing an RTP engine to decide on whether it is possible for specific formats to be transcoded for an RTP instance.
16 years ago
Mark Michelson dce6a54a4a Trunk implementation of setting an alternate RTP source.
16 years ago
Kevin P. Fleming 962bd7ab26 Merged revisions 201261 via svnmerge from
16 years ago
Kevin P. Fleming f1dc620467 Enable applications to enable/disable digit and tone detection.
16 years ago
Kevin P. Fleming 4c0265664e Merged revisions 200991 via svnmerge from
16 years ago
Kevin P. Fleming aaeec3b40f Last batch of 'static' qualifiers for module-level global variables.
16 years ago
Kevin P. Fleming 82fb56886e More 'static' qualifiers on module global variables.
16 years ago
Kevin P. Fleming 6c5987811c Redesigned 'optional API' support.
16 years ago
Sean Bright 2cec55f038 Merged revisions 199856 via svnmerge from
16 years ago
David Vossel d532cbcd8a module load priority
16 years ago
Sean Bright 8ceb6c5d20 Merged revisions 199626,199628 via svnmerge from
16 years ago
David Vossel d1d9beadc9 Merged revisions 199297 via svnmerge from
16 years ago
Sean Bright befad10893 Merged revisions 199022 via svnmerge from
16 years ago
David Vossel 3830c415c7 Generic call forward api, ast_call_forward()
16 years ago
Mark Michelson 298d745fb4 Add the ability to execute connected line interception macros.
16 years ago
Russell Bryant 8da5e991ee Minor whitespace fix.
16 years ago
Russell Bryant 8580871fd4 Constify the ast_frame arg to ast_queue_frame().
16 years ago
Matthew Nicholson c8b0c41ed8 Merged revisions 198068 via svnmerge from
16 years ago
Sean Bright c772d5a0e6 Update references to downloads.digium.com to its new URL.
16 years ago
Sean Bright f51bb019bb Update references to bugs.digium.com and reviewboard.digium.com to the new URLs.
16 years ago
Terry Wilson 71a3a2ebf6 Add Calendaring support for Asterisk
16 years ago
Mark Michelson a7fd763ecc Merged revisions 197537 via svnmerge from
16 years ago
Kevin P. Fleming 1a02e34ccf Ensure that this header includes xmldoc.h, since it depends on it.
16 years ago
Russell Bryant 0e62eddb93 Update configure script to check for OSP toolkit 3.5.0.
16 years ago
Sean Bright 3abe8a963e Add new ast_complete_applications function so that we can use it with the
16 years ago
Kevin P. Fleming 57eedf97d0 Correct example for CLI autocompletion (generation)
16 years ago
Eliel C. Sardanons 2c882626a0 Implement a new element in AstXML for AMI actions documentation.
16 years ago
Kevin P. Fleming e6b2e9a750 Const-ify the world (or at least a good part of it)
16 years ago
Matthew Nicholson d02ad6b5f7 Merged revisions 195881 via svnmerge from
16 years ago
Tilghman Lesher bdcafc1ab4 Recorded merge of revisions 195366 via svnmerge from
16 years ago
Kevin P. Fleming d1e0b11343 Add ability for modules to dynamically register logger levels
16 years ago
Russell Bryant 9c16774cc2 Minor documentation update for ast_event_queue().
16 years ago
Kevin P. Fleming 2746f589b7 Add a more efficient way of allocating structures that use stringfields
16 years ago
Kevin P. Fleming 1f49e675bb Correct some flaws in the memory accounting code for stringfields and ao2 objects
16 years ago
Kevin P. Fleming ec5116f80c Properly account for memory allocated for channels and datastores
16 years ago
Kevin P. Fleming d8182202ef Ensure that string pools allocated to hold stringfields are properly accounted in MALLOC_DEBUG mode
16 years ago
Tilghman Lesher e0aba74fa9 Restore 'asyncagi break' command to 1.6.1 and higher.
16 years ago
Kevin P. Fleming 1726475a54 Ensure that astobj2 memory allocations are properly accounted for when MALLOC_DEBUG is used
16 years ago
Kevin P. Fleming 73743b77b0 Add 'bitflags'-style information elements to event framework
16 years ago
Kevin P. Fleming a3af213506 Remove rarely-used event_log/LOG_EVENT support
16 years ago
Kevin P. Fleming d9d2779008 Add buffer and echo canceller control to CHANNEL() dialplan function for DAHDI channels
16 years ago
Tilghman Lesher 91dde03ba8 Detect eaccess (or euidaccess) before using it.
16 years ago
David Vossel a6adc84e69 SIP option to specify outbound TLS/SSL client protocol.
16 years ago
Tilghman Lesher a866a75900 Merge str_substitution branch.
16 years ago
David Vossel ca138fc807 Consistent SSL/TLS options across conf files
16 years ago
Russell Bryant 2c1ffef923 Resolve Solaris build issues and add some API documentation.
16 years ago
Kevin P. Fleming a9657a86bf Merged revisions 190721 via svnmerge from
16 years ago
David Vossel 8f0b88c8c8 TLS/SSL private key option
16 years ago
Richard Mudgett 014aa91b84 Update comment.
16 years ago
Russell Bryant f052718a80 Add \since tag for new API calls.
16 years ago
Russell Bryant cba19c8a67 Convert the ast_channel data structure over to the astobj2 framework.
16 years ago
Tilghman Lesher ce6ebaef97 Support HTTP digest authentication for the http manager interface.
16 years ago
Tilghman Lesher 25cea89d90 Merged revisions 190092 via svnmerge from
16 years ago
Jeff Peeler 11ac1f7e11 Fix building of chan_h323 with gcc-3.3
16 years ago
Doug Bailey f431c867dd Merged revisions 189601 via svnmerge from
16 years ago
Jeff Peeler 1172c38647 Add service maintenance message support
16 years ago
Kevin P. Fleming 2f048030bd revert addition of LOG_SECURITY log channel; after further discussion, a much better solution will be used
16 years ago
Tilghman Lesher 1030a25ac9 Modify headers and macros, according to Russell's suggestions on the -dev list
16 years ago
Jeff Peeler de4af72f9f Add ability for dialplan execution to continue when caller hangs up.
16 years ago
Tilghman Lesher 39808fa953 Merged revisions 187428 via svnmerge from
16 years ago
Joshua Colp abcc0b9397 Add support for allowing the channel driver to handle transcoding.
16 years ago
Tilghman Lesher 8f28bfc63e Merged revisions 187300-187301 via svnmerge from
16 years ago
Kevin P. Fleming b5f8c632df add a dedicated log channel for modules to be able report security-related events, so that they can be fed into external processes for analysis and possible mitigation efforts
16 years ago
Jeff Peeler f57fddb5bb Add timer for features so that backup bridge config can go away
16 years ago
Russell Bryant 97209bfe3f Add documentation for reviewboard usage and guidelines.
16 years ago
Russell Bryant 791b82b836 Add some additional notes on release numbering.
16 years ago
Russell Bryant 2cb0018fa1 Start splitting up miscellaneous doxygen documentation into separate files.
16 years ago
Mark Michelson 6f53ed4c67 This commit introduces COLP/CONP and Redirecting party information into Asterisk.
16 years ago
Joshua Colp 2d9c6ef3d5 Add better support for relaying success or failure of the ast_transfer() API call.
16 years ago
Joshua Colp 954237b2a5 Merged revisions 186320 via svnmerge from
16 years ago
Joshua Colp 63de834395 Merge in the RTP engine API.
16 years ago
Tilghman Lesher be40f3a33c Merge changes from str_substitution that are unrelated to that branch.
16 years ago
Russell Bryant 1dda5f7c80 Fix dev-mode build on my box.
16 years ago
Kevin P. Fleming a009068110 Optimizations to the stringfields API
16 years ago
Leif Madsen d000310a2a Update commit message guidelines in re: to punctuation.
16 years ago
Kevin P. Fleming 9381bff79d Improve timing interface to remember which provider provided a timer
16 years ago
Russell Bryant 2a4f9f7181 Change global_app_buf to ast_str_thread_global_buf.
16 years ago
Russell Bryant b564b2105f Change g_eid to ast_eid_default.
16 years ago
Russell Bryant 5e80b9d09a Fix some issues with rwlock corruption that caused deadlock like symptoms.
16 years ago
Russell Bryant 37b5a29dc7 Pass more useful information through to lock tracking when DEBUG_THREADS is on.
16 years ago
Russell Bryant ee77b475f2 Improve performance of the ast_event cache functionality.
16 years ago
Russell Bryant 08f561f196 Fix build issues on Mac OSX.
16 years ago
Mark Michelson 33c3fce71a Remove symbols I just added to main/asterisk.exports and instead rename the functions.
16 years ago
David Vossel 9d3527bddf Merged revisions 183386 via svnmerge from
16 years ago
Russell Bryant 4210f17abb Merged revisions 183241 via svnmerge from
16 years ago
David Vossel 2764c2821f Merged revisions 183126 via svnmerge from
16 years ago
Kevin P. Fleming 4f390ec024 Merged revisions 182882 via svnmerge from
16 years ago
Russell Bryant 0bdd99ad64 Merged revisions 182810 via svnmerge from
16 years ago
Kevin P. Fleming ab3e9ddad1 Merged revisions 182808 via svnmerge from
16 years ago
Kevin P. Fleming d11b6386a5 Improve behavior of ast_answer() to not lose incoming frames
16 years ago
Russell Bryant 77a6840fd3 Add MFC/R2 support for chan_dahdi.
16 years ago
Tilghman Lesher 15a12635e6 Turn off malloc debugging of astobj2, since it apparently doesn't work too well during startup.
16 years ago
Jeff Peeler 58cf8b69da Fix malloc debug macros to work properly with h323.
16 years ago
Tilghman Lesher bfc0d3b795 Add MALLOC_DEBUG to various utility APIs, so that memory leaks can be tracked back to their source.
16 years ago
Jeff Peeler bf0bb7b385 Add Doxygen documentation for API changes from 1.6.0 to 1.6.1
16 years ago
Kevin P. Fleming 2f24689b49 Merged revisions 180372 via svnmerge from
16 years ago
Joshua Colp 4c9ab0df8c Merge phase 1 support for the new bridging architecture.
16 years ago
David Vossel 979eb709ae app_read does not break from prompt loop with user terminated empty string
16 years ago
Tilghman Lesher 4ac2fd4cde Use notification when timezone files change and re-scan then.
16 years ago
Sean Bright 935185ce8a Trailing whitespace, minor coding guideline fixes, and start beefing up the
17 years ago
Russell Bryant 7dc56a0c27 Fix build issues on Solaris and OpenBSD.
17 years ago
Tilghman Lesher 9967ef01df Merged revisions 177701 via svnmerge from
17 years ago
Tilghman Lesher 3af1c558df Allow semicolons to be escaped, when passing arguments to the System command.
17 years ago
Jeff Peeler ef84acf002 Fix another merge error from 176708
17 years ago
Tilghman Lesher a1f583177e ODBC transaction support
17 years ago
Tilghman Lesher 39d573920f Merged revisions 177096 via svnmerge from
17 years ago
Russell Bryant b5410fad00 Add example code for a heap traversal.
17 years ago
Jeff Peeler f40edf2793 Merged revisions 176701 via svnmerge from
17 years ago
Mark Michelson 6d60de7efa Clear up documentation of AST_FRIENDLY_OFFSET in frame.h
17 years ago
Russell Bryant c461d29b0b Update the timing API to have better support for multiple timing interfaces.
17 years ago
Russell Bryant bb03ef8d47 Add an implementation of the heap data structure.
17 years ago
Olle Johansson 47913cab6d Typo
17 years ago
Russell Bryant 4ec301360c Merge a large set of updates to the Asterisk indications API.
17 years ago
Kevin P. Fleming 0381d94d14 Merged revisions 176216 via svnmerge from
17 years ago
Michiel van Baak 115c6abef4 Merged revisions 175921 via svnmerge from
17 years ago
Russell Bryant 8c75380f52 Make ast_sched_report() and ast_sched_dump() thread safe.
17 years ago
Russell Bryant ca9d3b8ac9 Fix a number of problems with ast_sched_report().
17 years ago
Kevin P. Fleming 2a53f2ec98 Add basic (passthrough, playback, record) support for ITU G.722.1 and G.722.1C (also known as Siren7 and Siren14)
17 years ago
Mark Michelson 3a9d79f056 Make lock information for ao2_trylock be more useful and gnarly
17 years ago
Mark Michelson 47ebea6a8d Fix 'd' option for app_dial and add new option to Answer application
17 years ago
Kevin P. Fleming 23939e54f3 improve slinfactory API to remove implicit sample rate and require explicit sample rate selection by creator of the slinfactory
17 years ago
Russell Bryant 0cbada4f96 Add a common implementation of a scheduler context with a dedicated thread.
17 years ago
Jeff Peeler 39ec5d1576 Merged revisions 173211 via svnmerge from
17 years ago
Tilghman Lesher e179e613f7 1. Make OS X compile cleanly with app_stack.
17 years ago
Steve Murphy 53d9b77898 This reverts the changes I made for 11583; will
17 years ago
Steve Murphy c61e8a7865 This change allows the disconnect feature (as in "one-touch" in features.c)
17 years ago
Mark Michelson 458dfe4748 Fix redefinition of flag in channel.h
17 years ago
Terry Wilson 8d782f96b8 Merged revisions 172517 via svnmerge from
17 years ago
Richard Mudgett 14cebb2c38 Fixed some doxygen comments
17 years ago
Olle Johansson 7ecda45482 Fix "cancel answered elsewhere" through app_queue with members in chan_local.
17 years ago
Olle Johansson b79a12e929 - Make sure we set setvar= variables on outbound calls too, not only inbound calls.
17 years ago
Steve Murphy 268ac221a2 Merged revisions 172030 via svnmerge from
17 years ago
Russell Bryant 6101eccc9f Change ARRAY_LEN() to be more C++ safe.
17 years ago
Doug Bailey 9a28a07739 change VMWI to use new DAHDI_VMWI ioctl call.
17 years ago
Tilghman Lesher e3b431ebcb Merged revisions 169943 via svnmerge from
17 years ago
Kevin P. Fleming 1c2911f5a1 ast_str_SQLGetData is *not* part of the ast_str API, it's part of the ast_odbc API and just happens to use an ast_str as the buffer; move all of it to res_odbc.c and res_odbc.h, renaming appropriately
17 years ago
Terry Wilson e0b40036e1 Fix qualify for TCP peer
17 years ago
Tilghman Lesher 3728c3aa92 Merged revisions 168828 via svnmerge from
17 years ago
Tilghman Lesher c6cb67b941 Resolve issue with negative vs non-negative length parameters.
17 years ago
Terry Wilson 7c6d9c7235 Add option to hide console connect messages
17 years ago
Russell Bryant ef6ad2b53c Merged revisions 168561 via svnmerge from
17 years ago
Tilghman Lesher fd3cb90841 Some platforms (notably, the BSDs) have a more efficient implementation called
17 years ago
Tilghman Lesher 4a9e8078b9 When using ast_str with a non-ast_str-enabled API, we need to update the buffer
17 years ago
Sean Bright e1f941d7f6 Mostly just whitespace, but also convert 'CVS' to 'SVN' in a couple
17 years ago
Steve Murphy aa905e347e Merged revisions 166093 via svnmerge from
17 years ago
Russell Bryant c2999a8366 Introduce ast_careful_fwrite() and use in AMI to prevent partial writes.
17 years ago
Russell Bryant 894c91afe0 Make a note about formatting the review URL in commit messages
17 years ago
Mark Michelson 9733b30ff0 Adding a new dialplan function AUDIOHOOK_INHERIT
17 years ago
Matthew Fredrickson 775033301a Add configuration support for half_full DAHDI buffer policy
17 years ago
Russell Bryant 79fe1aa0c6 Disable some automatic links generated by doxygen.
17 years ago
Russell Bryant 2450098785 Introduce commit message formatting guidelines.
17 years ago
Russell Bryant 50a25ac847 Remove the need for AST_PBX_KEEPALIVE with the GoSub option from Dial.
17 years ago
Eliel C. Sardanons 344a37f2a7 Remove duplicate code from the ast_str API. We now use __AST_STR_* to
17 years ago
Tilghman Lesher 27cbfc1bd5 Add timezone to the possible fields in a timespec.
17 years ago
Michiel van Baak d2d96b10ac introduce 'core show sysinfo' for systems that dont have the Linux-ish sysinfo stuff but do have sysctl.
17 years ago
Russell Bryant 556b082522 Merged revisions 164736 via svnmerge from
17 years ago
Mark Michelson 225b056239 Merged revisions 164422 via svnmerge from
17 years ago
Mark Michelson c855c2c381 Merged revisions 164416 via svnmerge from
17 years ago
Tilghman Lesher 42e26ee700 Revert ast_str opacity in chan_sip for now, since something wasn't quite right
17 years ago
Steve Murphy 203e224bcb I was getting this warning during a compile
17 years ago
Russell Bryant 808a5fda59 Fix a couple more build issues related to ast_str_opaque
17 years ago
Joshua Colp 8be6bc5f67 Make app_fax compatible with newer versions of spandsp. This remains backwards compatible with earlier versions though so do not fret.
17 years ago
Tilghman Lesher c31cbd7f1a Don't pass a negative to an unsigned type and expect things to work correctly.
17 years ago
Tilghman Lesher c8223fc957 Merge ast_str_opaque branch (discontinue usage of ast_str internals)
17 years ago
Russell Bryant 7fcac067b2 Merged revisions 163448 via svnmerge from
17 years ago
Michiel van Baak c8c8995b70 add tab completion for 'core set debug X filename.c'
17 years ago
Kevin P. Fleming 96ae957f35 it does help if the compiler attribute syntax is correct
17 years ago
Russell Bryant d0bc22b3e8 Add some additional Asterisk project developer documentation.
17 years ago
Russell Bryant 179667088b Merged revisions 162413 via svnmerge from
17 years ago
Steve Murphy 67cb0526b7 Merged revisions 162013 via svnmerge from
17 years ago
Sean Bright fbb542055f Merged revisions 161426 via svnmerge from
17 years ago
Tilghman Lesher 3d4c0cd421 Merged revisions 160207 via svnmerge from
17 years ago
Eliel C. Sardanons 033bffd32f Introduce CLI permissions.
17 years ago
Kevin P. Fleming 887e28d7aa incorporates r159808 from branches/1.4:
17 years ago
Kevin P. Fleming e14dfcbedc improve handling of API calls provided by loaded modules through use of some GCC features; this makes app_stack's usage of AGI APIs even cleaner, and will allow it to work 'as expected' either with or without res_agi being loaded
17 years ago
Tilghman Lesher bb80c835e0 Add an option, waitfordialtone, for UK analog lines which do not end a call
17 years ago
Tilghman Lesher ac296a4ad3 Merged revisions 159025 via svnmerge from
17 years ago
Sean Bright fd8caa1778 This is basically a complete rollback of r155401, as it was determined that
17 years ago
Matthew Nicholson f3d086256c Added EVENT_FLAG_AGI and used it for manager calls in res_agi.c
17 years ago
Russell Bryant 6fb1f86054 Merged revisions 158539 via svnmerge from
17 years ago
Mark Michelson 3a9c27459e Merged revisions 158072 via svnmerge from
17 years ago
Mark Michelson 0e5367f7eb Merge the changes from the res_timing_timerfd branch.
17 years ago
Kevin P. Fleming 81a16aa982 make some corrections to the ast_agi_register_multiple(), ast_agi_unregister_multiple() and ast_agi_fdprintf() API calls to be consistent with API guidelines
17 years ago
Tilghman Lesher afb571ba8f Starting with a change to ensure that ast_verbose() preserves ABI compatibility
17 years ago
Mark Michelson d91f1df3e0 Merged revisions 157305 via svnmerge from
17 years ago
Mark Michelson cf6c66de65 Fix some refcounting in app_queue.c and change the
17 years ago
Eliel C. Sardanons df6b78b742 Remove trailing whitespaces
17 years ago
Michiel van Baak 86f900b201 This commit does two things:
17 years ago
Eliel C. Sardanons 6f31fed83f Implement AGI XML documentation parsing functions.
17 years ago
Kevin P. Fleming 2872f82397 use some fancy compiler magic (thanks to Matthew Woehlke on the gcc-help mailing list) to restore type-safety to S_OR by going back to a macro, but preserve the side-effect-safe usage of the macro arguments
17 years ago
Eliel C. Sardanons 23adb8e509 Move all the XML documentation API from pbx.c to xmldoc.c.
17 years ago
Sean Bright 48522988ab In order to move away from nested function use, some changes to the recently introduced
17 years ago
Sean Bright 9ef09ad1d4 Merged revisions 155553 via svnmerge from
17 years ago
Russell Bryant ef489f8195 - Check for failure when putting the packet in the ast_str
17 years ago
Sean Bright 30d1744ffc Add ability to pass arbitrary data to the ao2_callback_fn (called from
17 years ago
Sean Bright 1d09d193e7 Convert open-coded linked list in indications to the AST_LIST_* macros. This
17 years ago
Russell Bryant d1da05b948 Clarify which part of OBJ_MULTIPLE is not implemented, and under what case it
17 years ago
Kevin P. Fleming 433af4241a make S_OR and S_COR safe to use even if the parameters are function calls or have side effects. it still bothers me that these are called S_OR and not something like ast_string_or, but that's water over the bridge
17 years ago
Sean Bright 7add06a4d6 Fix a problem found while building res_snmp.
17 years ago
Tilghman Lesher 0d25ddd366 Add LISTFILTER dialplan function, along with supporting documentation. See
17 years ago
Matthew Fredrickson 5250201d8b Make compilation of chan_dahdi so that it does not require the new pri_progress_with_cause function to have libpri support work.
17 years ago
Sean Bright 086a52d9d1 Introduce a new API call ast_channel_search_locked, which iterates through the
17 years ago
Tilghman Lesher 2cc8e25222 Slightly optimize ast_devstate_str and rename global functions devstate2str and config_text_file_save to have an ast_ prefix
17 years ago
Kevin P. Fleming a67790c6f5 instead of trying to forcibly load res_agi when app_stack is loaded (even if the administrator didn't want it loaded), use GCC weak symbols to determine whether it was loaded already or not; if it was loaded, then use it.
17 years ago
Russell Bryant 585899dbc0 Merged revisions 153651 via svnmerge from
17 years ago
Russell Bryant 5b168ee34b Merge changes from team/group/appdocsxml
17 years ago
Mark Michelson d521ad9696 * Fixed timeout logic in the dialing API as setting timeouts
17 years ago
Terry Wilson 5fe37e47c6 Recent CDR fixes moved execution of the 'h' exten into the bridging code, so variables that were set after ast_bridge_call was called would not show up in the 'h' exten. Added a callback function to handle setting variables, etc. from w/in the bridging code. Calls back into a nested function within the function calling ast_bridge_call
17 years ago
Russell Bryant d61cc3e1f6 Add a todo for a new timing API implementation that would work for Linux systems
17 years ago
Russell Bryant 694dd34413 Fix a bug in AST_SCHED_REPLACE_UNREF(). The reference count of the object
17 years ago
Kevin P. Fleming 4c83309c54 try to get this committed before the buildbot complains about a broken tree
17 years ago
Steve Murphy 6fad66dfb3 Merged revisions 152535 via svnmerge from
17 years ago
Kevin P. Fleming 1ddc834b39 cleaup of the TCP/TLS socket API:
17 years ago
Jason Parker ae0a736353 Merge codec_consistency branch. This should make sample usage much happier.
17 years ago
Tilghman Lesher b3bb9564d3 Fix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.
17 years ago
Mark Michelson 29a8fe20c8 Merged revisions 149204 via svnmerge from
17 years ago
Tilghman Lesher d5837ba8c2 Add additional memory debugging to several core APIs, and fix several memory
17 years ago
Tilghman Lesher c1351ad237 Merge realtime_update2 branch, which adds a new realtime API call named
17 years ago
Sean Bright 1dedb785ab Don't include logger.h in asterisk.h by default as it is causing problems building
17 years ago
Michiel van Baak 3ed062f810 only include this for OpenBSD. At least FreeBSD is borked when including it
17 years ago
Steve Murphy e235a07376 (closes issue #13557)
17 years ago
Tilghman Lesher 9335b3ad34 Allow people to select the old console behavior of white text on a black
17 years ago
Tilghman Lesher eaa1b73fcf Update documentation; AST_THREADSTORAGE() in trunk only takes a single
17 years ago
Michiel van Baak 4560279c69 All ODBC parts can now use either unixodbc or iodbc.
17 years ago
Jeff Peeler 2ec290b09d Similar to r143204, masquerade the channel in the case of Park being called from AGI.
17 years ago
Jeff Peeler 623bc9d82a Mvanbaak said this was needed to compile on OpenBSD, so put it in the OpenBSD section.
17 years ago
Michiel van Baak cd4829706a make aescrypt.c compile on OpenBSD again
17 years ago
Tilghman Lesher 529874de7b Add schedule extensions to app_meetme. In addition, the reporter found a
17 years ago
Kevin P. Fleming fa2f4776a2 fix bugs caused by r144949 when MALLOC_DEBUG is defined
17 years ago
Kevin P. Fleming 629861a705 Merged revisions 144924-144925 via svnmerge from
17 years ago
Steve Murphy 38028fa641 I added a little verbage to hashtab for the hashtab_destroy func.
17 years ago
Tilghman Lesher 08af5bb312 Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
17 years ago
Steve Murphy 67f7ac0499 Merged revisions 142675 via svnmerge from
17 years ago
Bradley Latus 7eb7696239 Minor fix to doco
17 years ago
Steve Murphy 8953b0f359 (closes issue #13366)
17 years ago
Tilghman Lesher 6dd5b8609f Optional light colored background, for those who use black on white terminals.
17 years ago
Mark Michelson c0754e89ad Merged revisions 139553 via svnmerge from
17 years ago
Sean Bright 7a636521b1 Fix this again so we can compile with shadow warnings enabled and IMAP chosen
17 years ago
Tilghman Lesher b7571f835d Merged revisions 136946 via svnmerge from
17 years ago
Steve Murphy a40f1cc1c5 Merged revisions 136726 via svnmerge from
17 years ago
Kevin P. Fleming a67af1e018 Merged revisions 136541 via svnmerge from
17 years ago
Sean Bright 4fb07fb0c1 Merge in a few more changes. This time the include/ directory.
17 years ago
Tilghman Lesher 29228a3afc Merged revisions 135899 via svnmerge from
17 years ago
Mark Michelson 89c2844242 Merged revisions 135841,135847,135850 via svnmerge from
17 years ago
Steve Murphy 5eaf8450d6 Merged revisions 135799 via svnmerge from
17 years ago
Tilghman Lesher ff101d0b07 Add '+=' append operator to configuration files.
17 years ago
Kevin P. Fleming f24d7a89f5 datastore inheritance is a channel feature, so move this definition back
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Tilghman Lesher aca394bf0c HTTP module memory leaks
17 years ago
Sean Bright 6cf6d9eca5 Merge in changes that allow Asterisk to be built against the Hoard
17 years ago
Tilghman Lesher c95460a353 Oops, wrong define
17 years ago
Tilghman Lesher 0c23159464 Deprecate *_device_state_* APIs in favor of *_devstate_* APIs
17 years ago
Russell Bryant 63fb8d794b Modify the main page of the doxygen documentation to link to a new page dedicated
17 years ago
Mark Michelson ed6323cb73 Merged revisions 133169 via svnmerge from
17 years ago
Kevin P. Fleming f910cfc444 Merged revisions 132872 via svnmerge from
17 years ago
Kevin P. Fleming 8115a6a9bf Merged revisions 132641 via svnmerge from
17 years ago
Tilghman Lesher 7c5d38ed02 (Step 2 of 2)
17 years ago
Tilghman Lesher 0ecc7e302d Optionally build integer-based routines for FSK tone decoding (but default
17 years ago
Russell Bryant c87f901cfd Remove libresample from the Asterisk source tree. It is now available in its
17 years ago
Tilghman Lesher 7575be9da1 Merged revisions 131985 via svnmerge from
17 years ago
Tilghman Lesher 3fa9ad3d13 Merged revisions 131970 via svnmerge from
17 years ago
Kevin P. Fleming 9a08061ea3 Merged revisions 131921 via svnmerge from
17 years ago
Steve Murphy b46ad8b190 (closes issue #13089)
17 years ago
Tilghman Lesher 28534ea921 Swap "static" and "const", so that "static" appears at the beginning of each
17 years ago
Tilghman Lesher bead8cd6f0 Add some debug code and add a missing release
17 years ago
Kevin P. Fleming b968349e19 Merged revisions 130039 via svnmerge from
17 years ago
Russell Bryant 65710485e4 Merged revisions 129970 via svnmerge from
17 years ago
Tilghman Lesher 4ff527903e Code wasn't ready to be merged - see -dev list discussion
17 years ago
Tilghman Lesher da03cdd174 Merged revisions 129149 via svnmerge from
17 years ago
Olle Johansson 6f400edeab Changing name of global api call to ast_*
17 years ago
Olle Johansson 45e79490ba Implement flags for AGI in the channel structure so taht "show channels" and
17 years ago
Olle Johansson 0a52297cf0 Add new SIP cli command "sip show channelstats" that displays some QoS data (if we have RTCP reports
17 years ago
Tilghman Lesher 12e5c68622 Merged revisions 127973 via svnmerge from
17 years ago
Steve Murphy bc2cfb3e81 Merged revisions 127663 via svnmerge from
17 years ago
Tilghman Lesher 885d17506b Keep ast_app_inboxcount API compatible with 1.6.0.
17 years ago
Terry Wilson a32369fcd5 Expose the prefix variable so that it can be used by modules depending on http support
17 years ago
Russell Bryant 3cf77c4c7f Fix a bunch of places where \arg was used instead of \param. Using \arg
17 years ago
Kevin P. Fleming 00696f5f37 make the AIS checking a little more generic, and have a more useful configure script command line option for OpenAIS
17 years ago
Kevin P. Fleming da14954bdc another minor ast_channel memory size decrease... for nearly all channels, 'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array
17 years ago
Russell Bryant 6f58a4f63a Merged revisions 126573 via svnmerge from
17 years ago
Sean Bright 19830f3359 Merge in changes from my cdr-tds-conversion branch. This changes the internal
17 years ago
Kevin P. Fleming af671ade7e yay for airplane ride optimizations... sort the fields in ast_channel by alignment requirements, saving 36 bytes per instance on a 64-bit platform
17 years ago
Tilghman Lesher cab9430106 Document DLA_UNLOCK and DLA_LOCK
17 years ago
Mark Michelson 67e2b82951 Optimization suggested by Russell to cache the value of pthread_self() so
17 years ago
Tilghman Lesher 09c15a0b71 Merged revisions 125793 via svnmerge from
17 years ago
Philippe Sultan e08829764c Fix a compile time error that occurs if OpenSSL is not installed. Reported by Noel Morais on the users mailing list
17 years ago
Tilghman Lesher 7b84cf6fa6 Convert casts to unions, to fix alignment issues on Solaris
17 years ago
Russell Bryant 02b1317d0f - add get_max_rate timing API call
17 years ago
Kevin P. Fleming fd4a60c459 Merged revisions 125132 via svnmerge from
17 years ago
Mark Michelson 14e78bbc6d Fix indentation
17 years ago
Mark Michelson 222685d402 Fix a bug in the rwlock tracking. ast_rwlock_unlock did not take into
17 years ago
Tilghman Lesher 94c4089f4e More expansion of the deadlock avoidance macro, including a macro to do locking
17 years ago
Tilghman Lesher 15093f2a63 Merged revisions 124965 via svnmerge from
17 years ago
Mark Michelson a2333afed6 Change references to doc/channelvariables.txt to
17 years ago
Michiel van Baak 8e8359465b Older versions of GNU gcc do not allow 'NULL' as sentinel.
17 years ago
Tilghman Lesher 4522c60ec8 Detect if the installed gcc version supports the warn_unused_result attribute.
17 years ago
Brett Bryant 2aae0ba13d Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using
17 years ago
Doug Bailey 2690378411 Clean up code that handles fsk mwi message generation by pulling it from do_monitor and creating its own thread.
17 years ago
Steve Murphy f4c85ebd22 (closes issue #12689)
17 years ago
Russell Bryant 96ea12126e Add a "timing test" CLI command. It opens a timer and configures it for
17 years ago
Russell Bryant e27a98ce5a - Fix a typo in a timing API call
17 years ago
Tilghman Lesher 043a15afa7 Document the input for ast_realtime_require_field()
17 years ago
Russell Bryant b6457ecf4c Merge changes from timing branch
17 years ago
Russell Bryant 880c647234 Complete the documentation for the timing API.
17 years ago
Russell Bryant 000625953b Get default entity ID determination working on Linux again
17 years ago
Kevin P. Fleming cdc2eeb9b9 clarify documentation on how timer intervals should be specified
17 years ago
Jeff Peeler ef3b214728 Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
17 years ago
Steve Murphy 1cebe01dac Merged revisions 122046 via svnmerge from
17 years ago
Kevin P. Fleming 191081e45f add infrastructure so that timing source can be a loadable module... next steps are to convert channel.c and chan_iax2.c to use this new API, and to move all the DAHDI-specific timing source code into a new res_timing_dahdi module
17 years ago
Tilghman Lesher 99c2f1c9f7 Expand CDR uniqueid field to 150 chars, to account for maximum systemname.
17 years ago
Tilghman Lesher 97fe3abeec Move the table cache routines to res_odbc, so they can be used from other
17 years ago
Russell Bryant 823d1c7ea9 Merge some more changes from team/russell/events
17 years ago
Russell Bryant 42c1e3601e Merge another change from team/russell/events
17 years ago
Russell Bryant f4a8062e93 Merge another change from team/russell/events ...
17 years ago
Russell Bryant 661a2201ec Merge a couple of configure script checks in from team/russell/events. This adds
17 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
17 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
17 years ago
Brett Bryant c1451b5537 This patch adds more detailed statistics for RTP channels, and provides an API call to access it, including maximums, minimums, standard deviatinos,
17 years ago
Tilghman Lesher 76506b7baa Move compatibility options into asterisk.conf, default them to on for upgrades,
17 years ago
Russell Bryant 85dfb6348b fix build for non debug threads
17 years ago
Russell Bryant 51051ce949 Add lock tracking for rwlocks. Previously, lock.h only had the ability to
17 years ago
Russell Bryant 64ee2bd3d7 After determining that the version of spandsp installed is an acceptable version,
17 years ago
Russell Bryant ef4a7eaf52 Add a configure script check for spandsp
17 years ago
Tilghman Lesher c7191467d2 Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
17 years ago
Olle Johansson a6db1ff912 Prefer T140 with REDundance before T140 without.
17 years ago
Brett Bryant 5b8e1963c5 Adds support for changing logger settingss on remote consoles with a
17 years ago
Tilghman Lesher 5a50f0e441 Merged revisions 118954 via svnmerge from
17 years ago
Tilghman Lesher 6e5d843a71 Merged revisions 118953 via svnmerge from
17 years ago
Philippe Sultan bf13b4df4e Changed to temporary namespaces to match with latest XEPs. As soon as
17 years ago
Russell Bryant ed1976a1cc Add printf format attribute for vasprintf().
17 years ago
Russell Bryant 982959c04f Add printf attribute to asprintf
17 years ago
Mark Michelson 0b06cc0231 Make sure not to include non-existent headers if they indeed are non-existent
17 years ago
Mark Michelson 975a848b67 A new feature thanks to the fine folks at Switchvox!
17 years ago
Brett Bryant d32c2d6fd9 Add new functionality to http server that requires manager authentication for any path that includes a directory named 'private'. This patch also
17 years ago
Russell Bryant 61e6ae545b Merged revisions 118048 via svnmerge from
17 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
17 years ago
Mark Michelson 1b8f183ca3 This change makes it so that logs will report the correct source of verbose messages.
17 years ago
Tilghman Lesher 452b3e204f Merged revisions 117086 via svnmerge from
17 years ago
Tilghman Lesher 5168282ba1 Add an extra check in ast_strlen_zero, and make ast_assert() not print the
17 years ago
Russell Bryant 08f91c1192 Merged revisions 116463 via svnmerge from
17 years ago
Olle Johansson bb386c84e7 Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
17 years ago
Mark Michelson b6aef57619 Merged revisions 116088 via svnmerge from
17 years ago
Matthew Fredrickson 5e3d36e4aa Add Zap MTP2 support to chan_zap
17 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
17 years ago
Brett Bryant 65b8381550 The following patch adds new options and alters the default behavior of the ENUM* functions. The TXCIDNAME lookup function has also gotten a
17 years ago
Joshua Colp ea483db47a Merged revisions 115579 via svnmerge from
17 years ago
Russell Bryant c5c35c7b53 re-add dlinkedlists.h to trunk, oops!
17 years ago
Russell Bryant 9c549e6cf5 Merged revisions 115512 via svnmerge from
17 years ago
Joshua Colp fc120bf827 Merged revisions 115327 via svnmerge from
17 years ago
Tilghman Lesher bb061a7ca4 Merged revisions 115308 via svnmerge from
17 years ago
Joshua Colp 9aeffd14cb Merged revisions 115279 via svnmerge from
17 years ago
Dwayne M. Hubbard b0b72e89a8 A taskprocessor is an object that has a name, a task queue, and an event processing thread. Modules reference a taskprocessor, push tasks into the taskprocessor as needed, and unreference the taskprocessor when the taskprocessor is no longer needed.
17 years ago
Mark Michelson 3cdf2fe440 Merged revisions 115196 via svnmerge from
17 years ago
Tilghman Lesher 0113bd4bcf Okay, maybe FreeBSD will like this better.
17 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
17 years ago
Tilghman Lesher 9e82fd7ec4 Merged revisions 115102 via svnmerge from
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Brett Bryant 5634048c98 Add two new dialplan functions from libspeex for applying audio gain control
17 years ago
Mark Michelson 3aad03e5f0 Adding a new option 'n' to app_chanspy. This option allows for the name of the spied-on
17 years ago
Tilghman Lesher 6a81da594d Add incomplete matching to PBX code and app_dial
17 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
17 years ago
Russell Bryant c0308de13e Merged revisions 114591 via svnmerge from
17 years ago
Mark Michelson 797adf6bf8 Round 2 of IMAP_STORAGE app_voicemail.c fixes:
17 years ago
Jason Parker 6f549bc324 Allow setqueuevar=yes (et al) to work, after changes to pbx_builtin_setvar()
17 years ago
Jeff Peeler 41fd7a6a21 (closes issue #6113)
17 years ago
Mark Michelson ae52cd4a76 Merged revisions 114207 via svnmerge from
17 years ago
Tilghman Lesher 123ac5fd64 Standardized routines for forking processes (keeps all the specialized code in one place).
17 years ago
Steve Murphy 752f6681b1 A small enhancement-- I added the routine log_show_lock to utils.c, which if the mentioned lock has been acquired, this routine will log to the console the normal info about that lock you'd see from the CLI when you do a 'core show locks'. It's solely for debug-- if the lock is NOT acquired, there is no output. I use it to show 'unexpected' locks, to see where/why a lock is pre-locked. This command is to be called from points of interest, like just before a trylock, and helps to spot fleeting, highly temporal locks that normally are not locked...
17 years ago
Steve Murphy 2b69ec9a38 Introducing a small upgrade to the ast_sched_xxx facility, to keep it from eating up lots of cpu cycles. See CHANGES. From the team/murf/bug11210 branch.
17 years ago
Steve Murphy 6138b16995 Introducing various astobj2 enhancements, chief being a refcount tracing feature, and various documentation updates in astobj2.h, and the addition of standalone utility, refcounter, that will filter the trace output for unbalanced, unfreed objects. This comes from the team/murf/bug11210 branch.
17 years ago
Steve Murphy 27891e6b4b Introducing doubly linked lists to trunk from branch team/murf/bug11210.
17 years ago
Mark Michelson 115d5024a1 Merged revisions 114051 via svnmerge from
17 years ago
Jason Parker f5a151e525 Move AST_FEATURE_FLAG_* and FEATURE_RETURN_* to features.h so that they can be used by modules.
17 years ago
Joshua Colp c7d51a7fc1 Put my slinfactory changes back in.
17 years ago
Tilghman Lesher 0e6140c564 Use a 32k file buffer on recordings, which increases the efficiency of file recording.
17 years ago
Terry Wilson 1eb31edde2 Re-add HTTP post support by moving to res_http_post.c
17 years ago
Jeff Peeler a5cdd849e5 This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
17 years ago
Joshua Colp 7dab892401 Merged revisions 112125 via svnmerge from
17 years ago
Russell Bryant afd8783577 Make some notes about common usage of pbx_builtin_getvar_helper() that is not
17 years ago
Mark Michelson 3a0f4cc933 Temporary revert of 111662. It's causing lots of trouble and appears to not be
17 years ago
Mark Michelson ca8e44c051 The copy_request function did not take into account the necessary null terminator
17 years ago
Steve Murphy 2427603eaf Merged revisions 111341 via svnmerge from
17 years ago
Tilghman Lesher e04025ead9 Simplify new macro, simplify configfile logic, now that list is sorted
17 years ago
Tilghman Lesher e6fc9ae52c Add a linkedlist macro that maintains a sorted list
17 years ago
Jason Parker 6412a96e43 Large cleanup of DSP code
17 years ago
Tilghman Lesher ef4eff9a9b Add the "config reload <conffile>" command, which allows you to tell Asterisk
17 years ago