aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
AgeCommit message (Collapse)AuthorFilesLines
2005-08-09bridging code cleanups:kpfleming1-144/+151
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: http://svn.digium.com/svn/asterisk/trunk@6312 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-08Don't wait longer than our timeout for something to happen (bug #4653)markster1-3/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6309 f38db490-d61c-443f-a65b-d21fe96a405b
2005-08-03Fix timestamp issue with features (bug #4760 with mods)markster1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6268 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-31Fix monitoring when channel redirected (bug #3809, patch redone)markster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6247 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-27fix warningrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6236 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25formatting cleanups (bug #4782)kpfleming1-81/+122
fill out some Manager events with additional headers (bug #4782) re-word some log messages to be clearer (bug #4782) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6208 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25get rid of a warningrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6189 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-20put ast_recvchar under its desc, add desc for ast_senddigit, don't use arussell1-3/+3
length limited copy for a static copy into a buffer that we *know* is big enough git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6178 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-18get rid of unused variablerussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6151 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15Allow manager originate to specifiy more than one variable to be set.russell1-14/+11
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: http://svn.digium.com/svn/asterisk/trunk@6147 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-34/+12
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15phase two of string portability stuff:kpfleming1-2/+2
don't need ast_ prefixes on functions use individual #defines for function presence add vasprintf to portability library git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6143 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15first phase of proper fix for portable string function problems (bug #4669)kpfleming1-8/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6133 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12fix logic error in searching for channel by name (bug #4684)kpfleming1-2/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6110 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-12cast constants into the proper type (bug #4686)kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6106 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-09Typo Fix (per corydon76)anthm1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6067 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-09D'ohmalcolmd1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6066 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-09Bug #4652 - Take twomalcolmd1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6065 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08Bug #4652 - Require libstrfunc for FreeBSD. Thanks Corydonmalcolmd1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6064 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-08queue device state changes and handle them serially in a background threadkpfleming1-100/+70
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: http://svn.digium.com/svn/asterisk/trunk@6062 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05don't write frames out to channel until after sending them to spies and/or ↵kpfleming1-2/+2
monitor, since the channel driver might modify the frame data in the buffer (bug #4623) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6035 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05ensure that text frames are copied correctly even if they are not ↵kpfleming1-1/+1
null-terminated (bug #4615) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6030 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-05add function to convert a cause code to a stringrussell1-0/+63
create MAX_MUSICCLASS instead of using MAX_LANGUAGE git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6024 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-23optimize ast_recvchar/ast_recvtext (bug #4591)kpfleming1-50/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5989 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21add channel CLID info in manager Link event (bug #4548 with minor mod)kpfleming1-13/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5963 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21add AGI 'RECEIVE TEXT' command (bug #4525)kpfleming1-0/+34
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5950 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18Fix timelimit bug (bug #4552)markster1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-14fix deadlock message output (bug #4508)russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5907 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06remove experimental module version tagskpfleming1-1/+4
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-06more efficient (and understandable) ast_channel_walk_locked, and vastly more ↵kpfleming1-62/+69
efficient ast_channel_by_name_locked (bug #4265) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5853 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05more ast_copy_string() conversionkpfleming1-19/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5849 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05make ast_waitstream_* return value compatible with platforms that use ↵kpfleming1-5/+5
unsigned char by default (bug #4455) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5846 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-05make 'show channeltypes' list whether device state is supported (bug #4464)kpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5840 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-03support configurable batch posting of CDRs (off by default) (bug #3883)kpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-02make 'show channeltypes' output format work properly (bug #4413)kpfleming1-2/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5820 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-15code formatting and comments, plus minor device state fix (bug #4171)kpfleming1-43/+82
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5669 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-14Remove double fout++ and comment on flag (bug #4267)markster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5649 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-1/+1
base-10 parsing (bug #4110) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-24If poll returns 0, force *ms to 0markster1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5502 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22phase 1 of header include cleanup (bug #4067)kpfleming1-11/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5498 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-22initialize errno and don't report an error when poll() returns without ↵kpfleming1-1/+2
indicating one (bug #4059) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5492 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-21/+21
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-18don't force transcoding through SLINEAR when transcoding is not needed at allkpfleming1-36/+30
clean up formatting and variable names in ast_channel_make_compatible git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5483 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-04optimize codec selection and format changing codekpfleming1-64/+56
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: http://svn.digium.com/svn/asterisk/trunk@5376 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01don't take the channel list lock until we're actually ready to put the new ↵kpfleming1-4/+1
channel into the list in ast_channel_alloc (bug #3928) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5352 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01Merging in xylome's beaerer capabilty patch (bug 3547)mattf1-0/+20
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5342 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31Fix build without zaptel (bug #3901)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5320 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-31Make bridging more efficientmarkster1-90/+148
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5311 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-30increase queue length of chanspy queueanthm1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5310 f38db490-d61c-443f-a65b-d21fe96a405b