Kevin P. Fleming
f7d567fe85
allow write timeout to be set on a per-user basis in AMI (issue #5352 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9835bc4330
add ast_build_string_va(), which accepts a varargs list directly
...
ensure the _entire_ manager_event() output is either queued or sent via ast_carefulwrite()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7f429e3b02
ensure structure has enough space for embedded string
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
2b883819be
Fix manager bug (can't destroy a session while a thread is using it!)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
62209ede0c
code cleanups
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
ea215f5b7d
Remove possibility of manager deadlocks from manager actions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
44aff84c2e
use a more generic means to decide whether we need to provide poll/dlfcn functionality (issue #5297 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
779d033f21
move process_quotes_and_slashes to utils.c since it is used by both pbx_ael and pbx_config
...
clean up some formatting
remove some commented out reference code
move unload_module in pbx_ael down to be with the rest of the standard module functions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
29bdd1b424
add API for searching active channels by context/exten
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4e7c01765f
use a better name for structure element (when using named initializers)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
aa92d9c1f8
don't double define our own string functions on platforms that don't have them (issue #5169 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0c8f0e8bdb
extensive ENUM support update, including ENUMLOOKUP() dialplan function (issue #5201 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
cabcfd8921
check call limit in ast_pbx_start(), instead of waiting until background thread has been launched (needed for issue #5131 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6568 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
60ffafcc39
allow users of RTP to know when the peer endpoint is (apparently) behind a NAT
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
d95ad5b4d8
Make lock logging reentrant when DEBUG_THREADS enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f2b293b8c4
add frame type for T.38, remove some unused stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b50f649446
oops :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4c2377ddd9
first set of Cygwin portability stuff (issue #4678 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
40c5fa88a4
eliminate signedness warnings (issue #5129 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6530 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5fdc070109
add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
...
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170 , heavily modified to actually work on Zap channels)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e04ba4a11f
eliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt instead
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
fc91dd1035
eliminate spurious warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9614adc056
make DEBUG_THREADS have more visible logging
...
make DEBUG_THREADS able to catch locks being unlocked by threads that did not own them
add proper wrappers for pthread_cond_wait() and pthread_cond_timedwait() for DEBUG_THREADS mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1632d52795
major header file cleanup: license, copyrights, descriptions, markers, etc.
...
remove deprecated config_old.c/config_old.h
remove unused cvsid.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
5d4d2fdfd4
Add SIP video fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
388e8bd9a8
massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1824c2f630
encode/decode URIs in 'pedantic' mode (issue #3923 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6441 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0f03a734b1
don't make expression evaluator allocate a memory buffer for each result
...
to
be returned; use the buffers already present in the PBX for this purpose
update testexpr2/check_expr to allocate buffers for expression
evaluation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
99929b21e4
preserve hint watchers and laststate across 'extensions reload' (issue #2522 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7085e27835
doc updates and copyright header cleanup (issue #5026 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
866ae3cd53
doc updates and copyright header cleanup (issue #5027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6410 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
39e8d87476
minor doc fixes and copyright header cleanup (issue #5029 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0bd1861df8
clear out memory allocated by LOCAL_USER_ADD/LOCAL_USER_ACF_ADD
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7950e4216e
make AST_LIST_REMOVE_HEAD safer to use
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9e9f3ace21
add ability to map feature sequences to applications (issue #3764 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a5b640cb40
add 'sip show settings' CLI command (issue #4806 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2cde73fddb
make sure realtime/high scheduling priority is relinquished before executing an AGI script (issue #4930 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3480297607
add preliminary support for SIP timers (issue #4359 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
dffade452c
add a LOG_DTMF logging channel and send all bridged DTMF events out that channel (issue #4835 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ff971379f4
support new format for musiconhold.conf (issue #4908 )
...
support non-SLINEAR moh streams (issue #4908 )
add external app to feed TCP stream into Asterisk for moh (issue #4908 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
69f9c479e7
add 'restart' character to ast_control_playback function and ControlPlayback() application (issue #4693 )
...
rework app_controlplayback.c to take into account all Asterisk 1.2 coding style requirements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
97e1ede292
Centralize and fix tos for IAX (bug #4850 inspired)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
957eed7682
eliminate compiler warnings when DEBUG_THREADS is enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
ce7a1e4768
bridging code cleanups:
...
code style, formatting
use enum/symbolic constants for return codes
efficiency improvements
(zaptel) only disable DTMF detection once per bridge, not every frame
(zaptel) ensure VPM DTMF detector is turned off during native bridge
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
99d6c05f13
more pointer signedness fixes for gcc4 warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
13a0bec612
Merge steve's busy detect stuff (bug #4830 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
b870642ee9
more fixes for gcc4 warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
0a87b55fe8
ensure that strings.h has va_list defined (bug #4900 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
8712d1d7f1
Fix timestamp issue with features (bug #4760 with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c0f42361e
correct comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6225 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
5cc0413c54
add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
...
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f6c059d451
process asterisk.conf in a single pass, instead of twice (bug #4689 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6216 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f358db3d43
use CDR API calls instead of re-implementing them (bug #4726 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
307566933f
more extensive documentation (bug #4444 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6212 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
8b3f4e3022
formatting cleanups (bug #4782 )
...
fill out some Manager events with additional headers (bug #4782 )
re-word some log messages to be clearer (bug #4782 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
5589a1e387
put ast_recvchar under its desc, add desc for ast_senddigit, don't use a
...
length limited copy for a static copy into a buffer that we *know* is big
enough
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
075a8ad21c
add slinfactory object, and change app_chanspy to use it (bug #4724 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1c30af0622
add English device state output (bug #4733 , with minor mod)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a6b0f6074f
move strtoq into new string files (bug #4740 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
be8e1d2381
restore proper difference calculation (bug #4746 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4dd4428204
split acl and netsock code into separate files, in preparation for new netsock implementation
...
various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
c8f5c38f66
let the compiler learn the types for the elements of a struct timeval to fix
...
portability issues
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
de905a632a
fix negative timestamp issue
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a9c7f50a09
Allow manager originate to specifiy more than one variable to be set.
...
Allow manager originate and spool files to set writable dialplan functions,
including those that use the pipe symbol to seperate arguments.
Allow CDR dialplan function to be able to set the account code and userfield.
This deprecates the use of the Account header in manager originate and spool
files, as well as the SetAccount and SetCDRUserField applications.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
22b0f5d306
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9d8d86e19d
phase two of string portability stuff:
...
don't need ast_ prefixes on functions
use individual #defines for function presence
add vasprintf to portability library
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b6486df40e
first phase of proper fix for portable string function problems (bug #4669 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9a7a5d5623
fix up lock breakage from bug #4245
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
79760d4802
add support for multiple-digit extensions in queue exit contexts (bug #4690 )
...
add QUEUEAGENTCOUNT dialplan function (bug #4690 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
b62623fdaa
convert ast_copy_string to use AST_INLINE_API macro (bug #4682 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d7e09f233f
allow explicit source address/port selection for peers (bug #4257 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
97671a2b05
add 'exit context' and 'only stop on match' options to Background app (bug #4511 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
58d1d59cab
simplify (and document!) macro for inlinable API functions (inspired by bug #4603 , with slightly different implementation)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
eb397f08df
reverse arguments to ast_tvdiff_ms, so they match the 'raw' math being used between the arguments
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6083 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
a913a5ce23
add the new files for the last commit :-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c13d601fb4
queue device state changes and handle them serially in a background thread
...
optimize device state related functions
add ast_get_channel_by_name_prefix to allow searching for matching channels in O(1) operation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
054317fb13
add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
...
add warning for when file mapping is found but the engine is not available
add warning for trying to map 'logger.conf', since it cannot be reliably mapped
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
52ef5c7d30
add function to convert a cause code to a string
...
create MAX_MUSICCLASS instead of using MAX_LANGUAGE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matthew Fredrickson
220e24584a
UK discconnect tone detection support. Need to enable callprogress in
...
zapata.conf and set progzone=uk
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b83175862e
add new header files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
3e44b65090
split up string/time functions into separate header files
...
make more LOW_MEMORY optimizations, and ensure that a non-inline version of each inlinable function is always available (for external modules)
move compiler-specific stuff into a separate header file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6008 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
8ed59c10e4
make inlinable functions only need the function body in one file, and respond properly to LOW_MEMORY being defined
...
make ast_copy_string inlinable, and ast_tvdiff_ms LOW_MEMORY aware
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
d69b5c74e5
Fix debugging to not print warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
767f019264
add AGI 'RECEIVE TEXT' command (bug #4525 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
222b5695e0
Fix up utils nonsense
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5932 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
9a80a7bc2c
string/whitespace handling cleanups (bug #4449 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5924 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
86511f89fb
don't use pthread_mutex_lock
...
don't double-include pthread.h in utils.h, which can cause the
pthread_mutex_lock warning to not be generated on some systems
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e18a747172
move timeval-diff function into utils.h from app_alarmreceiver.c
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e5e64bfd41
header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
01251090f0
fix version-string builds for non-gcc compilers
...
don't build version-string stuff for LOW_MEMORY builds
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5873 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
cf5b8dba96
add note about example
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5872 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
fb16b5cb0a
add doxygen docs for file version stuff
...
make doxygen expand __GNUC__ protected code blocks
make doxygen process include/asterisk.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5871 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
0e6762dd5f
remove experimental module version tags
...
add per-file revision tags and 'show version files' CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
43cf15e339
add support for per-module version numbers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
eaba80834c
update ignore lists
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4f299de252
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: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
1bac31d6bd
more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug #4265 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7a2d5cbb3e
make ast_waitstream_* return value compatible with platforms that use unsigned char by default (bug #4455 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
23472dd2c0
support configurable batch posting of CDRs (off by default) (bug #3883 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
af9903eb05
Fix cdr.h ordering issue (bug #4401 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
41e7cc8154
Use defined AST_MAX_ACCOUNT_CODE (bug #4350 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5765 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
102c76a9c8
make IF dialplan function handle quoted strings properly (bug #4322 , with API mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
3c98814bb5
add 'dontwarn' option to asterisk.conf to appease the whining masses :p (bug #4320 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
38b7f7b4a4
Add optional call limit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
eaececc920
add ast_build_string library function (from bug #3644 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4910637da7
code formatting and comments, plus minor device state fix (bug #4171 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
0356b70224
add functions to register/unregister multiple CLI commands in a single operation (bug #4255 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
219541b5e0
various fixes:
...
use linked list macros for managing backend list (inspired by bug #4258 )
use ast_copy_string instead of strncpy when appropriate
minor fixes and formatting cleanup
add AST_LIST_HEAD_STATIC and AST_LIST_REMOVE_CURRENT macros
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
c936fc827c
Add remainder of rtp fixes, iax2 patch (bug #3961 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
d825e581f3
minor fix for refcount/flags to be unsigned
...
explicitly test refcount as a logical value for builtin_expect (thanks to rizzo for the cluebat!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
65a7d2ac76
fixes for the new jitter buffer (bug #4249 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a48f36c3c5
fix header description
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5594 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Anthony Minessale II
6b7677e842
expose function execution routines and warn about trying to set a read-only cdr var
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4d2537ae11
major re-work of dialplan functions, including:
...
- locking of functions list during registration/unregistration/searching
- rename of function description structure to be consistent with the rest of the API
- addition of 'desc' element to description structure, for detailed description (like applications)
- addition of 'show function' CLI command to show function details
- conversion of existing functions to use uppercase names to match policy
- creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
- removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
824763970b
Fix minor doc issue (bug #4145 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
44b95a88d6
add doxygen docs for astobj.h (bug #4145 , with minor mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a0f2a2e7c4
remove hardcoded CDR() support from pbx_builtin_setvar_helper in favor of already-implemented CDR() function
...
make SetVar() options actually work as documented
remove SetVar() 'c' and 'r' options, since the CDR() function can provide this functionality
add 'r' option to CDR() function to control recursive retrieval/storage
(inspired by bug #4143 , but without the SetVar syntax changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
523911c9b0
re-implement ast_separate_app_args with clearer code and in a way that doesn't fail with certain combinations of array size and delimiter count
...
add doxygen docs for ast_separate_app_args
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
deb3c32a49
correct documentation for ast_sched_add (bug #4136 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
abec217a1b
add experimental ast_copy_string() function to be used in place of strncpy() (see discussion on asterisk-dev)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7d4b53c57a
add direct object unlink macro to ASTOBJ api
...
various minor cleanups in chan_sip
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
bced63033d
make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5529 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
Russell Bryant
7bffc0459c
add missing newlines, fix misspelling of nonexistent (bug #4027 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
8d1744dd29
Add sched_when function (bug #4022 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
e3e62817fa
formatting fixes (bug #4009 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
110560781a
preliminary "managed DNS lookup" support
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5432 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
9cbc047b6a
Fix ADSI 'B' issue (bug #3833 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5422 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
f5ac6f6c2e
correct error in doxygen docs
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5417 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c7c20f8656
report non-codec capabilities in 'sip debug' properly (bug #3960 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
a7e9416c89
don't define a functioning returning an int inside of a do{...}while(0) (bug #3865 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
e7bbe31f8f
optimize codec selection and format changing code
...
force all transcode paths to use AST_FORMAT_SLINEAR as the frames pass through the bridge (can be disabled using the 'transcode_via_sln' setting in th 'options' setting in asteris.conf)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5376 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
bbc8c2ce6f
fix breakage from slin endianness commit earlier today (sorry :-()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b96ae79baa
handle AST_FORMAT_SLINEAR endianness properly on big-endian systems (bug #3865 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5373 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
b4f4e23000
remaining endian.h fixes for FreeBSD (bug #3867 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matthew Fredrickson
b81f233e68
Merging in xylome's beaerer capabilty patch (bug 3547)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
eb91006b7c
Allow functions to be written to (bug #2278 , with mods)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5296 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
dc9faa21e4
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
2bc067a740
Implement fax detect within i4l (bug #3827 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
29ce32912d
Merge API changes for chanspy
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
6265cd3125
Fix OpenBSD compile (bug #3824 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
6e420b3c38
Fix manager declarations
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
1507997410
Add README for jitter buffer (bug #3812 ), make src char *src a const
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5223 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
ebc1c06835
Fix channel variables on cloned channels (bug #3804 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5222 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
6d63970147
Fix PLC for BSD (bug #2532 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5211 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
f9cfe60312
Add support for Solaris/x86 (bug #3064 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago