Russell Bryant
46018d5032
- dynamically allocate the ast_jb structure that is on the channel structure
...
so that channels not using a jitterbuffer don't waste as much memory
- ensure that the channel drivers that use jitterbuffers can handle a failure
from configuring a jitterbuffer on a new channel because of a memory
allocation error
- On passing through these channel drivers, configure the jitterbuffer before
starting the PBX thread instead of afterwards. If the pbx fails to start for
whatever reason, this would have caused a crash.
- Also on passing, move the increase of the usecount to after all of the
possible failure conditions in the function
- fix a place where ast_update_use_count() was not called
- ensure that the owner channel pointer of the channel pvt strcutures is set to
NULL in failure conditions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
472c1ca282
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
4c76028de9
- add the ability to configure forced jitterbuffers on h323, jingle,
...
and mgcp channels
- remove the jitterbuffer configuration from the pvt structures in
the sip, zap, and skinny channel drivers, as copying the same global
configuration into each pvt structure has no benefit.
- update and fix some typos in jitterbuffer related documentation
(issue #7257 , north, with additional updates and modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
414106a3a6
move the includes of abstract_jb.h to be with the rest of the asterisk includes.
...
These used to be wrapped in a #ifdef
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31078 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
bb7dd96cfe
Add support for using a jitterbuffer for RTP on bridged calls. This includes
...
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854 , Slav Klenov)
Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
fdcfd6469b
ensure that control frames with payload can be sent to channel drivers via ->indicate()
...
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Mark Spencer
db502da870
Make menuselect be able to show what the modules are
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0adfa8c635
use proper method of detecting OSS support on Linux and FreeBSD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23736 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
e43bc6634d
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
f10f427d49
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
c163911efe
don't use 8000, use DEFAULT_SAMPLE_RATE
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
096bf1511f
another batch of cli simplifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Luigi Rizzo
bf2ae44338
fix documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15514 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Matthew Fredrickson
c344781c4b
Add boost gain option to microphone, also minor bug fixes ( #6388 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matt O'Gorman
5f0de64f78
Merged revisions 9232 via svnmerge from
...
https://svn.digium.com/svn/asterisk/branches/1.2
........
r9232 | mogorman | 2006-02-08 16:12:34 -0600 (Wed, 08 Feb 2006) | 4 lines
Make logger report error,warning,notice if logger.conf
not found, also updated chan_oss to give correct
error message if its config file is not found.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a16ae226b6
use string fields for some stuff in ast_channel
...
const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
6f71e1178e
constify arguments in more places where strings should not be modified (issue #6286 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
466a062b09
convert some channels to use the memory allocation wrappers.
...
(This is being added to the janitor projects list.)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a725468381
update doxygen docs to specify authors
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3cb060d80f
issue #5800
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
c9ceb15e1e
fix a lil' typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
31a804b97c
issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
a67c2702c5
Fix chan_oss buglets (bug #5618 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
9ddf0e4dce
Remove unnecessary checks before calls to ast_strlen_zero. Also, change
...
some places where strlen is used instead of ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f5a38b3871
Make alsa/oss ignore VIDUPDATE control frames
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
266529a503
Fix "console" help (thanks to Andy Dvorak)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5da915dcfd
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f08acd7b45
Fix newline issue (bug #4632 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
d8a7545a82
Fix documentation of overridecontext (bug #4379 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
033d64ba42
Move to rizzo's new chan_oss, but leave the old one just in case... (bug #4379 with changes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
4c531ca8c0
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4803ab0bb2
don't use locks when reading usecounts (reading only, not writing)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2b8338cb52
more file version tags
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
005e436b57
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a729a57ba1
fix various compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1f9ab2380a
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f966e5e186
Simplify endianness and fix for unaligned reads (bug #3867 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
78d9eee141
Fix OSS endian issues in OSS (bug #3846 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
d8daf09817
fix endianness of OSS/Alsa (bug #3839 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
18d9b26cf9
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
5f726ad8c7
Merge config updates (bug #3406 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e969712c6f
Add optional one way playback (bug #3397 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Russell Bryant
0c30452423
update copyright headers for 2005
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
a479a033a1
Fix CLI to report "N/A" when appropriate for time, chan_features updates, ALSA and OSS codec fixes (bug #3145 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
d61401cde2
Add "flash" capability to command line
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8a13712e45
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e21ed1865b
First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4061 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
fce17976e9
Major PBX revamps (including labels, update examples)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3886 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
04fc29c8b2
Huge callerid rework (might break H.323, others)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
2a108b9b06
Merge NetBSD and Courtesty tone with modifications (bug #2329 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
ce51451ca6
Fix minor typos (bug #2260 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
be2d39a1a5
Fix duplex code for FreeBSD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3601 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7acee329e1
Merge BSD stack size work (bug #2067 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
bba1faf910
Last set of strncpy/snprintf updates (bug #2049 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
b0972b8d1f
Make sure other drivers also zero delivery (thanks to steven davies)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
727abcdec7
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
e446f4ca81
Merge OSS fixes for FreeBSD, implement rtptimeout and rtpholdtimeout
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3097 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
c3c38eeeaf
Let OSS know how to deal with indication -1
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
d45addcc7a
Fix compile warning
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
6938bb6109
fix chan_oss for revised queue structure.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
806bb3c63f
Add support for parking with IAX2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
8ea87da749
Make getaddrfor work with openbsd (bug #415 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
c0d8f10a42
FreeBSD patch, take 2
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Martin Pycko
13b7b73b08
Revert the previous patch since it's braking compilation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1636 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
d5b54e4b7f
Sane FreeBSD patch
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1635 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
1bb58646de
Totally revamp thread debugging to support locating and removing deadlocks
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
f6764f4722
More contributed BSD enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
6eeee2496b
More BSD enhancements
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
82082c0a35
More include fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Mark Spencer
2cf87c7c50
Fix ALSA/OSS leak
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 years ago
Matteo Brancaleoni
b9ae36c893
dom mar 2 20:52:10 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Matteo Brancaleoni
708c892f57
dom mar 2 01:10:37 CET 2003
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
9b5c611ead
Version 0.3.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
dd8905bf88
Version 0.2.0 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
5b44727583
Version 0.1.12 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@453 65c4cc65-6c06-0410-ace0-fbb531ad65f3
23 years ago
Mark Spencer
c36135eebf
Version 0.1.11 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
a07f2c930b
Version 0.1.10 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
44407ad3da
Version 0.1.9 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
0bffff6a4d
Version 0.1.8 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
24 years ago
Mark Spencer
ef47e8b675
Version 0.1.7 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
25 years ago
Mark Spencer
5e0525cc65
Version 0.1.3 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
26 years ago
Mark Spencer
c8640d5486
Version 0.1.2 from FTP
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
26 years ago