Commit Graph

707 Commits (ac8fc3ad2d4dafaf3b15bdd6b576e4c94fd0874c)

Author SHA1 Message Date
Russell Bryant 4e752903bb Remove redundant check to ensure that LOW_MEMORY is not defined.
19 years ago
Tilghman Lesher b0f60e7496 Merged revisions 56685 via svnmerge from
19 years ago
Olle Johansson 75d387acbc Doxygen additions, corrections
19 years ago
Olle Johansson e916cf45da Doxygen updates and corrections
19 years ago
Russell Bryant dbd7334dcc Merged revisions 56505 via svnmerge from
19 years ago
Joshua Colp acf96db39f Merged revisions 56457 via svnmerge from
19 years ago
Russell Bryant 0d3a211335 Introduce a new manager action, GetConfigJSON, which is intended to improve
19 years ago
Russell Bryant 9138e53bc9 Merged revisions 56277 via svnmerge from
19 years ago
Joshua Colp afc99294fa Merged revisions 56231 via svnmerge from
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
Joshua Colp 48517d4bc8 Merged revisions 56008 via svnmerge from
19 years ago
Joshua Colp 7ec331f7ea Return trunk to a state where it compiles under Darwin. The byte order stuff is ugly, if anyone wants to clean it up... by all means do so.
19 years ago
Joshua Colp 746e139e6d Flush out the file pointer. (issue #9115 reported by guthrie)
19 years ago
Russell Bryant 4cbce3356e Merged revisions 55634 via svnmerge from
19 years ago
Kevin P. Fleming 74f31a51bc add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
19 years ago
Jason Parker aac92788a2 Merged revisions 54886 via svnmerge from
19 years ago
Olle Johansson ba32ee49d0 Adding Realtime Text support (T.140) to Asterisk
19 years ago
Joshua Colp 123c1b5b19 Rely on ast_gethostbyname to handle IP addresses, not inet_aton. (issue #9056 reported by pj)
19 years ago
Joshua Colp cd56d84085 Properly handle an error result from a manager action. This could have left the action list permanently locked for reading.
19 years ago
Olle Johansson 11a9db38ed Make file's new comment doxygenified
19 years ago
Joshua Colp 67b499bbf8 Clean up the I/O context handler.
19 years ago
Olle Johansson 9f02e13857 Show version in "core show settings"
19 years ago
Olle Johansson 8ac0fb2bc3 New CLI command "Core show settings" to list some core settings
19 years ago
Joshua Colp 8470ee5cd0 Merged revisions 54290 via svnmerge from
19 years ago
Russell Bryant f60efe347a This introduces a new dialplan function, DEVSTATE, which allows you to do some
19 years ago
Russell Bryant 0e2c86820b Use spaces instead of tabs in the help text for a CLI command
19 years ago
Russell Bryant df48a3b1be Simplify WELCOME_MESSAGE to be a single function call instead of one for each
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 10c4a5fef7 Simplify a small bit of logic.
19 years ago
Olle Johansson 4ca354f3f8 Fix debug handling in acl.c
19 years ago
Paul Cadach 85ad583544 Merged revisions 53879 via svnmerge from
19 years ago
Russell Bryant 5715b49c30 Merged revisions 53810 via svnmerge from
19 years ago
Joshua Colp cd1973e4bc It is with pleasure that I announce the return of rawman support through the HTTP server. (issue #9013 reported by Jynger)
19 years ago
Tilghman Lesher 588fcc7be7 Merged revisions 53532 via svnmerge from
19 years ago
Russell Bryant 4284fb1f4a Merged revisions 53497 via svnmerge from
19 years ago
Russell Bryant ef5aba253e Merged revisions 53464 via svnmerge from
19 years ago
Joshua Colp 8f6d9918a7 Merged revisions 53434 via svnmerge from
19 years ago
Russell Bryant dfb5ef7f55 Merged revisions 53429 via svnmerge from
19 years ago
Tilghman Lesher 5f3b3d2358 Merged revisions 53246 via svnmerge from
19 years ago
Olle Johansson f303a4db46 Doxygen formatting changes
19 years ago
Joshua Colp 2cc011e005 Merged revisions 53120 via svnmerge from
19 years ago
Joshua Colp 3388474e15 Merged revisions 53118 via svnmerge from
19 years ago
Joshua Colp 880e319b7a Clean up ast_device_state. It's pretty now!
19 years ago
Joshua Colp 8a889843ba Switch the devicestate thread to operate the same way as the logging thread. Pops all entries off the list to be processed, resets the list back to a clean state, and processes each entry. The thread won't have to acquire the list lock again until it checks to see if there are more to process.
19 years ago
Joshua Colp ae64c71d65 Read/write lockify the devicestate stuff a bit.
19 years ago
Joshua Colp 721c7b3372 Merged revisions 53072 via svnmerge from
19 years ago
Tilghman Lesher e5304e54cc Merged revisions 53070 via svnmerge from
19 years ago
Joshua Colp 431c93b025 Make trunk compile under dev mode.
19 years ago
Joshua Colp 493126cf0c Merged revisions 53052 via svnmerge from
19 years ago
Joshua Colp fa66a0bf03 Merged revisions 53050 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Russell Bryant 7ca426c5b4 Merged revisions 53040 via svnmerge from
19 years ago
Russell Bryant 83e2ed50e6 Merged revisions 52904 via svnmerge from
19 years ago
Russell Bryant f351f4278a Merged revisions 52695 via svnmerge from
19 years ago
Russell Bryant 9e1370e6c6 Merged revisions 52688 via svnmerge from
19 years ago
Russell Bryant 5dfed82cb9 Merged revisions 52647 via svnmerge from
19 years ago
Russell Bryant 2d0e8864aa Merged revisions 52645 via svnmerge from
19 years ago
Joshua Colp a1d764c00a Only use locking for bridge information if intense P2P bridging is enabled.
19 years ago
Russell Bryant 9540b7fcea The changes for trunk are less extensive, but include
19 years ago
Joshua Colp b1b339e612 Add core show channels count CLI command. (issue #8932 reported by mr_mehul_shah)
19 years ago
Russell Bryant 1f7fb2b0a6 Merged revisions 52494,52506 via svnmerge from
19 years ago
Joshua Colp 2d3301a1ed Merged revisions 52335 via svnmerge from
19 years ago
Joshua Colp 820d80f5a7 Convert some more stuff to read/write lists.
19 years ago
Joshua Colp e6f894b27a Add DBDel and DBDelTree manager commands. (issue #8516 reported by dprado)
19 years ago
Joshua Colp 7b561b95bd Merged revisions 52265 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
Olle Johansson ec67ab7602 Adding some doxygen for udptl.c
19 years ago
Russell Bryant dab41a355d Merged revisions 51848 via svnmerge from
19 years ago
Joshua Colp 68c1f5338f Close file after we do the translation, and map memory for both reading/writing. (issue #8886 reported by cwegener)
19 years ago
Russell Bryant ac884e0c3a Merged revisions 51781 via svnmerge from
19 years ago
Russell Bryant 8137080816 Merged revisions 51750 via svnmerge from
19 years ago
Steve Murphy 4182cd1184 Merged revisions 51683 via svnmerge from
19 years ago
Joshua Colp b86d65958f Might as well go crazy here too and make the autoservice list read/write.
19 years ago
Joshua Colp 21b53af31d Cosmetic changes. Make main source files better conform to coding guidelines and standards. (issue #8679 reported by johann8384)
19 years ago
Joshua Colp dcdc6c0bc6 Change RTP protos list to be read/write. Most of the time it's only going to be read so making it use mutex locks was a waste.
19 years ago
Joshua Colp 39d3580ee4 Make the RTP stack better conform to coding guidelines. (issue #8679 reported by johann8384)
19 years ago
Tilghman Lesher f7dd25f20c Fix bug introduced during constification (reported by tzanger via IRC)
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Luigi Rizzo e7c5029d23 in the interest of portability, avoid using %zd when all
19 years ago
Russell Bryant 32339eedfb Merged revisions 51302 via svnmerge from
19 years ago
Luigi Rizzo 80243d0f0c forgot to add AST_LIBS += $(BKTR_LIB)
19 years ago
Luigi Rizzo 5b9114fa73 include "asterisk/zapata.h" to get the zaptel headers.
19 years ago
Russell Bryant 606ee0dab4 Break out of the config processing loop for manager.conf once the correct user
19 years ago
Jason Parker 5d25265403 Merged revisions 51265 via svnmerge from
19 years ago
Russell Bryant fa16f36aae Merged revisions 51262 via svnmerge from
19 years ago
Tilghman Lesher 9d74ea97c0 Merged revisions 51256 via svnmerge from
19 years ago
Jason Parker 7f58759deb Fix filename completion for "module load" and "load" CLI commands.
19 years ago
Russell Bryant 0e8bd82efe Fix trunk version of manager support for users.conf. Now it actually pays
19 years ago
Jason Parker 11dd11e5a1 Merged revisions 51241 via svnmerge from
19 years ago
Russell Bryant 2c5d2168c1 Merged revisions 51233 via svnmerge from
19 years ago
Joshua Colp 461d49d2bd Merged revisions 51211 via svnmerge from
19 years ago
Tilghman Lesher a48fdb83a5 Merged revisions 51195 via svnmerge from
19 years ago
Joshua Colp c71d6c12f7 Don't hold channel lock while sleeping/waiting for audio stream to get setup. (issue #8834 reported by phsultan)
19 years ago
Joshua Colp 3e6d6e0e62 Merged revisions 51182 via svnmerge from
19 years ago
Jason Parker 9ca780a271 Merged revisions 51170 via svnmerge from
19 years ago
Jason Parker dad1116c72 Merged revisions 51146 via svnmerge from
19 years ago
Russell Bryant a01ebfc13b Merged revisions 51057 via svnmerge from
19 years ago
Joshua Colp 2964e9eab6 Merged revisions 50895 via svnmerge from
19 years ago
Kevin P. Fleming 74f401d05f Merged revisions 50867 via svnmerge from
19 years ago
Joshua Colp 35ce830d76 Merged revisions 50820 via svnmerge from
19 years ago
Tilghman Lesher 836956f1df Bug 8803 - Fix crash in API
19 years ago
Tilghman Lesher b2cb3f86c4 Merged revisions 50782 via svnmerge from
19 years ago
Joshua Colp d986f00e73 Merged revisions 50727 via svnmerge from
19 years ago
Joshua Colp e82a8a1d0a Exit from session loop upon error (ie: they disconnected) and don't do any buffer manipulation in do_message. get_input will handle it.
19 years ago
Joshua Colp c64ced140f Merged revisions 50602 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
Kevin P. Fleming aa3eea042d Merged revisions 50562 via svnmerge from
19 years ago
Kevin P. Fleming 1439e0fa75 when a channel gets automatically answered by an application, sleep a bit to give the audio path (for VOIP channels) time to be setup
19 years ago
Joshua Colp 4942fd94d2 Merged revisions 50466 via svnmerge from
19 years ago
Joshua Colp 278f2fe4c1 Merged revisions 50405 via svnmerge from
19 years ago
Joshua Colp fd06f29945 Merged revisions 50266 via svnmerge from
19 years ago
Joshua Colp ee137a5eaa Make callback declaration match one used in trunk.
19 years ago
Joshua Colp 91a7ca8df7 Merged revisions 50032 via svnmerge from
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
Tilghman Lesher 33d5a8a582 Reduce duplication of code (Issue 6542)
19 years ago
Jason Parker 5012135417 Fix a segfault when using "countries" that don't have a matching zone.
19 years ago
Jason Parker 5abda34cd9 Merged revisions 49742 via svnmerge from
19 years ago
Kevin P. Fleming 4a6ed271f5 probably shouldn't leave the mmap'ed file hanging around in memory
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 d0542012c0 Merged revisions 49680 via svnmerge from
19 years ago
Kevin P. Fleming 3d376fca97 use mmap() to read in the results of the manager action for an HTTP request, instead of reading it into a buffer
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Joshua Colp a9c3429b07 Merged revisions 49675 via svnmerge from
19 years ago
Kevin P. Fleming 2288b11bf4 use a rwlock-list for the list of TLS objects
19 years ago
Kevin P. Fleming 4764795b37 Merged revisions 49553 via svnmerge from
19 years ago
Joshua Colp 50d9c8ad07 Merged revisions 49551 via svnmerge from
19 years ago
Kevin P. Fleming c5c17a1434 Merged revisions 49536 via svnmerge from
19 years ago
Joshua Colp af3e5903c8 It's pretty difficult to pthread_kill a thread that doesn't exist. (issue #8681 reported by bkruse)
19 years ago
Kevin P. Fleming ec2ae45651 Merged revisions 49457,49460-49461 via svnmerge from
19 years ago
Steve Murphy 7c6b71df21 Merged revisions 49237 via svnmerge from
19 years ago
Olle Johansson e5b5a92a56 Fix manager too.
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
Joshua Colp e2a50de88f Clarify why we are reading in a frame in the Packet2Packet bridge.
19 years ago
Kevin P. Fleming 3f7899c9da small formatting fix
19 years ago
Joshua Colp c6c83cf01e Merged revisions 49066 via svnmerge from
19 years ago
Joshua Colp b712e10a13 Convert uri_redirects list to read/write locks.
19 years ago
Joshua Colp 6d9273d0d8 Merged revisions 49024 via svnmerge from
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
Joshua Colp 7231cc108a Merged revisions 49009 via svnmerge from
19 years ago
Kevin P. Fleming adca0ff14b Merged revisions 49006 via svnmerge from
19 years ago
Kevin P. Fleming b07686e503 apparently we need an explicit message to warn people
19 years ago
Kevin P. Fleming afbfafa400 make the 'languageprefix' option default to on, and deprecate turning it off
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 d3bf06f272 Resolve some compiler warnings
19 years ago
Russell Bryant 850dd4ea61 Use spaces as a separator for the redirect option to improve readability
19 years ago
Russell Bryant 5d5cc243c6 Simplify the definition of http_uri_redirect such that only one allocation is
19 years ago
Russell Bryant 2c5071a006 - Convert the list of URI handlers to use the linked list macros. While doing
19 years ago
Russell Bryant 08cfbe97b8 Remove a debug message. If this is still needed for debugging something,
19 years ago
Jason Parker 05d6c4a2d0 Merged revisions 48906 via svnmerge from
19 years ago
Joshua Colp 8e9cdb10fd Merge non-blocking logger from my branch. This should improve things under heavy load with lots of CLI/logging output.
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
Luigi Rizzo a2e6c6277f same as in other places, check that generator->release is not NULL
19 years ago
Joshua Colp f19ff5a451 Really clean up indications to use the linkedlists API
19 years ago
Joshua Colp 77d7b36217 Switch list of global variables to read/write locks.
19 years ago
Joshua Colp 730d68976e Convert alternate dialplan switch list to use read/write locks.
19 years ago
Steve Murphy 9327720c37 As per bug 7978, this version introduces the jittertargetextra option in config files
19 years ago
Luigi Rizzo d0b9eb93b6 remove now useless extern declarations.
19 years ago
Luigi Rizzo ccebf3511c convert the final clients of ast_build_string to use ast_str_*()
19 years ago
Luigi Rizzo 684e4dc373 debugging shows that we always need more than 128 bytes
19 years ago
Kevin P. Fleming 920de98f68 Merged revisions 48554 via svnmerge from
19 years ago
Luigi Rizzo 79fb4e4579 Replace ast_build_string with ast_str_*().
19 years ago
Kevin P. Fleming 89c41e2403 Merged revisions 48525 via svnmerge from
19 years ago
Kevin P. Fleming 018a9c86e4 Merged revisions 48521 via svnmerge from
19 years ago
Luigi Rizzo 2703a1a9df forgot this part...
19 years ago
Luigi Rizzo 97ce2f8fd8 another conversion from ast_build_str to ast_str
19 years ago
Luigi Rizzo c1220dd27e convert ast_build_str to ast_str_*
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
Joshua Colp 915647d267 Merged revisions 48506 via svnmerge from
19 years ago
Luigi Rizzo 4e427d84bd unbreak the output for http session.
19 years ago
Luigi Rizzo b6d1722c83 remove ast_safe_string_alloc() - it is completely
19 years ago
Olle Johansson 0722c9ae77 Doxygen changes
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
Joshua Colp 1c4c365377 Merged revisions 48461 via svnmerge from
19 years ago
Luigi Rizzo dd9d56b4c3 make sure that showdialplan sends only one
19 years ago
Luigi Rizzo efbfd6ce65 clean up function manager_show_dialplan_helper()
19 years ago
Luigi Rizzo 77e986e0d0 properly initialize a malloc'ed buffer
19 years ago
Luigi Rizzo 1b45dc4eee normalize the scanning of "general" options in the config file.
19 years ago
Luigi Rizzo 33cbc5e55e Make sure tab-completion works even when we have typed a fully
19 years ago
Luigi Rizzo f6c706c71b make sure the argument to ast_malloc() is > 0.
19 years ago
Steve Murphy 2c332f0200 This update fixes the problem reported in bug 8551; that ast_app_getdata() behaves differently in trunk for the case of a null prompt.
19 years ago
Joshua Colp c3052f7a7e Merged revisions 48381 via svnmerge from
19 years ago
Luigi Rizzo 437f4288cd - Generalize the function ssl_setup() so that the certificate info
19 years ago
Steve Murphy cb5e37e56c Merged revisions 47986,47995,47997,48001,48003-48004,48008-48014,48016,48018-48019 via svnmerge from
19 years ago
Luigi Rizzo 605b9a914e remove duplicated code to start the server threads, use
19 years ago
Luigi Rizzo ce6804c877 Part of the transformations necessary to add TLS support,
19 years ago
Luigi Rizzo 6a147ed134 Make externally visible some generic code useful to create
19 years ago
Russell Bryant 17a2888d2e Staticize one, and Constify a bunch of usage strings for CLI commands.
19 years ago