Commit Graph

199 Commits (cb11263607eb5afc2ee1e5ec2bc2adf8d9e7e47c)

Author SHA1 Message Date
Joshua Colp 9edf55b64d Merged revisions 41690 via svnmerge from
19 years ago
Steve Murphy 2ff2b02eae PCadach wanted better formatting of those 'if' conditions for 7859.
19 years ago
Steve Murphy cd8635b9b5 This small tweek will hopefully fix 7859, and silence all possible others
19 years ago
Joshua Colp f2b836ff4f Tweak the DTMF muting stuff a bit to take into account VLDTMF and compensation.
19 years ago
Joshua Colp faf4975122 Ignore DTMF begin frames in the waitstream core so that we don't get duplicate digits in our extension match
19 years ago
Joshua Colp d6096858d0 Don't fail the write if they try to write a NULL or IAX frame as we just ignore these.
19 years ago
Joshua Colp aaaec0e917 Add new frame types for DTMF
19 years ago
Joshua Colp 29ee02bfce Only write a received packet out if we are actually bridged to something
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Kevin P. Fleming b281acf0f8 change default setting for autofallthrough
19 years ago
Russell Bryant 1ffff64e66 fix a bug introduced when I merged my frame caching branch. Queue the
19 years ago
Joshua Colp 11b5db3d61 Clarify what show translations is displaying a bit more (issue #7772 reported by Mithraen)
19 years ago
Joshua Colp 3028eb1c15 Print what read-only variable is being set so that the user doesn't have to guess and figure it out or look at the list in cdr.c and match it up (issue #7831 reported by sedwards)
19 years ago
Joshua Colp 0855df6a5a Only feed a DTMF frame into the core if we need to
19 years ago
Joshua Colp 245aa1a62d Only switch the second alert fd (which is RTCP) to callback mode if it is in use
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Joshua Colp da7d969ae1 If the RTP stack is already being operated in callback mode, then suspend it upon switching to P2P callback bridging. Once P2P callback bridging has ended, then restore callback mode.
19 years ago
Joshua Colp ca33d2ecc6 This is the last round of RTP bridge optimizations. Basically it introduces a way that under a straight bridge (ie: no transcoding and no DTMF detection) the core is not touched at all and no frames pass through (not even null frames). This is accomplished by stealing the file descriptors from the channel and using the provided IO context with a custom callback. When a channel is placed on hold this bridge is broken so audio can flow from the core to the other side. When a channel is off hold this bridge is re-established.
19 years ago
Joshua Colp a2e2a51d8d Move the direct bridge write to after the NAT handling code
19 years ago
Steve Murphy 299465336a This change fixes bug 7820. Way back in April this bug was reintroduced, it appears, when a bunch of restructuring was done. This code was basically left out during the restructuring. In the case of the failure in 7820, it is trying to match the extension _x. with _x., and failing, because the 'x' should only match 0 thru 9. I **could** upgrade the code so that that N,Z, and X match not only their intended number ranges, but also N,Z,and X respectively. And, moreover, X could also match N and Z, and Z could also match N. I have no idea why this bug took so long to turn up. I have no idea what a more thorough treatment of the code would do to working code, either. So I left it as it ***was***.
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Kevin P. Fleming d12f54f90b GNU make already knows how to quietly ignore non-existent files in 'include' directives
19 years ago
Kevin P. Fleming a757ca2947 ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory
19 years ago
Kevin P. Fleming 3ba8e0a973 ensure that cross-compiler info is removed from the enviroment before configuring menuselect
19 years ago
Kevin P. Fleming aa7b32d175 more optimizations for embedded systems:
19 years ago
Russell Bryant d770396e23 Identify what the columns mean in the output of "show profile"
19 years ago
Tilghman Lesher d2b7882788 Off by one error in buffer length (issue 7379)
19 years ago
Kevin P. Fleming 970c6876c5 instead of reverting this supposedly 'stupid' change, let's try to get it working properly
19 years ago
Russell Bryant 1ff5a0988d Merged revisions 40994 via svnmerge from
19 years ago
Matthew Fredrickson 16157e26d6 Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.
19 years ago
Joshua Colp 3f7b10eab6 Free the filename so we don't have a memory leak. (reported by PCadach in #asterisk-bugs)
19 years ago
Kevin P. Fleming 7eecf0bfbc use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive
19 years ago
Kevin P. Fleming e0df1dfd7c generate a message when a module cannot be found and loadable modules are disabled
19 years ago
Kevin P. Fleming 950b3fb070 make platforms that use mutexes in stdio.h happy
19 years ago
Kevin P. Fleming e274fc0b54 minor improvements
19 years ago
Kevin P. Fleming 804f49e2c9 when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...
19 years ago
Jason Parker ec23dcb172 Solaris didn't like this.
19 years ago
Jason Parker 0264c362b6 a couple Solaris tweaks, to help build properly.
19 years ago
Kevin P. Fleming 26fa229138 restore 'preload' functionality in loader
19 years ago
Kevin P. Fleming a394f4ad64 use a customized configure macro to tell the script that uCLinux does not have fork() that works
19 years ago
Kevin P. Fleming ca0a1d3842 don't initialize global variables list twice
19 years ago
Kevin P. Fleming 61755115c2 restore printing of module name during loading
19 years ago
Russell Bryant 283bcf4c9f - simplify and improve astmm by using thread storage instead of a dynamic
19 years ago
Russell Bryant 389c605a67 - use the atomic operations for incrementing the unique int
19 years ago
Russell Bryant 5d3869a1c8 various cleanups, including ...
19 years ago
Kevin P. Fleming 5b03b3449b use a safer process for checking if a module wants to export symbols into the global namespace
19 years ago
Kevin P. Fleming f3c518a70f don't declare these variables unless needed
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago