Commit Graph

13743 Commits (a1b79aa278cf859c4980295df6f291375ff39c30)
 

Author SHA1 Message Date
Joshua Colp a1b79aa278 Make the behavior of using /dev/urandom for random numbers the same as random().
18 years ago
Joshua Colp 71c602a2d1 Instead of printing out one codec in sip show channels print out all of the native ones (this is for video).
18 years ago
Joshua Colp 5303abd58d Merged revisions 89571 via svnmerge from
18 years ago
Joshua Colp 2c223a4512 Don't crash if the 'o' option of ControlPlayback is used without any value.
18 years ago
Olle Johansson c31c9d6291 Formatting changes
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
Tilghman Lesher f1de129e5f Merged revisions 89559 via svnmerge from
18 years ago
Tilghman Lesher c8edf66bb4 Typo (someone needs to test compile before committing his changes)
18 years ago
Olle Johansson debdfd958c More doxygen changes
18 years ago
Olle Johansson b380467388 Housekeeping
18 years ago
Olle Johansson a2c95022ac Formatting, doxygen updates
18 years ago
Olle Johansson 07cb09ad86 - Deprecate "call-limit" in chan_sip. No other channel driver enforces call-limits
18 years ago
Olle Johansson 77e15c9b2f Housekeeping...
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
Tilghman Lesher c7e931eacf Merged revisions 89545 via svnmerge from
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 ce7120b7d5 remove a DEBUG_THREADS message that accesses private lock fields.
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
Tilghman Lesher 6792b619f7 Merged revisions 89534 via svnmerge from
18 years ago
Luigi Rizzo 1a38b870cd put in the necessary hooks for video support in the console.
18 years ago
Luigi Rizzo 87b633b71e set rtpmap video info according to what is read from SDP;
18 years ago
Olle Johansson 38c8755e9a Let's start with implementing the base architecture for UTF8 caller ID's
18 years ago
Luigi Rizzo 2b93af99dc formatting cleanup on the header,
18 years ago
Russell Bryant f0780d2b47 Merged revisions 89527 via svnmerge from
18 years ago
Luigi Rizzo 45491422b8 new info on the management of headers
18 years ago
Luigi Rizzo cda3df64d8 more header removal
18 years ago
Luigi Rizzo 89c2e53eb0 formatting cleanup
18 years ago
Luigi Rizzo 51391e6b09 shuffle a little bit the content of header files to reduce dependencies.
18 years ago
Luigi Rizzo 200f9c633b remove some useless includes
18 years ago
Luigi Rizzo ea2c54859d more removal of redundant headers
18 years ago
Luigi Rizzo b1fe2d85d3 remove redundant headers
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 8ad9122aa8 Add a specific header for providers of file and format handling routines,
18 years ago
Steve Murphy 86476c607f closes issue #11285, where an unload of a module that creates a dialplan context, causes a crash when you do a 'dialplan show' of that context. This is because the registrar string is defined in the module, and the stale pointer is traversed. The reporter offered a patch that would always strdup the registrar string, which is practical, but I preferred to destroy the created contexts in each module where one is created. That seemed more symmetric. There were only 6 place in asterisk where this is done: chan_sip, chan_iax2, chan_skinny, res_features, app_dial, and app_queue. The two apps destroyed the context, but left the contexts. All is fixed now and unloads should be dialplan friendly.
18 years ago
Luigi Rizzo 7e8835e0d7 remove another set of redundant #include "asterisk/options.h"
18 years ago
Luigi Rizzo e0ff5fef5c remove a bunch of useless #include "options.h"
18 years ago
Matthew Fredrickson 27dc9e7c70 Remove unneccessary explicit case for BRI
18 years ago
Matthew Fredrickson 9f0859d19d Take some debug code out :-)
18 years ago
Luigi Rizzo 2142ad6be8 add a missing return
18 years ago
Matthew Fredrickson 0643a7ccff Add BRI support to chan_zap
18 years ago
Luigi Rizzo 6dfc36b639 enable support for stack backtrace for stuff built in utils/
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
Terry Wilson ff6b2ad8de Simplify comparison in parking fix
18 years ago
Mark Michelson ffa8035212 Merged revisions 89495 via svnmerge from
18 years ago
Mark Michelson 9c275b0e51 Merged revisions 89493 via svnmerge from
18 years ago
Terry Wilson 348025fd0b Merged revisions 89491 via svnmerge from
18 years ago