summaryrefslogtreecommitdiff
path: root/channel.c
AgeCommit message (Collapse)Author
2005-07-20put ast_recvchar under its desc, add desc for ast_senddigit, don't use aRussell Bryant
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
2005-07-18get rid of unused variableRussell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-15Allow manager originate to specifiy more than one variable to be set.Russell Bryant
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
2005-07-15add a library of timeval manipulation functions, and change a large number ↵Kevin P. Fleming
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
2005-07-15phase two of string portability stuff:Kevin P. Fleming
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
2005-07-15first phase of proper fix for portable string function problems (bug #4669)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12fix logic error in searching for channel by name (bug #4684)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6110 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12cast constants into the proper type (bug #4686)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09Typo Fix (per corydon76)Anthony Minessale II
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6067 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09D'ohMalcolm Davenport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-09Bug #4652 - Take twoMalcolm Davenport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6065 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08Bug #4652 - Require libstrfunc for FreeBSD. Thanks CorydonMalcolm Davenport
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6064 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08queue device state changes and handle them serially in a background threadKevin P. Fleming
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
2005-07-05don't write frames out to channel until after sending them to spies and/or ↵Kevin P. Fleming
monitor, since the channel driver might modify the frame data in the buffer (bug #4623) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05ensure that text frames are copied correctly even if they are not ↵Kevin P. Fleming
null-terminated (bug #4615) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6030 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05add function to convert a cause code to a stringRussell Bryant
create MAX_MUSICCLASS instead of using MAX_LANGUAGE git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-23optimize ast_recvchar/ast_recvtext (bug #4591)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21add channel CLID info in manager Link event (bug #4548 with minor mod)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-21add AGI 'RECEIVE TEXT' command (bug #4525)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5950 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-18Fix timelimit bug (bug #4552)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-14fix deadlock message output (bug #4508)Russell Bryant
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06more file version tagsKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06remove experimental module version tagsKevin P. Fleming
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
2005-06-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵Kevin P. Fleming
efficient ast_channel_by_name_locked (bug #4265) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05more ast_copy_string() conversionKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05make ast_waitstream_* return value compatible with platforms that use ↵Kevin P. Fleming
unsigned char by default (bug #4455) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-05make 'show channeltypes' list whether device state is supported (bug #4464)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-03support configurable batch posting of CDRs (off by default) (bug #3883)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02make 'show channeltypes' output format work properly (bug #4413)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15code formatting and comments, plus minor device state fix (bug #4171)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14Remove double fout++ and comment on flag (bug #4267)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5649 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵Kevin P. Fleming
base-10 parsing (bug #4110) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-24If poll returns 0, force *ms to 0Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22phase 1 of header include cleanup (bug #4067)Kevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-22initialize errno and don't report an error when poll() returns without ↵Kevin P. Fleming
indicating one (bug #4059) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵Kevin P. Fleming
(bug #4058) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-18don't force transcoding through SLINEAR when transcoding is not needed at allKevin P. Fleming
clean up formatting and variable names in ast_channel_make_compatible git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-04optimize codec selection and format changing codeKevin P. Fleming
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
2005-04-01don't take the channel list lock until we're actually ready to put the new ↵Kevin P. Fleming
channel into the list in ast_channel_alloc (bug #3928) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01Merging in xylome's beaerer capabilty patch (bug 3547)Matthew Fredrickson
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31Fix build without zaptel (bug #3901)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-31Make bridging more efficientMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30increase queue length of chanspy queueAnthony Minessale II
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-30add missing newlinesAnthony Minessale II
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-28Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" ↵Mark Spencer
DTMF mode git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-27GCC 4 fix (bug #3875)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-24Fix the mysterious missing ifAnthony Minessale II
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-23Merge API changes for chanspyMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-22Make sure that waitfordigit_full doesn't hangup on -EINTR (bug #3831)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)Mark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5137 65c4cc65-6c06-0410-ace0-fbb531ad65f3