Commit Graph

369 Commits (115937b7a6a2bc5d88c39836e98ffed073204a08)

Author SHA1 Message Date
Mark Michelson bd1bb0d0e2 Merged revisions 130792 via svnmerge from
17 years ago
Tilghman Lesher da03cdd174 Merged revisions 129149 via svnmerge from
17 years ago
Kevin P. Fleming da14954bdc another minor ast_channel memory size decrease... for nearly all channels, 'dialcontext' is only going to be set once during the channel's lifetime, so make it a string field instead of a char array
17 years ago
Mark Michelson 0178d0ccd6 Improve consistency between app_dial and app_queue with regards
17 years ago
Tilghman Lesher 90867b2b0c Channel lock janitor -- add locks around retrieval of channel variables
17 years ago
Steve Murphy f4c85ebd22 (closes issue #12689)
17 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.
17 years ago
Russell Bryant db5f489865 Merged revisions 119530 via svnmerge from
17 years ago
Michiel van Baak 0da2734cb5 Merged revisions 119478 via svnmerge from
17 years ago
Tilghman Lesher c7191467d2 Add native AGI command GOSUB, as invoking Gosub with EXEC does not work
17 years ago
Michiel van Baak f1e9371da8 - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause
17 years ago
Tilghman Lesher b5a127daac Modify TIMEOUT() to be accurate down to the millisecond.
17 years ago
Tilghman Lesher 6a81da594d Add incomplete matching to PBX code and app_dial
17 years ago
Tilghman Lesher 463a5dbd0a Whitespace changes only
17 years ago
Michiel van Baak 08e674bce0 Pass the hangup cause all the way to the calling app/channel.
17 years ago
Mark Michelson df7cb6b30b Merged revisions 114112 via svnmerge from
17 years ago
Tilghman Lesher 1c691646a9 Permit callee to continue in the dialplan, after caller has hung up.
17 years ago
Mark Michelson 5176911dfe Remove some redundant logic from wait_for_answer. This also let's us get rid of one of
17 years ago
Joshua Colp af7e1964f2 Merged revisions 107016 via svnmerge from
17 years ago
Steve Murphy 377e51c4d4 (closes issue #6002)
17 years ago
Joshua Colp 496adc6fc0 Merged revisions 106235 via svnmerge from
17 years ago
Tilghman Lesher 8a411ccf83 Create a centralized configuration option for silencethreshold
17 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.
17 years ago
Michiel van Baak 4dccb58fb7 whitespace fixes only.
18 years ago
Mark Michelson fe9821cc10 Get rid of any remaining ast_verbose calls in the code in favor of
18 years ago
Olle Johansson cc648a40ae Merged revisions 99592 via svnmerge from
18 years ago
Tilghman Lesher d5b454bf8d Convert ast_verbose to ast_verb.
18 years ago
Tilghman Lesher 99308dfb4e Conversions of free to ast_free, where applicable, and several other formatting fixes.
18 years ago
Russell Bryant 3a4d1c852b Merged revisions 91783 via svnmerge from
18 years ago
Russell Bryant 547083e21a Merged revisions 91693 via svnmerge from
18 years ago
Russell Bryant c72fa81580 Merged revisions 91677 via svnmerge from
18 years ago
Olle Johansson 807d5e1ef7 - Dial event
18 years ago
Mark Michelson b32e39cbda Merged revisions 91273 via svnmerge from
18 years ago
Jason Parker 814a7f66c0 Fix build in trunk. This was fixed in 1.4, but blocked in trunk since this hadn't been merged yet.
18 years ago
Mark Michelson c52d8a1cd5 Merged revisions 90735 via svnmerge from
18 years ago
Joshua Colp 4201a5af8b Remove the file descriptors from the main poll channel when the channel is hung up during the dialing attempt, and make sure a channel exists before trying to remove it at the end.
18 years ago
Mark Michelson 6b08c442c7 Adding support for the "automixmonitor" dial and queue options.
18 years ago
Steve Murphy 4d8932a6dc Merged revisions 89622 via svnmerge from
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 a23c055c3d move asterisk/paths.h outside asterisk.h and into those files
18 years ago
Luigi Rizzo 0595b5e2aa include "logger.h" and errno.h from asterisk.h - usage shows that they
18 years ago
Luigi Rizzo fdb7f7ba3d Start untangling header inclusion in a way that does not affect
18 years ago
Russell Bryant 0df5e50e97 Use BEGIN_OPTIONS / END_OPTIONS to make the syntax highlighting in my editor happy
18 years ago
Steve Murphy 63f2f04cf4 This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.
18 years ago
Matthew Fredrickson a4be521c89 Make sure we propogate ANI2 to the outbound channel
18 years ago
Tilghman Lesher 7adbd6bb16 Remove redundant includes (patch by snuffy) (Closes issue #10922)
18 years ago
Russell Bryant bff784d509 Merged revisions 84166 via svnmerge from
18 years ago
Joshua Colp 3ed4d505b7 Merged revisions 84158 via svnmerge from
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago