Commit Graph

2260 Commits (34080f9cbecd9094088821f1b287742103896079)

Author SHA1 Message Date
Mark Michelson fb3564de50 _ys pointed out in #asterisk-bugs that he was experiencing
18 years ago
Mark Michelson 6a9a22f32f Add the same fix from revision 123271 to container_destruct_debug.
18 years ago
Tilghman Lesher 6d5b1d76ab If we don't match registrar when destroying a context, it can cause a crash.
18 years ago
Russell Bryant 8b1646163d Merged revisions 123271 via svnmerge from
18 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.
18 years ago
Steve Murphy f4c85ebd22 (closes issue #12689)
18 years ago
Russell Bryant 96ea12126e Add a "timing test" CLI command. It opens a timer and configures it for
18 years ago
Russell Bryant e27a98ce5a - Fix a typo in a timing API call
18 years ago
Mark Michelson 99ea83bbec Merged revisions 122713 via svnmerge from
18 years ago
Tilghman Lesher a82ba57bb4 Convert one more delimiter to use comma.
18 years ago
Russell Bryant b6457ecf4c Merge changes from timing branch
18 years ago
Jeff Peeler 84d0404ed5 (closes issue 0012193)
18 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.
18 years ago
Tilghman Lesher 1af7ea2df1 Merged revisions 122130 via svnmerge from
18 years ago
Steve Murphy 86aaed2cc5 Merged revisions 122127 via svnmerge from
18 years ago
Steve Murphy 1cebe01dac Merged revisions 122046 via svnmerge from
18 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
18 years ago
Russell Bryant db960fc830 Don't log not being able to set a default EID. Most people don't care, and
18 years ago
Terry Wilson 65a1460c51 Initialize parkingtime to DEFAULT_PARK_TIME instead of 0
18 years ago
Tilghman Lesher 467c6f5f90 Merged revisions 121861 via svnmerge from
18 years ago
Mark Michelson f0a019dbec Add an additional sanity check in case an event is passed between
18 years ago
Russell Bryant e9d72e0cb2 Merge another big set of changes from team/russell/events
18 years ago
Russell Bryant 823d1c7ea9 Merge some more changes from team/russell/events
18 years ago
Russell Bryant 42c1e3601e Merge another change from team/russell/events
18 years ago
Joshua Colp 610faf1132 Merged revisions 121442 via svnmerge from
18 years ago
Russell Bryant f4a8062e93 Merge another change from team/russell/events ...
18 years ago
Russell Bryant a886b6e5e6 Properly initialize the cli_ping condition and lock
18 years ago
Russell Bryant c94c4f5572 Change system header includes to be like how it is done in other files
18 years ago
Tilghman Lesher 53459f86b2 Expand RQ_INTEGER type out to multiple types, one for each precision
18 years ago
Terry Wilson a6a6821717 Initialize the lock and destroy lock and cond in the destructor (thanks, mmichelson)
18 years ago
Russell Bryant 6fd6286a11 arbitrary formatting change to test mantis change
18 years ago
Russell Bryant 85a631f767 arbitrary formatting change to test a mantis change
18 years ago
Russell Bryant 0bee0c65b2 Minor formatting change to test a mantis change ...
18 years ago
Russell Bryant 90cb28f89c Merged revisions 121280 via svnmerge from
18 years ago
Tilghman Lesher 2d825ed7de Implement FINDLABEL matching for the new extension matching engine.
18 years ago
Tilghman Lesher ab988ac6f4 Make extension match characters case-insensitive.
18 years ago
Jeff Peeler 5934801d84 Merged revisions 120863,120885 via svnmerge from
18 years ago
Steve Murphy d0384ab3aa a small fix for a crash that occurs when compiling AEL with global vars
18 years ago
Tilghman Lesher 9471b87d27 Merge the adaptive realtime branch, which will make adding new required fields
18 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,
18 years ago
Tilghman Lesher 90d75af346 Conditionally load the AGI command gosub, depending on whether or not res_agi
18 years ago
Tilghman Lesher 12cf254253 MSet doesn't necessarily need chan to be set
18 years ago
Jeff Peeler 5f9bb7ed02 Merged revisions 120173 via svnmerge from
18 years ago
Tilghman Lesher 76506b7baa Move compatibility options into asterisk.conf, default them to on for upgrades,
18 years ago
Russell Bryant 51051ce949 Add lock tracking for rwlocks. Previously, lock.h only had the ability to
18 years ago
Russell Bryant 8b0ea3a76d Do a deep copy of file and function strings to avoid a potential crash when
18 years ago
Russell Bryant 44e1c94465 Merged revisions 119742 via svnmerge from
18 years ago
Russell Bryant da85b710ef Fix a minor merge issue that caused a function to not get compiled in with
18 years ago
Joshua Colp 88a847c4cc Merged revisions 119354 via svnmerge from
18 years ago
Russell Bryant f98e98819e Merged revisions 119156 via svnmerge from
18 years ago
Brett Bryant 5b8e1963c5 Adds support for changing logger settingss on remote consoles with a
18 years ago
Steve Murphy 9107547668 Had to move the ASTERISK_FILE_VERSION decl to just after the include of "asterisk.h"
18 years ago
Michiel van Baak 4dfea912d0 Make sure the nrfds and nefds are reset to NULL
18 years ago
Tilghman Lesher 6e5d843a71 Merged revisions 118953 via svnmerge from
18 years ago
Steve Murphy a2367c07f8 Merged revisions 118858 via svnmerge from
18 years ago
Tilghman Lesher 9af6852e24 Merged revisions 118551 via svnmerge from
18 years ago
Tilghman Lesher 4169ea891c Merged revisions 118465 via svnmerge from
18 years ago
Tilghman Lesher 316e334751 Change space-zero to now evaluate to false, as is expected by a great many.
18 years ago
Jeff Peeler 1546f9662d Fixes segfault in parking, patch submitted by bmd.
18 years ago
Mark Michelson 975a848b67 A new feature thanks to the fine folks at Switchvox!
18 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
18 years ago
Russell Bryant 61e6ae545b Merged revisions 118048 via svnmerge from
18 years ago
Tilghman Lesher 3e8269359f Merged revisions 117899 via svnmerge from
18 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
18 years ago
Russell Bryant 415516af1c Store build-time options as a string in AST_BUILDOPTS in buildopts.h. Also,
18 years ago
Mark Michelson 1b8f183ca3 This change makes it so that logs will report the correct source of verbose messages.
18 years ago
Tilghman Lesher 7a2413e904 Merged revisions 117519 via svnmerge from
18 years ago
Russell Bryant e64aaf24b0 Merged revisions 117514 via svnmerge from
18 years ago
Russell Bryant 457dbc1b4f Merged revisions 117507 via svnmerge from
18 years ago
Russell Bryant 467b4746ab Merged revisions 117479 via svnmerge from
18 years ago
Mark Michelson 46e68c36b6 Be sure that we cache included files for each source file which loads
18 years ago
Luigi Rizzo d5c75ee032 + Implement a variant of astman_get_header() to return the first or
18 years ago
Luigi Rizzo c7a4899ac4 Document the possible presence of multiple variables with the
18 years ago
Luigi Rizzo d56a42cb1a Reverse the check for Cookie: and remove leftover code implementing
18 years ago
Russell Bryant 7d2d373d6f Minor formatting change to test a mantis change ...
18 years ago
Joshua Colp 83e37eaf1c The logger closes the files it is logging to when reloading so we have to read in the logger configuration even if it has not changed so that the logs get opened again.
18 years ago
Luigi Rizzo 18065a175d Use casts or intermediate variables to remove a number
18 years ago
Russell Bryant 08f91c1192 Merged revisions 116463 via svnmerge from
18 years ago
Joshua Colp 0d85a0eff7 Add a missing context unlock.
18 years ago
Joshua Colp 5ec16b6d6b Merged revisions 116352 via svnmerge from
18 years ago
Jeff Peeler 4729632721 Fixed a few problems with multiparking: call not being parked in the correct parking spot, caller not being notified of parking spot position, and improperly hanging up the call during a transfer due to timing out (not providing the extension in which to transfer).
18 years ago
Olle Johansson bb386c84e7 Adding spport for T.140 RED - Simple RTP redundancy to prevent packet loss in text stream
18 years ago
Olle Johansson 29b1d73567 Add support for codec settings in originate via call file and manager.
18 years ago
Mark Michelson b6aef57619 Merged revisions 116088 via svnmerge from
18 years ago
Russell Bryant 8e4c0e85d8 Merged revisions 115990 via svnmerge from
18 years ago
Tilghman Lesher 99cad5bf49 Merged revisions 115884 via svnmerge from
18 years ago
Olle Johansson e30c26c689 Add support for playing an audio file for caller and callee at start and stop of monitoring (one-touch monitor).
18 years ago
Mark Michelson 2e054642d5 Merged revisions 115735 via svnmerge from
18 years ago
Mark Michelson 7daebcd610 Adding support for "urgent" voicemail messages. Messages which are
18 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
18 years ago
Russell Bryant e40c662a06 Merged revisions 115551 via svnmerge from
18 years ago
Russell Bryant 56aa9b9efa Fix up a problem that was introduced into the scheduler when it was converted
18 years ago
Tilghman Lesher ff01792e50 Merged revisions 115415 via svnmerge from
18 years ago
Tilghman Lesher e82b7365b7 Merged revisions 115333 via svnmerge from
18 years ago
Mark Michelson 276118a776 #execing the same file multiple times led to warning messages saying that the same file was
18 years ago
Russell Bryant 7f29bc7bc6 Simplify code by using a taskprocessor for dispatching events in the Asterisk core.
18 years ago
Tilghman Lesher 73581f3905 Optionally display the value of several variables within the Status command.
18 years ago
Dwayne M. Hubbard ca4ae77c91 pbx uses a taskprocessor for device state changes
18 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.
18 years ago
Tilghman Lesher b11854445b Add attributes to various API calls, to help track down bugs (and remove a deprecated function)
18 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
18 years ago
Tilghman Lesher 95490ee5c2 Merged revisions 115017 via svnmerge from
18 years ago
Brett Bryant 5634048c98 Add two new dialplan functions from libspeex for applying audio gain control
18 years ago
Kevin P. Fleming fc4390ac37 fix this logic to actually be correct... the fd can't be *both* -1 and an array index to be checked in rfds/efds (bug found by gcc-4.3)
18 years ago
Mark Michelson 3aad03e5f0 Adding a new option 'n' to app_chanspy. This option allows for the name of the spied-on
18 years ago
Tilghman Lesher 6a81da594d Add incomplete matching to PBX code and app_dial
18 years ago
Tilghman Lesher ab608c09e2 Oops, this isn't necessarily AGI that is forking anymore
18 years ago
Russell Bryant 34451e7c43 Merge code from team/russell/parking_updates
18 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
18 years ago
Russell Bryant 76917df5cb Merged revisions 114600 via svnmerge from
18 years ago
Russell Bryant c0308de13e Merged revisions 114591 via svnmerge from
18 years ago
Joshua Colp c3dd5e3e27 Merged revisions 114579 via svnmerge from
18 years ago
Steve Murphy 76155d60ce (closes issue #12469)
18 years ago
Russell Bryant 96638d7bb5 re-add a fix that got lost with a recent change
18 years ago
Jason Parker 6f549bc324 Allow setqueuevar=yes (et al) to work, after changes to pbx_builtin_setvar()
18 years ago
Russell Bryant a3f3613d66 Correct action_ping() and action_events() with regards to Manager 1.1
18 years ago
Steve Murphy 161b4abd79 Hopefully, this will resolve the issues that russellb had with this log_show_lock().
18 years ago
Jeff Peeler 41fd7a6a21 (closes issue #6113)
18 years ago
Steve Murphy c0b8f57b9d (closes issue #12467)
18 years ago
Russell Bryant 0bb3c15606 Merged revisions 114284 via svnmerge from
18 years ago
Mark Michelson 0e821d7201 Merged revisions 114257 via svnmerge from
18 years ago
Russell Bryant 19f7e8cc93 Merged revisions 114230 via svnmerge from
18 years ago
Russell Bryant 0270b3d6c9 Make this file compile. The variable str is never set anywhere. Furthermore,
18 years ago
Mark Michelson ae52cd4a76 Merged revisions 114207 via svnmerge from
18 years ago
Tilghman Lesher 123ac5fd64 Standardized routines for forking processes (keeps all the specialized code in one place).
18 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...
18 years ago
Steve Murphy 8b6d8da58c Introducing a small optimization to event_unsubscribe; events now use a Doubly-Linked list for events, gives fast deletions, for the sake of channel driver mwi events. From team/murf/bug11210.
18 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.
18 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.
18 years ago
Steve Murphy 5b4222c9de These changes:
18 years ago
Jason Parker efb767e432 Convert several DEBUG logs into ast_debug.
18 years ago
Mark Michelson 0270776ca5 Merged revisions 114117 via svnmerge from
18 years ago
Mark Michelson 9ddc843fbe Merged revisions 114106 via svnmerge from
18 years ago
Joshua Colp 5fff9c7304 Merged revisions 114100 via svnmerge from
18 years ago
Mark Michelson e409a129af Merged revisions 114063 via svnmerge from
18 years ago
Mark Michelson 115d5024a1 Merged revisions 114051 via svnmerge from
18 years ago
Jason Parker 51c92a4644 Merged revisions 114035 via svnmerge from
18 years ago
Joshua Colp 4a21c5dd22 Fix spelling of existent in a few places.
18 years ago
Mark Michelson 28bd5d88c1 There was a subtle logical difference between 1.4 and trunk with regards to how timeouts
18 years ago
Jason Parker f5a151e525 Move AST_FEATURE_FLAG_* and FEATURE_RETURN_* to features.h so that they can be used by modules.
18 years ago
Jason Parker d3355ff2ed Merged revisions 113402 via svnmerge from
18 years ago
Joshua Colp dc8fe3910d Merged revisions 113296 via svnmerge from
18 years ago
Mark Michelson be02a94138 Merged revisions 113065 via svnmerge from
18 years ago
Joshua Colp c7d51a7fc1 Put my slinfactory changes back in.
18 years ago
Dwayne M. Hubbard 5e6d84eb69 sleep long enough for the zaptel timer error message to display before exit
18 years ago
Joshua Colp b7b2e732f0 Merged revisions 112711 via svnmerge from
18 years ago
Dwayne M. Hubbard 6dafddbe39 satisfy buildbot
18 years ago
Dwayne M. Hubbard 593dcbe311 add a Zaptel timer check to verify the timer is responding when Zaptel support is compiled into Asterisk and Zaptel drivers are loaded. This will help people not waste their valuable time debugging side effects.
18 years ago
Tilghman Lesher 0e6140c564 Use a 32k file buffer on recordings, which increases the efficiency of file recording.
18 years ago
Mark Michelson 2580dfc6fb Merged revisions 112468 via svnmerge from
18 years ago
Terry Wilson 1eb31edde2 Re-add HTTP post support by moving to res_http_post.c
18 years ago
Steve Murphy da41d47a83 Bumped across another test set for the new exten pattern matcher, which revealed a problem with the CANMATCH/MATCHMORE modes. Direct matches were getting in the way. Fixed.
18 years ago
Steve Murphy 2fb0bfba35 (closes issue #12298)
18 years ago
Joshua Colp 0d7cfae6b6 Merged revisions 112209 via svnmerge from
18 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.
18 years ago
Mark Michelson 4dbacf6bbc Merged revisions 112138 via svnmerge from
18 years ago
Joshua Colp 7dab892401 Merged revisions 112125 via svnmerge from
18 years ago
Terry Wilson f02c11d88b Yeah, simplify that logic a bit...
18 years ago
Terry Wilson aa720d402b Handle blank prefix= in http.conf
18 years ago
Russell Bryant 16b2720cd4 Note a minor race condition that I noticed while reviewing Jeff's changes
18 years ago
Terry Wilson 2848068017 Fix another little http problem. In making it match coding guidelines, a comparison was dropped
18 years ago
Steve Murphy 3d4cb09ae8 comment cleanup and iron out a really dumb mistake in handling the '.'-wildcard in the new exten pattern matcher.
18 years ago
Tilghman Lesher 42358325a8 Merged revisions 111442 via svnmerge from
18 years ago
Steve Murphy 6928ccfa02 Merged revisions 111391 via svnmerge from
18 years ago
Jason Parker 8f2ae67a3e But we can change the API here.
18 years ago
Jason Parker 0271088279 Merged revisions 111280 via svnmerge from
18 years ago
Jason Parker f59c496a81 Merged revisions 111245 via svnmerge from
18 years ago
Terry Wilson 4c2531989a Stupid strcasecmp function :-)
18 years ago
Tilghman Lesher e04025ead9 Simplify new macro, simplify configfile logic, now that list is sorted
18 years ago
Tilghman Lesher e6fc9ae52c Add a linkedlist macro that maintains a sorted list
18 years ago
Jason Parker dd2700d0b1 Only try to detect silence when we actually need to, instead of...always.
18 years ago
Jason Parker 6412a96e43 Large cleanup of DSP code
18 years ago
Tilghman Lesher ef4eff9a9b Add the "config reload <conffile>" command, which allows you to tell Asterisk
18 years ago
Mark Michelson 43d70915bb This ensures that the manager interface is not enabled by default. Prior to this
18 years ago
Joshua Colp 738e4ec94e Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
18 years ago
Joshua Colp 358ac2f76a Merged revisions 110628 via svnmerge from
18 years ago
Joshua Colp 30d85b3144 Merge over ast_audiohook_volume branch. This adds API calls for use by developers to adjust the volume on a channel.
18 years ago
Russell Bryant 6430ec3294 Merged revisions 110395 via svnmerge from
18 years ago
Russell Bryant 4e72f83d3e Fix a bug when using zaptel timing for playing back files that have a sample rate
18 years ago
Mark Michelson ff9befa36a Add missing unlock
18 years ago
Russell Bryant bccebdd21f Remove astobj.h from some places where it wasn't needed
18 years ago
Russell Bryant 3c6cf5dcc5 Add some fixes that I made in regards to wideband codec handling to get
18 years ago
Jason Parker 9e3603dac9 Rename DSP_FEATURE_DTMF_DETECT, because we are *NOT* only detecting DTMF digits.
18 years ago
Jason Parker 8d4276578a Rename very poorly named function to reflect what it actually does. This was causing quite a bit of confusion for me...
18 years ago
Joshua Colp 3e439e9616 Merged revisions 110019 via svnmerge from
18 years ago
Joshua Colp e097cc7221 Add the ability to use a pattern match for a hint.
18 years ago
Steve Murphy 14e1d8c6d8 Merged revisions 109908 via svnmerge from
18 years ago
Kevin P. Fleming 75cb5032e6 actually implement HTTP request dispatching based on both URI and method; reduce duplication of data when generating responses using ast_http_error()
18 years ago
Russell Bryant 4c6486782f Fix some more breakage that I introduced when changing extension state callbacks to the list macros.
18 years ago
Kevin P. Fleming 84b133bd81 clean up code to conform to coding guidelines
18 years ago
Russell Bryant 89ad4ace67 Remove an unneeded variable. This compiled, but I missed the uninitialized warning
18 years ago
Russell Bryant b47eee2187 Convert handling of extension state callbacks to the list macros.
18 years ago
Russell Bryant e1bd198bc0 Minor coding style changes, including adding handling for memory allocation failure
18 years ago
Russell Bryant f1d2a11aad Minor change to use Asterisk macros
18 years ago
Russell Bryant c1cf92d304 Merged revisions 109838 via svnmerge from
18 years ago
Kevin P. Fleming e191b51a08 start the process of changing HTTP request dispatching to do it based on *both* URI and method, so that POST support can move into a module; move http.c's private function prototypes into _private.h
18 years ago
Terry Wilson b02bc230af Go through and fix a bunch of places where character strings were being interpreted as format strings. Most of these changes are solely to make compiling with -Wsecurity and -Wformat=2 happy, and were not
18 years ago
Joshua Colp 760fc3403c Make sure values are interpreted as character strings and not format strings.
18 years ago
Joshua Colp 10cdbe28a8 Merged revisions 109386 via svnmerge from
18 years ago
Terry Wilson e727d15d34 Replace minimime with superior GMime library so that the entire contents of an http post are not read into memory.
18 years ago
Mark Michelson b246e010d5 Merged revisions 109226 via svnmerge from
18 years ago
Steve Murphy 0af58d3f5c (closes issue #12238)
18 years ago
Michiel van Baak b311134430 Merged revisions 108961 via svnmerge from
18 years ago
Russell Bryant 072eb8a913 Remove a double write lock of the contexts lock in ast_wrlock_contexts().
18 years ago
Mark Michelson 963a2cec51 Make this compile
18 years ago
Russell Bryant 835df7d30f Merged revisions 108583 via svnmerge from
18 years ago
Mark Michelson d236e3d1b1 Fixing a potential buffer overflow in the manager command ModuleCheck.
18 years ago
Russell Bryant c3c56990df Make the default prefix empty, like it was in Asterisk 1.4.
18 years ago
Russell Bryant 8bbef5f996 Rename ast_tcptls_server_instance to session_instance, since this pertains to
18 years ago
Joshua Colp a3c7b08d19 Doxygenify slinfactory a bit.
18 years ago
Russell Bryant b38cb44acd Merged revisions 108135 via svnmerge from
18 years ago
Joshua Colp 5fc569f5f5 Merged revisions 108083 via svnmerge from
18 years ago
Russell Bryant f7e28b12fe Merged revisions 108031 via svnmerge from
18 years ago
Tilghman Lesher 10609251f9 Revert several changes from revision 102525, as the changes were not
18 years ago
Tilghman Lesher d02f74ebfe An offhand comment from Russell made me realize that the configuration file
18 years ago
Joshua Colp b84cdbfe38 Merged revisions 107646 via svnmerge from
18 years ago
Joshua Colp f26ed3f4bf Clarify comment about masquerading and playback of the parking slot.
18 years ago
Kevin P. Fleming c7eebb3db8 Merged revisions 107408 via svnmerge from
18 years ago
Kevin P. Fleming 79c3038ee5 Merged revisions 107352 via svnmerge from
18 years ago
Tilghman Lesher bdad3c9889 (closes issue #6019)
18 years ago
Russell Bryant 0ee1f43b4a Merged revisions 107161 via svnmerge from
18 years ago
Russell Bryant 2d95fb33bd Merged revisions 107158 via svnmerge from
18 years ago
Russell Bryant 86fe5cc800 Merged revisions 107102 via svnmerge from
18 years ago
Russell Bryant 541039ce1b Merged revisions 107099 via svnmerge from
18 years ago
Steve Murphy dafa73bade way back in July, in r.75706, a fix was made ot the strftime usages, which was good, but in this case, the check for a nil time was accidentally removed, and now it is restored, to keep timevals like '1969-12-31 17:00:00' from showing up in the cdrs. No idea what databases will do with this. No bugs filed as yet, but it felt like a bug.
18 years ago
Joshua Colp af7e1964f2 Merged revisions 107016 via svnmerge from
18 years ago
Jason Parker 8aa30ccf0b Merged revisions 106842 via svnmerge from
18 years ago
Joshua Colp 733a740922 Merged revisions 106788 via svnmerge from
18 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
18 years ago
Tilghman Lesher a60f591c72 Merged revisions 106606 via svnmerge from
18 years ago
Tilghman Lesher 8718878490 Merged revisions 106552 via svnmerge from
18 years ago
Russell Bryant 5ca5d97673 Merge changes from team/russell/g722-sillyness ...
18 years ago
Jason Parker 49ef635a6d Fix file playback in many cases.
18 years ago
Mark Michelson 924b7d3636 Merged revisions 106437 via svnmerge from
18 years ago
Joshua Colp 496adc6fc0 Merged revisions 106235 via svnmerge from
18 years ago
Mark Michelson 2ed30d47e8 Adding the Atxfer manager command. With this, you may initiate
18 years ago
Joshua Colp 455f6137b4 Fix code up to what it was meant to be.
18 years ago
Tilghman Lesher 8a411ccf83 Create a centralized configuration option for silencethreshold
18 years ago
Russell Bryant a760a033e9 Merged revisions 105932 via svnmerge from
18 years ago
Mark Michelson 6cf6059402 There are several places in manager.c where BUFSIZ is used for a buffer
18 years ago
Tilghman Lesher 7007c565fe Fix minor misuses of snprintf
18 years ago
Tilghman Lesher cfc1df4c1a Whitespace changes only
18 years ago
Russell Bryant 96e04792bd add a destroy API call for a server instance
18 years ago
Russell Bryant cc55483858 More public API name changes to use an appropriate ast_ prefix
18 years ago
Russell Bryant efb1e30a38 Rename public object server_instance to ast_tcptls_server_instance
18 years ago
Joshua Colp 3b070a815d Merged revisions 105676 via svnmerge from
18 years ago
Joshua Colp 4de0d8368f Merged revisions 105674 via svnmerge from
18 years ago
Russell Bryant 7205c1f23c Make it so you don't have to cast away const in a couple places
18 years ago
Russell Bryant 83002989a9 remove unnecessary casts
18 years ago
Russell Bryant 6d3b251588 - Add curly braces around the while loop
18 years ago
Russell Bryant 71173779dc Use ast_copy_string() instead of strncpy(), and use sizeof() instead of
18 years ago
Russell Bryant f7467c83e6 Merged revisions 105565 via svnmerge from
18 years ago
Russell Bryant 8372a9bf08 3) In addition to merging the changes below, change trunk back to a regular
18 years ago
Joshua Colp b21ca22fb0 Merged revisions 105560 via svnmerge from
18 years ago
Joshua Colp 00641af7d2 Add support for 16KHz signed linear.
18 years ago
Terry Wilson 7d1891d5c3 Asterisk, when parking can drop rights a caller when a parking timeout occurs. Also, when doing built-in attended transfers, sometimes incorrectly passes rights from the transferrer to the transferee. This patch tries to fixes the parking issue and lays some groundwork for later fixing the transfer issue.
18 years ago
Russell Bryant 796780679e Merged revisions 105409 via svnmerge from
18 years ago
Russell Bryant 7da06e6cb8 Merged revisions 105116 via svnmerge from
18 years ago
Mark Michelson beb7a540c1 Merged revisions 104841 via svnmerge from
18 years ago
Jason Parker 62c63a8412 Merged revisions 105005 via svnmerge from
18 years ago
Tilghman Lesher 7d564048ed Merged revisions 104868 via svnmerge from
18 years ago
Mark Michelson 10d9d1e5a1 Merged revisions 104783 via svnmerge from
18 years ago
Tilghman Lesher 133a18478c Merged revisions 104704 via svnmerge from
18 years ago
Joshua Colp b21b5f5574 Merged revisions 104665 via svnmerge from
18 years ago
Jason Parker 5badb3c48a Merged revisions 104598 via svnmerge from
18 years ago
Joshua Colp b868d44342 Merged revisions 104596 via svnmerge from
18 years ago
Kevin P. Fleming 892a6b95be Merged revisions 104593 via svnmerge from
18 years ago
Joshua Colp dca12f4aa7 Fix T38 passthrough regression introduced by state changes.
18 years ago
Russell Bryant b0ba749ca1 I swear I compiled this ... *cough*
18 years ago
Russell Bryant 0036cde5f3 Rename version.h to ast_version.h. Next, I will be re-adding version.h as an
18 years ago
Joshua Colp 2a7eac9940 Add an 'e' option to ResetCDR which re-enables a CDR that has been disabled.
18 years ago
Mark Michelson 9a9a4e9701 Remove more hardcoded pipe symbols and replace with commas.
18 years ago
Russell Bryant 16b84e260c Merged revisions 104102 via svnmerge from
18 years ago
Jason Parker 84e302bfe0 Merged revisions 104092 via svnmerge from
18 years ago
Tilghman Lesher f92a3e119e Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.
18 years ago
Kevin P. Fleming 1a6711a42d Merged revisions 104015 via svnmerge from
18 years ago
Jason Parker ea8c695a1c Largely refactor DSP tone detection routines.
18 years ago
Tilghman Lesher 3dd4296de7 Merged revisions 103845 via svnmerge from
18 years ago
Joshua Colp b0be65f2ef *mumble*
18 years ago
Joshua Colp ddf7a8a2a0 file not found.
18 years ago
Joshua Colp ef7cfaa2f8 Minor test...
18 years ago
Jason Parker 63ab8ad66c Make sure to mask out non-audio first as well
18 years ago
Jason Parker 59bdc278be Maybe we should set the value before we test it? Fixes an issue people have been seeing (unreported?) with file playback not working.
18 years ago
Joshua Colp ee5e39e04b Add a log message that appears when you try to unload a module that isn't loaded.
18 years ago
Joshua Colp c929c6abd9 Only output a log message saying the format does not exist if it actually does not exist, not if the file itself could not be opened.
18 years ago
Tilghman Lesher 89567ef8bb Change verbosity into debug for Hebrew (and various whitespace fixes)
18 years ago
Joshua Colp 227112138e Merged revisions 103801 via svnmerge from
18 years ago
Joshua Colp e54da94808 Add a non-invasive API for application level manipulation of T38 on a channel. This uses control frames (so they can even pass across IAX2) to negotiate T38 and provided a way of getting the current status of T38 using queryoption. This should by no means cause any issues and if it does I will take responsibility for it.
18 years ago
Joshua Colp 6c3a7a3e51 Add some missing control frames.
18 years ago
Mark Michelson 80e2db47c2 Merged revisions 103786 via svnmerge from
18 years ago
Michiel van Baak f7370d4831 make the output of 'core show settings' a bit nicer.
18 years ago
Tilghman Lesher 2c3c489ade Merged revisions 103780 via svnmerge from
18 years ago
Olle Johansson f04d5fb83d Make sure we can set up calls without audio (text+video).
18 years ago
Joshua Colp e6a260c747 Add an API call (ast_async_parseable_goto) which parses a goto string and does an async goto instead of an explicit goto.
18 years ago
Tilghman Lesher 26755e3882 Context tracing for channels
18 years ago
Mark Michelson 566a005512 Add proper "false" case behavior to GotoIfTime
18 years ago
Russell Bryant 75fd299f1b Merged revisions 103728 via svnmerge from
18 years ago
Russell Bryant 71646d663b Merged revisions 103726 via svnmerge from
18 years ago
Jason Parker 72bc8a7c7d Fix up some doxygen issues.
18 years ago
Mark Michelson 23fc97480e Fix a small logic error in ast_event_iterator_next. The previous logic allowed for the iterator
18 years ago
Jason Parker 2aa1c03667 Even more sane permissions. This should be handled via a umask, like in many other places.
18 years ago
Jason Parker 7dd21605f3 Use slight more sane permissions
18 years ago
Russell Bryant e29680ed66 Remove development version notice.
18 years ago
Russell Bryant d42f6f7ce5 Fix build on *BSD. These permissions constants are not available there.
18 years ago
Jeff Peeler 16a14a4cd8 Requested changes from Pari, reviewed by Russell.
18 years ago
Joshua Colp c81350d6f6 Just some minor coding style cleanup...
18 years ago
Joshua Colp ef267cd838 Fix Manager Redirect while in an AGI.
18 years ago
Joshua Colp 9587f09103 Add support for allowing a native bridge to happen when the L option is enabled. The RTP bridging could already handle this, it just needed to be enabled in the main bridging code.
18 years ago
Mark Michelson 9d683be81a Fix a problem regarding network vs. host byte order
18 years ago
Russell Bryant 1ec8cb41a8 Merge changes from team/mvanbaak/cli-command-audit
18 years ago
Jason Parker 1663494073 Merged revisions 102858 via svnmerge from
18 years ago
Mark Michelson fe9821cc10 Get rid of any remaining ast_verbose calls in the code in favor of
18 years ago
Jason Parker dc6e5d6aae Change where priority of a goto is adjusted.
18 years ago
Tilghman Lesher 1dc86caf30 Merged revisions 102323 via svnmerge from
18 years ago
Joshua Colp c6fc44f927 Update handling of asyncgoto so it properly works on channels that are currently executing a PBX.
18 years ago
Tilghman Lesher fa4c9a958b CoreSettings and CoreStatus are missing the terminating "\r\n". Also, some
18 years ago
Tilghman Lesher 1ce6a2d5ec Merged revisions 101772 via svnmerge from
18 years ago
Russell Bryant 1ce789336b Merged revisions 101601 via svnmerge from
18 years ago
Steve Murphy 671c08af6d Merged revisions 101480 via svnmerge from
18 years ago
Olle Johansson 94325433a2 - doxygen fixes
18 years ago
Olle Johansson e7bcc4e96c Formatting fixes
18 years ago
Joshua Colp cb8678b5da Merged revisions 101222 via svnmerge from
18 years ago
Russell Bryant 793edbecd0 Merged revisions 100932 via svnmerge from
18 years ago
Tilghman Lesher 2f44f53ea4 Merged revisions 100675 via svnmerge from
18 years ago
Russell Bryant bcf72e1adb Merge rev 100626 from Asterisk 1.4. The svnmerge of this commit was a NoOp, since
18 years ago
Tilghman Lesher 8fd1e10d3d Normalize the detection for execinfo, so that Linux (glibc) and other platforms
18 years ago
Russell Bryant 1c74c549d7 Merged revisions 100581 via svnmerge from
18 years ago
Russell Bryant f877028d76 Clean up some formatting, and simplify a bit of code using ast_str
18 years ago
Russell Bryant 87800e1913 Make a couple more uses of ARRAY_LEN, and convert some spaces to tabs
18 years ago
Russell Bryant e8f7cbf358 - Simplify a line with ARRAY_LEN()
18 years ago
Russell Bryant 79be2b8b0e These readlocks always fail for me on my mac, and I saw it happen again
18 years ago
Tilghman Lesher ac699196f5 Merged revisions 100465 via svnmerge from
18 years ago
Joshua Colp 0b898073d1 Add an API call that steals the answered channel so that a destruction of the dialing structure does not hang it up.
18 years ago
Joshua Colp 65e684653d Minor cosmetic change...
18 years ago
James Golovich 8bcc2a55ae Increase the size of filenames stored when astmm is used. If the path
18 years ago
Joshua Colp 3bf7daa0c0 Merge in strictrtp branch. This adds a strictrtp option to rtp.conf which drops packets that do not come from the remote party.
18 years ago
Russell Bryant ccdd466fab Merged revisions 100164 via svnmerge from
18 years ago
Jason Parker e88241c45b Merged revisions 100138 via svnmerge from
18 years ago
Jason Parker 32989872dd Move chan_local dependency into places (only one) that previously depended on res_features, and used local channels
18 years ago
Joshua Colp 1d47c036dd Some more cosmetic changes.
18 years ago
Joshua Colp 15515ec671 Add some spacing.
18 years ago
Joshua Colp 9eff881130 Test hopefully over.
18 years ago
Joshua Colp 828124b0b0 Testing something...
18 years ago
Jason Parker 3bd33214b9 Move code from res_features into (new file) main/features.c
18 years ago
Russell Bryant 6100ec9e7d Fix tcptls build when openssl isn't installed
18 years ago
Tilghman Lesher 42ee3b5b74 Merged revisions 99718 via svnmerge from
18 years ago
Tilghman Lesher 3d92f97722 Merged revisions 99643 via svnmerge from
18 years ago
Russell Bryant 90bc08362e Make sure the command is not just present but is also configured to be executed
18 years ago
Olle Johansson b8aa3248ec Add a generic function to set the bridged call PVT unique id string
18 years ago
Russell Bryant d1ba37f1c9 Change the Asterisk CLI startup commands feature to read commands to run from cli.conf
18 years ago
Tilghman Lesher 54fc5f984b Merged revisions 99540 via svnmerge from
18 years ago
Olle Johansson 865bb84432 Doxygen updates
18 years ago
Russell Bryant aa7592f21a Merged revisions 99187 via svnmerge from
18 years ago
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
18 years ago
Russell Bryant 1807acb9b0 Merged revisions 99081 via svnmerge from
18 years ago
Russell Bryant d09fdcf61d Add AST_FORMAT_SLINEAR16 to the list for ast_best_codec()
18 years ago
Russell Bryant 2a91da6613 Merged revisions 99004 via svnmerge from
18 years ago
Jason Parker 8dc5e09ccb Add several busy detection related defines to menuselect.
18 years ago
Russell Bryant 8a5e93d766 Add support for an easy way to automatically execute some Asterisk CLI commands
18 years ago
Tilghman Lesher 81e421284d New module res_config_curl (closes issue #11747)
18 years ago
Joshua Colp bb08e13754 Merged revisions 98960 via svnmerge from
18 years ago
Joshua Colp 2ee416a55a Merged revisions 98958 via svnmerge from
18 years ago
Steve Murphy 241de02854 Terry found this problem with running the expr2 parser on OSX. Make the #defines come out the same between the parser & lexer.
18 years ago
Russell Bryant 25e1c74bf1 Clean up something I did for ABI compatability in 1.4
18 years ago
Russell Bryant 4fb04cb58a Merged revisions 98943 via svnmerge from
18 years ago
Joshua Colp e8dee9f956 Make sure the user's manager secret exists, even if it is blank.
18 years ago
Russell Bryant 673d610b53 Merged revisions 98774 via svnmerge from
18 years ago
Joshua Colp 3a37332880 Print out a warning when spaces are used in the variable name in Set and MSet. It is extremely hard to debug this issue so this should make it easier.
18 years ago
Russell Bryant b7425090c8 Remove a duplicate lock of the audiohook lock when destroying manipulate
18 years ago
Russell Bryant d0c89ab7ed Add a new CLI command, "core set chanvar", which allows you to set a channel
18 years ago
Tilghman Lesher 3968dd1c3d Conversion to load manager.conf into memory did not convert the password
18 years ago
Pari Nannapaneni 0c33fdfb49 merging a comment added in 1.4
18 years ago
Joshua Colp 4fe093b821 Goodbye again drumkilla.
18 years ago
Joshua Colp e0532df614 drumkilla ftw.
18 years ago
Joshua Colp b8efdb304b I am no longer Rockin'
18 years ago
Joshua Colp 225f268e88 Testing something...
18 years ago
Joshua Colp 8e0dbcf7d7 Merged revisions 98325 via svnmerge from
18 years ago
Mark Michelson e04aa9eed4 Merged revisions 98315 via svnmerge from
18 years ago
Russell Bryant 9387f036d8 - Fix the last set of places where incorrect assumptions were made about the
18 years ago
Mark Michelson e1e186471f Fix "core show translation" to not output information for "unknown" codecs.
18 years ago
Russell Bryant 7bb6547a71 Simplify this code with a suggestion from Luigi on the asterisk-dev list.
18 years ago
Tilghman Lesher c88f243d8d Merged revisions 97973 via svnmerge from
18 years ago
Russell Bryant 3d47a43ac2 Merged revisions 97976 via svnmerge from
18 years ago
Steve Murphy 33fadcc67c Merged revisions 97849 via svnmerge from
18 years ago
Terry Wilson 4a403e3c33 heh, remove patch to generated file.
18 years ago
Terry Wilson e823e89b5a Check pointers before freeing (was getting WARNINGS under MALLOC_DEBUG)
18 years ago
Russell Bryant cd7a05af2d spaces to tabs
18 years ago
Tilghman Lesher 247ca0a827 oops, missed the case of a 0 permission (which should mean everybody is allowed, not nobody)
18 years ago
Tilghman Lesher 857e3412f4 Several manager changes:
18 years ago
Terry Wilson 3570ad103d Added a new module, res_phoneprov, which allows auto-provisioning of phones
18 years ago
Jason Parker 46f4c8946f Merged revisions 97622 via svnmerge from
18 years ago
Jason Parker 0c1ded4cb5 Merged revisions 97618 via svnmerge from
18 years ago
Tilghman Lesher 9b903da621 New option in trunk, needs strdupa to be safe, too
18 years ago
Tilghman Lesher 43a172de57 Merged revisions 97350 via svnmerge from
18 years ago
Tilghman Lesher f48ed5a943 Merged revisions 97194 via svnmerge from
18 years ago
Tilghman Lesher 3ad9a66e0f Merged revisions 97077 via svnmerge from
18 years ago
Jason Parker 3def286b5b Display a message if no config mappings are found with "core show config mappings".
18 years ago
Joshua Colp 96f5a494cf Move ModuleLoad and ModuleCheck manager commands from loader.c to manager.c. Previously they would get registered twice because of the way manager.c operates.
18 years ago
Russell Bryant 54bc2c20b6 Now that the version.h file was getting properly regenerated every time the svn
18 years ago
Russell Bryant 3e28c57081 Print out the name of a function being registered in color, just like the name
18 years ago
Russell Bryant 585a31beb3 Merged revisions 96644 via svnmerge from
18 years ago
Tilghman Lesher c3957b21e1 Merged revisions 96575 via svnmerge from
18 years ago
Tilghman Lesher afb2031389 Allow the uniqueid to be used for searching for a channel in the list.
18 years ago
Tilghman Lesher 77ecc4a46a Compatibility fix for OpenBSD
18 years ago
Russell Bryant 40fbde7479 Add doxygen documentation to libresample.h while it's still fresh on my mind
18 years ago
Russell Bryant 6cfd6009b1 For some odd reason, the last set of libresample build changes from Kevin did
18 years ago
Kevin P. Fleming 04a10c145b go back to including libresample in the main Asterisk binary, but this time including a small hack to ensure that it does get linked in (and also modify the strip_nonapi script to leave the resample_<foo> symbols alone)
18 years ago
Luigi Rizzo b9aeecdb66 some cleanup of this code while I am trying to debug a problem with
18 years ago
Russell Bryant a9162a1ab3 Make the translation table show slin16
18 years ago
Russell Bryant 78f4b28552 Instead of linking libresample into the main Asterisk binary, build it as
18 years ago
Mark Michelson 3b830da053 Merged revisions 95577 via svnmerge from
18 years ago
Russell Bryant 21cb767db7 Merge changes from team/russell/codec_resample
18 years ago
Jason Parker 03f68a8a3a Fix -s socket option, and document it as well.
18 years ago
Russell Bryant b749217bcb Merged revisions 95024 via svnmerge from
18 years ago
Mark Michelson 05d2bc0fbf Merged revisions 94977 via svnmerge from
18 years ago
Russell Bryant 75e602376b Merged revisions 94828-94829 via svnmerge from
18 years ago
Kevin P. Fleming d756129b1d Merged revisions 94824 via svnmerge from
18 years ago
Tilghman Lesher 2bed4ec968 Merged revisions 94808 via svnmerge from
18 years ago
Russell Bryant 74c94cfdeb Merged revisions 94801 via svnmerge from
18 years ago
Russell Bryant 2295f37761 Merged revisions 94797 via svnmerge from
18 years ago
Russell Bryant f853918c53 Leave a note for a minor bug that was pointed out by d1mas
18 years ago
Russell Bryant 296e09f9aa Merged revisions 94790 via svnmerge from
18 years ago
Mark Michelson 00d848c94e Adding support for storing the queue log entries in a realtime backend.
18 years ago
Tilghman Lesher 9c1dcfea5a Merged revisions 94767 via svnmerge from
18 years ago
Mark Michelson bf64785f1e AST_LIST_REMOVE_CURRENT only takes one argument in trunk
18 years ago
Mark Michelson 804d90368a Merged revisions 94468 via svnmerge from
18 years ago
Mark Michelson 2e6431c42a Merged revisions 94420 via svnmerge from
18 years ago
Tilghman Lesher bca1033817 Merged revisions 94418 via svnmerge from
18 years ago
Luigi Rizzo 5e24835995 modify http://svn.digium.com/view/asterisk?view=rev&rev=93603
18 years ago
Luigi Rizzo 8e4360b072 Add a new API function, written at least twice in app_voicemail.c
18 years ago
Luigi Rizzo 8afacf169b add support for PARSE_DOUBLE, and remove identifiers for
18 years ago
Olle Johansson 489a648d5d Add option for starting remote Asterisk by naming the actual runtime socket instead of pointing
18 years ago
Tilghman Lesher 8ea611a9ad Making the canary error message a little more obvious.
18 years ago
Tilghman Lesher 53436f42f4 Add a canary process, for high priority mode (asterisk -p) to ensure that if
18 years ago
Mark Michelson 5e7f167073 Merged revisions 93625 via svnmerge from
18 years ago
Luigi Rizzo 10f70a8321 make configuration variable const so they are not accidentally
18 years ago
Luigi Rizzo fd88390af7 remove unnecessary (char *) casts for ast_config_AST_* variables.
18 years ago
Luigi Rizzo 3ff440bd37 Rename the macros in defaults.h - they are not meant to be
18 years ago
Jason Parker c18ca36147 Merged revisions 93381 via svnmerge from
18 years ago
Joshua Colp 3bc9c162f1 Merged revisions 93377 via svnmerge from
18 years ago
Olle Johansson c92dafd551 Adding a new CLI command for "manager reload", which is important now that
18 years ago
Olle Johansson 130fe4000a Change manager so that registered accounts are stored in memory. This opens for a
18 years ago
Olle Johansson 17afebc1a6 HUGE improvements to QoS/CoS handling by IgorG
18 years ago
Olle Johansson 5279d712d4 Don't drop the first character randomly in long listings in the CLI.
18 years ago
Mark Michelson 74577dd091 I needed to increment the numbers used on the VERBOSITY_ATLEAST calls by 1.
18 years ago
Mark Michelson 83f152b95c Changed VERBOSITY_LEVEL to VERBOSITY_ATLEAST to be more accurate.
18 years ago
Mark Michelson 4f75e15665 After reading Russell's e-mail to the dev list stating that checking option_verbose is not
18 years ago
Russell Bryant 1e9f670e13 Print an error message if a #included file does not exist
18 years ago
Tilghman Lesher 236132cb92 If malloc.h is included in a Solaris build, the compilation breaks.
18 years ago
Tilghman Lesher d5b454bf8d Convert ast_verbose to ast_verb.
18 years ago
Jason Parker 7dbfcdecae Merged revisions 92809 via svnmerge from
18 years ago
Jason Parker 78465ad2a3 Merged revisions 92696 via svnmerge from
18 years ago
Tilghman Lesher 99308dfb4e Conversions of free to ast_free, where applicable, and several other formatting fixes.
18 years ago
Tilghman Lesher 7adf8b6070 Correctly handle possible memory allocation failure
18 years ago
Olle Johansson c76f72493a Doxygen updates, formatting.
18 years ago
Joshua Colp 406547d230 Merged revisions 92363 via svnmerge from
18 years ago
Russell Bryant f330fb4783 * In unaligned.h, remove some unnecessary casts and mark the arg of the
18 years ago
Joshua Colp 8a7064d3fc Merged revisions 92204 via svnmerge from
18 years ago
Luigi Rizzo 10b3c51930 remove unused code, and simplify the logic for #include/#exec
18 years ago
Luigi Rizzo d602e2c083 Implement comment_buffer and lline_buffer in terms of the ast_str_*() API.
18 years ago
Luigi Rizzo 0b7e752709 unify some common code
18 years ago
Luigi Rizzo 94b0c2220a normalize formatting
18 years ago
Luigi Rizzo 7fe5f3464d document a nice technique to exit from a block in case of errors.
18 years ago
Luigi Rizzo a077c8cb90 a little bit of documentation on how lines are parsed.
18 years ago
Jason Parker d422e2ab1d Merged revisions 91890 via svnmerge from
18 years ago
Russell Bryant 8093fa188b Merged revisions 91830 via svnmerge from
18 years ago
Jason Parker 02ea9face7 Add count of total number of calls processed by asterisk during it's lifetime.
18 years ago
Russell Bryant 00297c91e5 Merged revisions 91777 via svnmerge from
18 years ago
Mark Michelson 05dd9b7ef0 Merged revisions 91737 via svnmerge from
18 years ago
Tilghman Lesher 77ec19e255 Merged revisions 91637 via svnmerge from
18 years ago
Tilghman Lesher 5a5f7ab2d8 If duration or billsec are not yet calculated, calculate them on demand.
18 years ago
Joshua Colp 6e238eba40 Merged revisions 91450 via svnmerge from
18 years ago
Olle Johansson 814d0ed4f8 - The Ping Action
18 years ago
Olle Johansson 1e07078c60 Changes to manager events in channel.c
18 years ago
Olle Johansson c316bfa5d3 New manager event when a channel changes account code.
18 years ago
Olle Johansson 9f1c4887fa Doxygen updates
18 years ago
Olle Johansson 9dc965eadd Merged revisions 91366 via svnmerge from
18 years ago
Olle Johansson 7e38b474d9 Change description of new manager command
18 years ago
Olle Johansson 5af2cf109e Add manager command for showing all current channels.
18 years ago
Joshua Colp 3faa47ab5b Instead of iterating through the entire epoll events array just look at the ones that will actually contain data. (props to eliel on IRC for this)
18 years ago
Russell Bryant aeb752fcf4 Merged revisions 91192 via svnmerge from
18 years ago
Tilghman Lesher ce2f670228 Change cdr_manager to use a "CDR" level, rather than the (overcrowded) "call" level.
18 years ago
Russell Bryant ec846d6cf2 Merged revisions 91074 via svnmerge from
18 years ago
Russell Bryant f52c068605 Merged revisions 90967 via svnmerge from
18 years ago
Russell Bryant f15be28fb0 Add support for monitoring MWI on FXO lines.
18 years ago
Jason Parker cf6e8ae77e Fix build, that some people aren't seeing for some reason.
18 years ago
Jason Parker 0ef0259302 Merged revisions 90876 via svnmerge from
18 years ago
Russell Bryant adf3b12e55 Fix a silly little typo :)
18 years ago
Mark Michelson c52d8a1cd5 Merged revisions 90735 via svnmerge from
18 years ago
Olle Johansson 25cbb792b9 (closes issue #11422)
18 years ago
Steve Murphy 72cafad6a2 A small fix from snuffy
18 years ago
Tilghman Lesher 0147028b51 Avoid an additional function call. Reported by: eliel Patch by: eliel (Closes issue #11438)
18 years ago
Joshua Colp 985c9f5cfe Merged revisions 90588 via svnmerge from
18 years ago
Joshua Colp 46d2c050c5 Merged revisions 90548 via svnmerge from
18 years ago
Tilghman Lesher 87492f6dd6 Merged revisions 90432 via svnmerge from
18 years ago
Mark Michelson 6b08c442c7 Adding support for the "automixmonitor" dial and queue options.
18 years ago
Russell Bryant fac7480820 Merged revisions 90348 via svnmerge from
18 years ago
Tilghman Lesher afac5cce50 Merged revisions 90155 via svnmerge from
18 years ago
Kevin P. Fleming c13ed407db restore behavior from the 1.4 branch... manager users created via users.conf should default to *all* permissions, not none
18 years ago
Russell Bryant 53a5f22849 Merged revisions 90145 via svnmerge from
18 years ago
Russell Bryant 8a3e984b0c Merged revisions 90142 via svnmerge from
18 years ago
Kevin P. Fleming 57c2bcca86 Merged revisions 90098 via svnmerge from
18 years ago
Joshua Colp cbe59ac93e file says... compile before you commit!
18 years ago
Mark Michelson e3c122863d Removing a pointless check of option_debug
18 years ago
Mark Michelson 0b3ab17bfa Merged revisions 90059 via svnmerge from
18 years ago
Steve Murphy 58e43103d8 Made expr2 parser 8-bit transparent
18 years ago
Jason Parker aa0f63d65f Remove "old"-style CLI handler, since nothing uses it anymore.
18 years ago
Joshua Colp a6ddf3c7b0 Hide CLI commands starting with _ from tab completion as was done previously.
18 years ago
Joshua Colp 6aad89b97d Fix a few log messages.
18 years ago
Russell Bryant 880fb1ece9 Merged revisions 89893 via svnmerge from
18 years ago
Russell Bryant 8133ad1456 Merged revisions 89886 via svnmerge from
18 years ago
Russell Bryant 79bc5ede5f Merged revisions 89839 via svnmerge from
18 years ago
Steve Murphy 1f792f1745 closes issue #11294; missed the conditional unlock of the contexts when the hash table is used instead; also, used the ast_free_ptr as advised.
18 years ago
Russell Bryant 21a22fa584 Merged revisions 89790 via svnmerge from
18 years ago
Olle Johansson 5ac0f923b3 A few more "moremanager" fixes
18 years ago
Olle Johansson a30972ee65 More "moremanager" fixes. Manager commands to check module status.
18 years ago
Kevin P. Fleming 5e6efa075a Merged revisions 89709 via svnmerge from
18 years ago
Kevin P. Fleming 8ecda22e06 Merged revisions 89701 via svnmerge from
18 years ago
Olle Johansson df7ba90b20 The following patch with updates for trunk. Works much better in trunk.
18 years ago
Joshua Colp 98fbe822f5 Ensure the value returned from ast_random is between 0 and RAND_MAX on 64-bit platforms.
18 years ago
Steve Murphy 4d8932a6dc Merged revisions 89622 via svnmerge from
18 years ago
Joshua Colp 89c0a0a763 Merged revisions 89610 via svnmerge from
18 years ago
Olle Johansson 130a2051fa - Mark "concise" as deprecated
18 years ago
Russell Bryant b11f846e7e Merged revisions 89594 via svnmerge from
18 years ago
Steve Murphy d3209e2ef2 closes issue #11356; Many thanks to snuffy for his code review and changes to cut down duplication. I tested this against hashtest, and it passes. I reviewed the changes, and they look reasonable. I had to remove a few const decls to make things compile on my workstation,
18 years ago
Kevin P. Fleming 721b3c8a0e Merged revisions 89586 via svnmerge from
18 years ago
Steve Murphy 2ec4b57622 Thanks to pnlarsson for noting the spelling error in the cli commands. Also, added some verbage about the new algorithm to CHANGES.
18 years ago
Joshua Colp 72a8e08bf5 Revert change for 11348 until it can be looked at even more.
18 years ago
Joshua Colp 867b734868 Merged revisions 89577 via svnmerge from
18 years ago
Joshua Colp a1b79aa278 Make the behavior of using /dev/urandom for random numbers the same as random().
18 years ago
Olle Johansson 595961655a Try to get channel.h and channel.c aligned in regards to ast_set_callerid as well
18 years ago
Steve Murphy a63f6be669 closes issue #11363; where the pattern _20x. buried in an included context, didn't match 2012; There were a small set of problems to fix: 1. I needed NOT to score patterns unless you are at the end of the data string. 2. Capital N,X,Z and small n,x,z are OK in patterns. I canonicalize the patterns in the trie to caps. 3. When a pattern ends with dot or exclamation, CANMATCH/MATCHMORE should always report this pattern, no matter the length. With this commit, I also supplied the wish of Luigi, where the user can select which pattern matching algorithm to use, the old (legacy) pattern matcher, or the new, trie based matcher. The OLD matcher is the default. A new [general] section variable, extenpatternmatchnew, is added to the extensions.conf, and the example config has it set to false. If true, the new matcher is used. In all other respects, the context/exten structs are the same; the tries and hashtabs are formed, but in the new mode the tries are not used. A new CLI command 'dialplan set extenpatternmatch true/false' is provided to allow switching at run time. I beg users that are forced to return to the old matcher to please report the reason in the bug tracker. Measured the speed benefit of the new matcher against an impossibly large context with 10,000 extensions: the new matcher is 374 times faster.
18 years ago
Steve Murphy 2e5b9d5875 Added <sys/file.h> include to allow trunk to compile. Hope this doesn't louse thing up.
18 years ago
Luigi Rizzo 49c0eaf803 remove some unnecessary includes
18 years ago
Tilghman Lesher b0d8378910 Merged revisions 89540 via svnmerge from
18 years ago
Tilghman Lesher eac58d0fb3 Merged revisions 89536 via svnmerge from
18 years ago
Luigi Rizzo dd10b6d37e more removal of fcntl.h and other system headers
18 years ago
Luigi Rizzo 3fc2646808 remove a number of #include <fcntl.h> which are either
18 years ago
Luigi Rizzo 730e4eaca4 implement the split of file.h and mod_format.h
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Luigi Rizzo 2142ad6be8 add a missing return
18 years ago
Steve Murphy 55e03ad681 closes issue #11290; the proposed patch was a good guess, and would solve the bug to some extent, but was really masking the real issue, that there were bad entries in the table. This fix removes the condition that the hashtab updates be done on exten removal only when the pattern_tree was present, which is silly. The operations that apply to the pattern tree are instead made conditional. Also, threw back in routines that kpfleming deleted because of probs in the 64-bit world. Tested on both 32 and 64-bit machines (compile). Tested the reload problem with over 20 reloads, and no problems. If you find more problems, please reopen 11290.
18 years ago
Russell Bryant cb67c91cb0 Remove obsolete OLD_DSP_ROUTINES code. Also, remove the FAX_DETECT define and
18 years ago
Mark Michelson 3851bc9789 There existed about a 1 in 4 billion chance that reading from /dev/urandom
18 years ago
Mark Michelson 29ad24e37a I introduced a deadlock avoidance into 1.4, which I attempted to port to trunk as well.
18 years ago
Kevin P. Fleming 34ed13becd remove some debugging code that doesn't compile on 64-bit platforms
18 years ago
Steve Murphy 4670e38aac closes issue #11265; Thanks to snuffy for his work on neatening up the code and removing duplicated code.
18 years ago
Luigi Rizzo 9d7ddb3c63 add missing paths.h
18 years ago
Steve Murphy 8e90425a6c A free in add_pri was ultimately the source of the grief we were having with parking. This set of changes fixes that problem, and introduces some more error messages, and puts debugs into ifdefs for what could be short-term usage. Txs to Terry W. for his help, guidance, and especially patience.
18 years ago
Luigi Rizzo 04e1e0069f more header removal/normalization
18 years ago
Tilghman Lesher 8f4fb30cfe Add support for new recorded character sounds
18 years ago
Luigi Rizzo a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 915b97d300 move internal function declarations to include/asterisk/_private.h
18 years ago
Kevin P. Fleming 4d522da4aa switch compile-time option checking to string storage mode in this branch too
18 years ago
Mark Michelson dda649ead2 Merged revisions 89457 via svnmerge from
18 years ago
Joshua Colp 5e4e4c5594 Minor documentation tweak and if an incorrect parameter is given to core show translation return the usage information.
18 years ago
Luigi Rizzo a7a0ca9f93 initial makefile changes to build loadable modules under cygwin
18 years ago
Steve Murphy f62bf52e55 Get rid of some debug messages in pbx.c
18 years ago
Steve Murphy 4ea5eced10 These changes were made in response to niklas@tese.se's letter of 11-17-2007, where he had 20 and 201 in two different contexts, included in the same context. In that particular case, we were behaving the same as 1.4, but after experimenting, I quickly found that if 20 and 201 were in the same extension, 1.4 would return 201, and this code returns 20. These changes now enable the current code to replicate the behavior of 1.4 in respect to MATCHMORE in cases like this.
18 years ago
Luigi Rizzo ed9b9733b6 another few errno.h removals
18 years ago
Luigi Rizzo 9335ace850 another bunch of include removals (errno.h and asterisk/logger.h)
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Steve Murphy 406f6f2909 a correction to code involved in an extension removal
18 years ago
Olle Johansson cc0e8cc412 Add some debugging to the routines that finds our local IP address.
18 years ago
Steve Murphy 1a5cdeb138 a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the right thing. And some additions to removal of extens to take care of hashtab pointers in all cases.
18 years ago
Luigi Rizzo 1e6489a175 trim more redundant headers
18 years ago
Luigi Rizzo 907c86a781 remove unnecessary includes
18 years ago
Luigi Rizzo 5663ff6518 fix breakage induced by previous mistake
18 years ago
Luigi Rizzo a0f06d0dd5 start using asterisk/network.h for network related headers.
18 years ago
Luigi Rizzo f9ae0522f5 main is called main not amain!
18 years ago
Luigi Rizzo a9395206f9 conditional targets for building the windows version
18 years ago
Luigi Rizzo 7cd78079ae more cygwin/mingw32 compatibility fixes
18 years ago
Luigi Rizzo 6cca49b9d0 define RTLD_LOCAL for platforms that don't have it.
18 years ago
Luigi Rizzo 130b6291cb netdb.h is used for gethostbyname, and it was not included in some
18 years ago
Luigi Rizzo 2940cf943f Loader for cygwin where asterisk is really a big dll
18 years ago
Luigi Rizzo 5862c55451 use poll as detected by configure
18 years ago
Luigi Rizzo 5490960453 remove a bunch of duplicate includes
18 years ago
Steve Murphy 7953c2c46f My goodness, haven't handled an extension deletion. Add code to ast_context_remove_extension2() to remove an extension from the trie. Done by marking it deleted. The scoreboard won't update for it any more. Also, a couple of calls to insert hashtab had a spurious ->exten, which was removed.
18 years ago
Luigi Rizzo 04497db215 remove duplicate headers.
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Mark Michelson fd7b3e7261 Fixing a problem pointed out by Qwell
18 years ago
Mark Michelson 3107395445 Added some locks that should have been around astman_send_error,
18 years ago
Steve Murphy ab32ff2ad8 This corrects a hashtab removal, given a bad argument
18 years ago
Steve Murphy 542f29ea0e This fixes a problem with pattern ranges; and corrects a situation in res_features, where an extension would be created with the name Zap/51, as an example. THe / is bad because it would tend to mean that the 51 is to be cid matched.
18 years ago
Kevin P. Fleming 547306835e Merged revisions 89325 via svnmerge from
18 years ago
Luigi Rizzo 02733f3290 add a small new function to retrieve variables from a config
18 years ago
Tilghman Lesher 8309f54e39 If we're going to be passing a negative value for the size of a stringfield,
18 years ago
Steve Murphy eee92d0881 Get rid of a previously missed ast_log call for debug, no longer nec.
18 years ago
Steve Murphy 0bad49b3dd Perhaps I went overboard on initializing things. I can remove unnecc. stuff later. A few bug fixes. Killing small bugs on the way to killing bigger ones. Removed locking on hashtabs; there's plenty of locks already being taken. A small bug in the root_tree hashtab compare func.
18 years ago
Luigi Rizzo 09d9cce1d8 access channel locks through ast_channel_lock/unlock/trylock and not
18 years ago
Mark Michelson 6260590ec2 Merged revisions 89288 via svnmerge from
18 years ago
Mark Michelson eee4ed80cf Merged revisions 89286 via svnmerge from
18 years ago
Steve Murphy 620e580ed6 Had trouble playing with parking; spent a long time trying to reason out MATCHMORE mode. made these updates and xfers on zaptel lines seem to work ok now
18 years ago
Tilghman Lesher 8820ae5b2e Merged revisions 89275 via svnmerge from
18 years ago
Tilghman Lesher 5112f2b7e9 Typo
18 years ago
Tilghman Lesher 36d9a5aaf3 Add callerid to the Hangup manager event.
18 years ago
Steve Murphy 20d24e1027 Rescaled the weights of the patterns to give something more independent of pattern length; and make . less likely to win. Question: which should win for 14102241145-- _1xxxxxxx. or _XXXXXXXXXXX -- right now, the pure X pattern will win.
18 years ago
Steve Murphy 225c94d950 A further problem highlighted by 11233 has been resolved; a certain combination of patterns in a certain order, led to a malformed trie, due to a ptr not being initialized in the loop. Also, some tree printing prettifications.
18 years ago
Tilghman Lesher 0f6892419e One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters
18 years ago
Tilghman Lesher b4839d4d4a Typo
18 years ago