summaryrefslogtreecommitdiff
path: root/include/asterisk
AgeCommit message (Collapse)Author
2006-02-11Merged revisions 9581 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9581 | russell | 2006-02-11 13:15:00 -0500 (Sat, 11 Feb 2006) | 2 lines now that CDR is a loadable module, don't depend on it elsewhere (issue #6460) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9582 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11Add capability to retrieve list of channel typesMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10clean up SMDI support commit:Kevin P. Fleming
copyright header format and dates code formatting and guidelines conformance use of timeval wrapper functions use of memory allocation wrappers propery unref created interface objects during config load document new variable set by chan_zap in doc/channelvariables.txt remove useless 'extern' on function prototypes and definitions git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-10Add smdi support for asterisk (see doc/smdi.txt for config info) (#5945)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9423 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-04remove windows-style line endingsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-03Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)Tilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01use string fields for some stuff in ast_channelKevin P. Fleming
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
2006-01-31define a global null_frame object so when queueing a null frame, you don'tRussell Bryant
have to allocate one on the stack git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9001 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-31add a note to hopefully decrease the chance that someone forgets to incrementRussell Bryant
.cleancount after changing the ast_channel structure git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-30Merge Rizzo's waitfor update (bug #4584)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-29add channel-driver callbacks for variable length DTMFKevin P. Fleming
teach ast_write() to call those new callbacks git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-29make ast_read() able to handle channel read()/exception() methods that ↵Kevin P. Fleming
return a chain of frames cleanup code in ast_read() add AST_FRAME_DTMF_BEGIN and AST_FRAME_DTMF_END so that variable-length DTMF events can be supported teach chan_zap to send DTMF_BEGIN and DTMF_END when appropriate git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26string field manager improvements:Kevin P. Fleming
use multiple memory blocks, instead of realloc(), ensuring that field pointers will never become invalid or change don't run vs(n)printf twice when doing a field build unless required git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24convert ast_channel list to use linked list macros (issue #6338)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-24- Report SIP reload in manager (issue 5742 with small changes)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22eliminate some compiler warningsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8443 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21don't do the memcpy inside of ast_strdupa if we know that __builtin_alloca Russell Bryant
was not successful git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8393 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21remove optimization where its benefits are negligibleRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-20- move ast_strdupa from channel.h to utils.hRussell Bryant
- attempt to log an error message if the __builtin_alloca inside of ast_strdupa fails. - document the fact that it is known and intended behavior for ast_strdupa to cause Asterisk to crash if the alloca fails - use __builtin_expect when checking for allocation failure in all of the allocation wrappers New Janitor Project! Anywhere that we check for a successful allocation after a call to ast_strdupa is unnecessary and should be removed. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18constify arguments in more places where strings should not be modified ↵Russell Bryant
(issue #6286) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8203 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18allows for use of the originate function fromMatt O'Gorman
the cli patch 5847 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-18cli.h cleanup and additional documentationMatt O'Gorman
from patch 6272 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8179 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17Doxygen updateOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-14Small documentation update for new AST_FRAME_MODEM typeMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-14added feature for pausing and unpausing the Matt O'Gorman
monitor app from manager and in the call through features.conf bug 5395 for the patch git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8070 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13Various cleanups from comments in an email from Luigi Rizzo. Thank you!Russell Bryant
- Use a cleaner syntax for declaring the allocation macros - Fix return value for ast_strdup/ast_strndup - remove safe_strdup from app_macro, since ast_strup does the same thing - fix a place in app_queue where ast_calloc+strncpy was used instead of ast_strdup. If you are helping out with these conversions, please watch out for other places where this is done. - add a note to the coding guidelines about the fix to app_queue git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13Made chan_agent code parsing more robust andMatt O'Gorman
implemented new macro code. from 6228. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12More changes to make t.38 support workMatthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12Changes to add udptl to asterisk (preliminary merging of the t.38 patch)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-12As we no longer have chan_modem this file is not usedMatt O'Gorman
either thanks rizzo in refrence to 6217 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11add doxygen documentation and fix various issues with ast_dtmf_streamRussell Bryant
(discussed in issue #6087) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7969 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11- add AST_LIST_HEAD_NOLOCK_STATIC, similar to AST_LIST_HEAD_STATIC, but ↵Russell Bryant
without the lock! - store registered channel backends using linked list macros git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11lock list of translators *before* recalculating translation matrix.Russell Bryant
Also, store translators using linked list macros. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11remove stray headerRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-10Add wrappers for commonly used memory allocation functions. These wrappersRussell Bryant
add an automatically generated Asterisk log message if the allocation fails for some reason. Otherwise, they are functionally the same, with the exception of ast_strdup and ast_strndup. These functions have the added ability to accept a NULL argument without error, which will just be ignored without generating an error. The coding guidelines have also been updated to reflect all of this information. (issue #4996) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-10Bug 5961 - new RAND() functionTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-08Commiting bugfix 5310. added functions to astobjMatt O'Gorman
for queue like structure. astobj_container_link_end astobj_container_link_start astobj_conatiner_unlink_start git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07Add support for H.264 with SIP and recordingMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07Bug 6164 - Allow ast_skip_blanks on const strings without spewing warningTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-07Bug 6162 - Constify manager_event argumentsTilghman Lesher
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-06Changes to allow receiving japanese callerid (Bug #5928)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-06ensure that string field 'build' operation only evaluates arguments one timeKevin P. Fleming
fix some minor documentation errors return proper type from string field space allocator git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-05Merged revisions 7827 via svnmerge fromTilghman Lesher
/branches/1.2 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-05Doxygen updatesOlle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7814 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-04add memory-pool based string field management for structuresKevin P. Fleming
convert chan_sip sip_pvt and sip_registry structures to use string fields add 'const' qualifiers to a few API calls that don't modify their input strings add an asprintf() wrapper to astmm git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7797 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03update copyright headers for files changed this yearKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03Merged revisions 7740 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7740 | kpfleming | 2006-01-03 11:24:56 -0600 (Tue, 03 Jan 2006) | 4 lines revert incorrect fix for bug #6048 from revision 7709 put in correct (simpler) fix add doxygen docs for channel spy 'state' values ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03Bug #6109: Fix unprotected list in RTP, implement AST_LIST macros, update ↵Olle Johansson
doxygen docs git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-03Bug #6118: Clean up list handling in image.c (drumkilla)Olle Johansson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-01fix a couple of doxygen errorsRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7699 65c4cc65-6c06-0410-ace0-fbb531ad65f3