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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
a2e2a51d8d
Move the direct bridge write to after the NAT handling code
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3f189742f6
make menuselect configure process be silent when possible
...
don't use #ifdef inside a macro call... it appears various versions of gcc have bugs related to this
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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***.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
0850bb72ed
Kevins last commit made me spot a typo.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ece7018515
add one remaining bit of functionality to the features.conf applicationmap (from Matt Nicholson in Digium Express Services)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
04bd8c54e8
Limit challenges to 9 digits in length
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f7e7161607
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
d22476348a
suppress compiler warning
...
Code shamelessly borrowed from r41271 (it was the same warning/fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
6aae631cc9
update to reflect recent rtp changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
1627052cf1
suppress compiler warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
f7cac071d9
Merged revisions 41269 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41269 | russell | 2006-08-29 09:33:34 -0400 (Tue, 29 Aug 2006) | 3 lines
clean up last commit ... most notably, there is no reason to do heap
allocations here, and it also included a potential memory leak
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
11cb5a34fd
Committed a fix for 7731, suggested by mnehauser.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
8efd121371
Bugfix for 7813 applied to trunk as per patch supplied by stevens
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
7a2c9d9ccc
blocking version 41240 from erasing stuff about complement and matching ops from the trunk version
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
d5572fac38
My apologies, I missed the compiler warning in a previous commit for the ael_main.c;
...
I've fixed this.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
d12f54f90b
GNU make already knows how to quietly ignore non-existent files in 'include' directives
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3a83fbed5b
menuselect doesn't use asterisk's autoconfig.h anymore, so this ifdef can be
...
removed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
3ba8e0a973
ensure that cross-compiler info is removed from the enviroment before configuring menuselect
...
ensure that the user's LDFLAGS take precedence when linking the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
aa7b32d175
more optimizations for embedded systems:
...
when LOADABLE_MODULES is off, don't export symbols from the main binary
when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
b374245688
remove some unneeded variables now that the menuselect build is isolated from
...
the parent project
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
51132bbdbf
Changes to fix all problems reported in 7804 are included here.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
379dc24745
we really need BSD make here to understand the -V option.
...
Fix and document this.
(problem introduced in SVN 40753)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3a6dfec6c3
fix redirect typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
aad5f19a12
fix a typo and clarify something else
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41120 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
3c886e6451
remove the make version check, and instead, check for the actual bug that
...
causes our build system to blow up.
If anyone still sees problems and configure didn't detect a problem with make,
please let me know.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
d770396e23
Identify what the columns mean in the output of "show profile"
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
d2b7882788
Off by one error in buffer length (issue 7379)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
2eb7c010c7
we use autoconf 2.60.
...
Note that this only affects people regenerating the configure script.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
970c6876c5
instead of reverting this supposedly 'stupid' change, let's try to get it working properly
...
also eliminate a warning from dlopen() because some flags were missing on the second dlopen() call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
b56d1a76ce
Note to self, always compile before committing.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
3113f07570
Don't send proceeding twice ( #7800 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
7b65cdc0c7
remove documentation of 'global' section in modules.conf, since it is no longer needed or supported
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9aabe41de3
don't seg fault when using dbsecret
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
62309a54ef
This is a bit safer on some versions of sed.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5008225fcf
get cflags for libcurl as well as libs (patch from qwell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
310cb52bb4
As per the comments in this file..
...
The last patch was slightly wrong. This'll get it for sure.
Solaris (and some others) don't have sed -r. perl -p is equivalent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
2a3aaa9818
Fix a small typo I found.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
1ff5a0988d
Merged revisions 40994 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40994 | russell | 2006-08-24 15:41:26 -0400 (Thu, 24 Aug 2006) | 11 lines
Fix a few issues related to the handling of channel variables
- in pbx_builtin_serialize_variables(), the variable list traversal would stop
on a variables with empty name/values, which is not appropriate
- When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
AST_LIST_REMOVE
- During masquerading, when copying the variables list from one channel to the
other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
It leaves the tail pointer of the list invalid. Introduce a new macro,
AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802 , softins)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9df34a3d40
fix codec_gsm build for powerpc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
5266cd75e3
remove CFLAGS that aren't needed anymore
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Olle Johansson
cff8073771
Deprecate USERAGENT
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
16157e26d6
Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
236c23269d
Merged revisions 40979 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40979 | file | 2006-08-24 13:13:04 -0400 (Thu, 24 Aug 2006) | 2 lines
I can type english. Honest. Thanks Kenny.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40980 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
e5c0665caf
Merged revisions 40971 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r40971 | file | 2006-08-24 12:44:41 -0400 (Thu, 24 Aug 2006) | 2 lines
Minor documentation fix to add the 'dynamic' dialplan option from angler
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40972 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5345469008
Documentation updates (thanks Shaun for the speechrec.txt one!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago