Commit Graph

363 Commits (50a91c69c31b34cab8b6c9a1f7753541b0db600c)

Author SHA1 Message Date
Kevin P. Fleming e140c0ba9f Merged revisions 27468 via svnmerge from
19 years ago
Kevin P. Fleming 74cd80b1a4 use the proper method to get out of the bridge loop
19 years ago
Kevin P. Fleming a541309599 initialize the bridge result to 'no result', so that we can check for code paths that set it to AST_BRIDGE_COMPLETE inside the loop (thanks Oskar!)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
19 years ago
Mark Spencer f2bc3c61cc Make sure that we don't accept an answer on an inbound call and don't permit asterisk to answer an outbound call
19 years ago
Kevin P. Fleming 16f1acc37f use an enum for control frame types
19 years ago
Luigi Rizzo 93ad00ef06 mark a couple of dubious pieces of code
19 years ago
Mark Spencer 4d73c80fa1 Minor cleanup on dtmf calling (bug #7076)
19 years ago
BJ Weschke 085a4eaa04 Make the "Avoided Initial Deadlock for '....', X retries!" a LOG_DEBUG msg instead of LOG_WARNING as this only has relevance to developers trying to resolve a possible problem. #6949
19 years ago
Luigi Rizzo 5522238a7e remove useless variables, and argument checks for functions
19 years ago
Luigi Rizzo d1caf26728 no point in clearing a local variable just before return
19 years ago
Kevin P. Fleming 8e9058679a remove T38_SUPPORT define that is no longer needed
19 years ago
Matt O'Gorman 6fd00ee7ec more janitor work, patch from bug 6975.
19 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
19 years ago
Luigi Rizzo e48275fea3 convert to use ast_stream_and_wait
19 years ago
Luigi Rizzo 0dbf814a79 - use symbolic constants and macros to play with the debug flag
19 years ago
Luigi Rizzo 309f16bd07 make NULL and "" equivalent in cid fields, mark some missing NULL checks.
19 years ago
Luigi Rizzo 585e50fb38 move to a different file (channel.c for the time being) the
19 years ago
Luigi Rizzo 52430bda0d - use ast_calloc instead of ast_malloc
19 years ago
Joshua Colp 021876711f Do not depend on having an end sound for stopping the bridge when time runs out. (issue #6979 reported by ppyy)
19 years ago
Kevin P. Fleming fc071a182b actually return the number steps... not the number of steps minus 1
19 years ago
Kevin P. Fleming 987f24840c add an API so that the number of steps required for a translation path can be acquired
19 years ago
Luigi Rizzo bdfa578990 minor formatting fixes
19 years ago
Luigi Rizzo 3d7e2145b8 move some duplicated code outside an if/then/else block
19 years ago
Luigi Rizzo 3469287168 make sure there is [almost] only a single exit point for a very long
19 years ago
Luigi Rizzo 8f80cbea14 simplify the ast_channel walking routines.
19 years ago
Luigi Rizzo ebc152c0da move common conditions to the outside block.
19 years ago
Luigi Rizzo 7783a7a7e6 simplify logic in ast_generic_bridge()
19 years ago
Luigi Rizzo 9807aab483 move common code in one place
19 years ago
Luigi Rizzo ba7c8dbd73 avoid returning in the middle of a switch() in ast_answer()
19 years ago
Luigi Rizzo ad5cfd80c0 simplify function __ast_request_and_dial() as follows:
19 years ago
Luigi Rizzo 5a6cc1ea4e properly reindent a block
19 years ago
Luigi Rizzo 577b740f17 add a missing ast_channel_unlock() evidenced by previous commits.
19 years ago
Luigi Rizzo 5afbcc4f86 remove an extra lock.
19 years ago
Luigi Rizzo 845298a7b3 - replace some nested 'if' with '&&'
19 years ago
Luigi Rizzo ed6def5c46 Localize some variables documenting their usage.
19 years ago
Olle Johansson 4a312a044d - Fixes to ast_channel_lock functions
19 years ago
Luigi Rizzo 4c9c289a5d localize some variables, add some comments.
19 years ago
Luigi Rizzo 429025db22 implement ast_waitfordigit() and ast_readstring() in terms
19 years ago
Olle Johansson e75fa47099 More ast_channel_lock fixes
19 years ago
Olle Johansson 6b3367bf5c New functions for locking a channel - these simplify debugging
19 years ago
Luigi Rizzo 160031b7be code cleanup (for loop normalization, remove useless casts and parentheses)
19 years ago
Kevin P. Fleming 7bf8d36c8b Merged revisions 19347 via svnmerge from
19 years ago
Joshua Colp 0f1321d423 Data stores do not need a lock. As well change the way they are removed from the channel when it is destroyed (thanks Russell Wussell) and finally... because C++ is silly... change our list macro info thing to be "entry" instead of "list".
19 years ago
Joshua Colp e4811a8248 Presenting a revised data stores and oh my, a generic speech recognition API! I wonder what we can do with this now...
19 years ago
Luigi Rizzo 5d34c2bbe1 minor formatting cleanup and removal of trailing whitespace.
19 years ago
Luigi Rizzo e57131511e the fix for bug #6399 makes sense. thanks wrmem for the report.
19 years ago
Matt O'Gorman 3112b3b49f list word cant be used with g++ and causes problems
19 years ago
Russell Bryant 03ce34e1aa convert internal timing to be stored as a flag in the ast_options flags
19 years ago