markster
2070601d99
VIDUPDATE does not matter during playback.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25385 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 07:56:42 +00:00
bweschke
f1e32844bb
Make certain ast_stopstream() sets the channel's stream members to NULL after closing them. #7067 (jcomellas)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24329 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02 20:06:21 +00:00
kpfleming
29f496ef12
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo
fd45704e44
move wait_and_stream to ast_wait_and_stream() because equivalent
...
code is replicated in way too many places not to have a global
function for that.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:28:32 +00:00
file
db5a6fcfc3
We are shaking up trunk tonight! allow data dir to be specified (issue #6967 reported by tzafrir)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-15 22:53:53 +00:00
rizzo
3664249356
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: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
tilghman
d56769a1f3
Unregister format says it's already unregistered
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19811 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-13 17:22:16 +00:00
rizzo
02b7199043
make sure that file calls other than OPEN work on all formats
...
if called with a NULL 'fmt' argument.
(SVN 6898)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17859 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06 15:08:31 +00:00
rizzo
217ea2f1ea
Largely simplify format handlers (for file copy etc.)
...
collecting common functions in a single place and removing
them from the individual handlers.
The full description is on mantis,
http://bugs.digium.com/view.php?id=6375
and only the ogg_vorbis handler needs to be converted to
the new structure.
As a result of this change, format_au.c and format_pcm_alaw.c
should go away (in a separate commit) as their functionality
(trivial) has been merged in another file.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17243 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-04 12:59:25 +00:00
tilghman
e8504c1dce
Bug 5984 - Convert file offsets to 64 bit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10579 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-20 23:35:12 +00:00
kpfleming
864476b6ea
don't dereference memory that has been freed (issue #6405 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10139 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15 01:31:21 +00:00
russell
c1fa207982
various code cleanup changes including changing #define'd constants to enums,
...
comments to doxygen style, memory allocation to use ast_ wrappers, use calloc
instead of malloc+memset, and removing duplicated error messages (issue #6435 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9259 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-09 02:08:04 +00:00
oej
8abbd498ac
Bug 6112: file.c list macro conversion (drumkilla)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7912 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-09 21:30:46 +00:00
markster
85d2c9f8c9
Minor video fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7866 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-08 04:30:10 +00:00
markster
d1d90f47fd
Add support for H.264 with SIP and recording
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 17:54:22 +00:00
tilghman
713365557d
Bug 6161 - Remove duplicated code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07 14:47:36 +00:00
kpfleming
385d29ad6f
update copyright headers for files changed this year
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03 22:16:23 +00:00
russell
cfbca41519
doxygen updates
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7720 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-02 18:54:34 +00:00
russell
ab6566173e
update doxygen docs to specify authors
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
tilghman
5cb18ea551
Merged revisions 7523 via svnmerge from
...
/branches/1.2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7524 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-19 19:08:42 +00:00
russell
cfb1ef4712
convert most of the option_*'s to a single ast_flags structure. Also, fix some
...
formatting, remove some unnecessary casts, and other little code cleanups.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04 20:40:46 +00:00
kpfleming
24c1e3c222
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29 18:24:39 +00:00
russell
1168964aa4
change ast_strlen_zero to also check for the string to be defined
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6862 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 18:54:24 +00:00
russell
2c3b3edc86
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
kpfleming
a5cb42eb37
minor changes and eliminate some compiler warnings
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6803 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 23:26:35 +00:00
markster
74600d9030
Use FILE * instead of fd for files to support buffering
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6801 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-16 16:12:51 +00:00
kpfleming
95fe2b8fd4
update MANY more files with proper copyright/license info (thanks Ian!)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming
e72564ce33
remove useless buffer initializations (issue #5134 )
...
convert pbx_dundi to use ast_copy_string) (issue #5134 )
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 21:01:31 +00:00
markster
cd0067f95a
Add SIP video fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6448 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-30 02:12:09 +00:00
kpfleming
bc0f2a866d
add counter to 'show formats' (issue #5001 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6384 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-23 15:43:47 +00:00
kpfleming
6b622ff869
ensure that format string macros are undef'd after use (bug #4716 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6139 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15 16:13:26 +00:00
kpfleming
95b685631f
add 'exit context' and 'only stop on match' options to Background app (bug #4511 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6093 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12 01:34:06 +00:00
kpfleming
412874c466
don't unlink files just because they can't be opened (bug #4641 )
...
clean up and reformat ast_readfile and ast_writefile
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6020 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05 14:37:24 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
b2cbb6a75d
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5864 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 20:27:51 +00:00
kpfleming
e500673791
major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5855 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 03:04:58 +00:00
kpfleming
2dd14b8c0e
more ast_copy_string() conversion
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 16:32:16 +00:00
kpfleming
62d73d678b
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05 15:04:43 +00:00
kpfleming
502b2d00e6
consolidate API functions for saying numbers/digits/alpha/phonetic into less functions, using more efficient and clearer code (inspired by bug #4414 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5819 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02 21:26:02 +00:00
markster
70d6c63f0a
Fix language handling (bug #4399 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5783 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-30 13:16:29 +00:00
kpfleming
d6e1341f9b
phase 1 of header include cleanup (bug #4067 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22 13:11:34 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
83c8ebbbb8
Match special case of wav49 behavior (bug #3975 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5436 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-07 19:25:52 +00:00
markster
86448499e0
Use requested extension (bug #3894 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5312 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31 03:25:55 +00:00
markster
2de2aef34b
Ignore interrupted system calls (bug #3831 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5231 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-22 20:34:04 +00:00
twisted
a1fd51cc75
Don't crash when pause/stop keys aren't defined on the command line (Bug #3514 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4970 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-06 06:43:32 +00:00
markster
f18b92c3e3
Fix wav append mode (bug #3498 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4958 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-03 05:35:03 +00:00
markster
81abae1732
Fix voicemail symlinks (bug #3024 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4743 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10 04:18:18 +00:00
markster
05c1466c55
Merge anthm's native MOH patch (bug #2639 ) he promises me he'll rid it of ast_flag_moh...
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4552 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-24 01:40:07 +00:00
russell
5285384c6f
truncate 'const const' to 'const'
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4244 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-14 22:38:34 +00:00