Commit Graph

70 Commits (827f655dac2bc438e3fae3b1573324b8a503e024)

Author SHA1 Message Date
Kevin P. Fleming c3347e79a5 Merged revisions 159818 via svnmerge from
17 years ago
Kevin P. Fleming bc5b69d250 Merged revisions 144949-144951 via svnmerge from
17 years ago
Kevin P. Fleming 7df8b8b848 make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions
17 years ago
Sean Bright 6cf6d9eca5 Merge in changes that allow Asterisk to be built against the Hoard
17 years ago
Mark Michelson 99db9f65b5 This commit compensates for buggy poll(2)
17 years ago
Russell Bryant c87f901cfd Remove libresample from the Asterisk source tree. It is now available in its
17 years ago
Kevin P. Fleming 9a08061ea3 Merged revisions 131921 via svnmerge from
17 years ago
Kevin P. Fleming fd4a60c459 Merged revisions 125132 via svnmerge from
17 years ago
Kevin P. Fleming 191081e45f add infrastructure so that timing source can be a loadable module... next steps are to convert channel.c and chan_iax2.c to use this new API, and to move all the DAHDI-specific timing source code into a new res_timing_dahdi module
17 years ago
Joshua Colp 5ec16b6d6b Merged revisions 116352 via svnmerge from
17 years ago
Dwayne M. Hubbard b0b72e89a8 A taskprocessor is an object that has a name, a task queue, and an event processing thread. Modules reference a taskprocessor, push tasks into the taskprocessor as needed, and unreference the taskprocessor when the taskprocessor is no longer needed.
17 years ago
Joshua Colp b7b2e732f0 Merged revisions 112711 via svnmerge from
17 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.
17 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 7d564048ed Merged revisions 104868 via svnmerge from
18 years ago
Russell Bryant 793edbecd0 Merged revisions 100932 via svnmerge from
18 years ago
Jason Parker 3bd33214b9 Move code from res_features into (new file) main/features.c
18 years ago
Russell Bryant b995c78c31 Merge changes from team/group/sip-tcptls
18 years ago
Steve Murphy 33fadcc67c Merged revisions 97849 via svnmerge from
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 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
Russell Bryant 78f4b28552 Instead of linking libresample into the main Asterisk binary, build it as
18 years ago
Russell Bryant 21cb767db7 Merge changes from team/russell/codec_resample
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
Luigi Rizzo a7a0ca9f93 initial makefile changes to build loadable modules under cygwin
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 5862c55451 use poll as detected by configure
18 years ago
Steve Murphy a897556f7f This is the perhaps the biggest, boldest, most daring change I've ever committed to trunk. Forgive me in advance any disruption this may cause, and please, report any problems via the bugtracker. The upside is that this can speed up large dialplans by 20 times (or more). Context, extension, and priority matching are all fairly constant-time searches. I introduce here my hashtables (hashtabs), and a regression for them. I would have used the ast_obj2 tables, but mine are resizeable, and don't need the object destruction capability. The hashtab stuff is well tested and stable. I introduce a data structure, a trie, for extension pattern matching, in which knowledge of all patterns is accumulated, and all matches can be found via a single traversal of the tree. This is per-context. The trie is formed on the first lookup attempt, and stored in the context for future lookups. Destruction routines are in place for hashtabs and the pattern match trie. You can see the contents of the pattern match trie by using the 'dialplan show' cli command when 'core set debug' has been done to put it in debug mode. The pattern tree traversal only traverses those parts of the tree that are interesting. It uses a scoreboard sort of approach to find the best match. The speed of the traversal is more a function of the length of the pattern than the number of patterns in the tree. The tree also contains the CID matching patterns. See the source code comments for details on how everything works. I believe the approach general enough that any issues that might come up involving fine points in the pattern matching algorithm, can be solved by just tweaking things. We shall see. The current pattern matcher is fairly involved, and replicating every nuance of it is difficult. If you find and report problems, I will try to resolve than as quickly as I can. The trie and hashtabs are added to the existing context and exten structs, and none of the old machinery has been removed for the sake of the multitude of functions that use them. In the future, we can (maybe) weed out the linked lists and save some space.
18 years ago
Luigi Rizzo b80dc41707 Move the last instance of AST_LIBS to the only place it is used,
18 years ago
Steve Murphy 50d5fd877e Merged revisions 86881 via svnmerge from
18 years ago
Russell Bryant d99440e2ed Merged revisions 81342 via svnmerge from
18 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
18 years ago
Joshua Colp 602198c402 Merge audiohooks branch into trunk. This is a new API for developers to listen and manipulate the audio going through a channel.
18 years ago
Steve Murphy 94b934c8f6 Merged revisions 72933 via svnmerge from
18 years ago
Luigi Rizzo 3caa225108 Make sure that we properly recurse in subdirectories to
18 years ago
Joshua Colp 42c63dd2ed Add the adsistub file to the Asterisk makefile, fix a stub definition, and no longer make the symbols from res_adsi global since they don't need to be.
18 years ago
Jason Parker ee7301ac68 With libmmime.a as a .PHONY target, asterisk gets rebuilt every time, but without proper ASTCFLAGS.
18 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
18 years ago
Russell Bryant 0a9750ef9f Merged revisions 60603 via svnmerge from
18 years ago
Jason Parker 90b75256d9 Merged revisions 59573 via svnmerge from
18 years ago
Russell Bryant ef5aba253e Merged revisions 53464 via svnmerge from
19 years ago
Russell Bryant f351f4278a Merged revisions 52695 via svnmerge from
19 years ago
Russell Bryant 5dfed82cb9 Merged revisions 52647 via svnmerge from
19 years ago
Joshua Colp 9826fc599b Merged revisions 52049 via svnmerge from
19 years ago
Luigi Rizzo 80243d0f0c forgot to add AST_LIBS += $(BKTR_LIB)
19 years ago
Russell Bryant fa16f36aae Merged revisions 51262 via svnmerge from
19 years ago