Commit Graph

1784 Commits (0ecc7e302d2578f25c757c6fe5ae582816c97ea0)

Author SHA1 Message Date
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