aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-30Issue #5374 - Enable internal timing of generators (cmantunes)oej1-8/+20
Thanks everyone involved for hard work, testing and testing! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16473 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-19fix memory leak due to not freeing the channel's string fields inrussell1-0/+1
ast_channel_destroy() (issue #6746) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13628 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-06Make astmm compile (imported from 1.2)oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12041 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-06Revert, needs to be fixed in 1.2 firstoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12031 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-06Fix compilation with astmmoej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12025 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-27Merged revisions 11250 via svnmerge from russell1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11250 | russell | 2006-02-26 21:50:09 -0500 (Sun, 26 Feb 2006) | 2 lines don't hang up the channel if its state is set to UP before we return from ast_call (issue #6569) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11251 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-25Merged revisions 11058 via svnmerge from kpfleming1-1/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r11058 | kpfleming | 2006-02-24 22:23:48 -0600 (Fri, 24 Feb 2006) | 2 lines ensure that spy frame queueing is able to deal with translation failing for any reason (issue #6546) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@11060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15more memory allocation wrapper conversionkpfleming1-30/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10141 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14add 'systemname' option to prefix channel unique IDs with (issue #5825)kpfleming1-1/+4
convert chan->uniqueid to a stringfield from a fixed-size buffer git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11Merged revisions 9581 via svnmerge from russell1-0/+2
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: http://svn.digium.com/svn/asterisk/trunk@9582 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11Add capability to retrieve list of channel typesmarkster1-0/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9508 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-03Bug 6322 - Implementation of SHA1 in Asterisk (plus dialplan function to use it)tilghman1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9138 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-22/+19
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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31define a global null_frame object so when queueing a null frame, you don'trussell1-17/+10
have to allocate one on the stack git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30Merge Rizzo's waitfor update (bug #4584)markster1-153/+109
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29don't use tone generation for DTMF if the channel driver only supports ↵kpfleming1-1/+2
begin/end (will need more work to translate non-variable events into begin/end events) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8852 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29add channel-driver callbacks for variable length DTMFkpfleming1-2/+9
teach ast_write() to call those new callbacks git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8851 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-29make ast_read() able to handle channel read()/exception() methods that ↵kpfleming1-94/+116
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: http://svn.digium.com/svn/asterisk/trunk@8850 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25Issue #6349 - patch by markster, imported from 1.2oej1-5/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24Merged revisions 8588 via svnmerge from kpfleming1-2/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8588 | kpfleming | 2006-01-24 16:32:09 -0600 (Tue, 24 Jan 2006) | 2 lines ensure that channel cannot become zombie after we check but before we try to start indications ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8591 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24convert ast_channel list to use linked list macros (issue #6338)russell1-58/+40
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-24- Report SIP reload in manager (issue 5742 with small changes)oej1-0/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8531 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22Merged revisions 8437 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8437 | russell | 2006-01-22 12:47:13 -0500 (Sun, 22 Jan 2006) | 2 lines fix MixMonitor crash (issue #6321, probably others) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8438 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-22add 'show channeltype' CLI command (issue #6149, with small modifications)russell1-0/+81
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8422 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21on this pass, only remove duplicate log messagesrussell1-5/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21finish reverting my pass through the tree to remove checks of the result ofrussell1-1/+6
ast_strdupa, this one is revision 8362 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8401 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21remove some useless checks after calls to ast_strduparussell1-6/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8362 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17Extra comma causing compilation errors...oej1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8137 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17don't generate any message for native bridge attempts unless all the basic ↵kpfleming1-3/+3
checks have passed and we're actually going to try it git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8120 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16 Spelling corrections (mostly in comments and doxygen areas) #6249 bweschke1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8100 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-16Merged revisions 7963 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7963 | mogorman | 2006-01-10 23:38:07 -0500 (Tue, 10 Jan 2006) | 2 lines Minor typo refrenced in 6191 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8090 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14added feature for pausing and unpausing the mogorman1-4/+8
monitor app from manager and in the call through features.conf bug 5395 for the patch git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8070 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12More changes to make t.38 support workmattf1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8015 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11oops. :)russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11- add AST_LIST_HEAD_NOLOCK_STATIC, similar to AST_LIST_HEAD_STATIC, but ↵russell1-27/+20
without the lock! - store registered channel backends using linked list macros git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7968 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-07Add support for H.264 with SIP and recordingmarkster1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7855 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05Merged revisions 7825 via svnmerge from kpfleming1-9/+15
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7825 | kpfleming | 2006-01-05 17:49:50 -0600 (Thu, 05 Jan 2006) | 3 lines eliminate rounding errors that caused call time limits to be inaccurate (issue #5913) round 'time left' reported during call limit warnings up to sound more accurate ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7826 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04Merged revisions 7799-7800 via svnmerge from kpfleming1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7799 | kpfleming | 2006-01-04 17:02:38 -0600 (Wed, 04 Jan 2006) | 2 lines make monitoring more tolerant of peers that deliver frames in bursts ........ r7800 | kpfleming | 2006-01-04 17:27:57 -0600 (Wed, 04 Jan 2006) | 2 lines ensure that ulaw/alaw sound files are filled with silence when extended (not zeroes) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7801 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-04Issue #6127: Count in show channeltypes (junky)oej1-1/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7776 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03update copyright headers for files changed this yearkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7751 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-03Merged revisions 7740 via svnmerge from kpfleming1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@7741 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-01remove some duplicated code (issue #6098)russell1-18/+5
Also, touch up some formatting git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7691 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-31update comments to doxygen stylerussell1-74/+81
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7688 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30Merged revisions 7677 via svnmerge fromtilghman1-0/+3
/branches/1.2 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7678 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-24minor cleanups ...russell1-48/+30
- use for loops instead of while loops for basic list traversals - remove an unused 'res' variable - formatting tweaks git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7617 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20Major peformance improvements to meetmemarkster1-3/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7547 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-15 Bug #6003 - Don't free the channel structure until after having sent the ↵bweschke1-1/+1
manager event. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7481 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-2/+2
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-03Bug 5858 - Make the chanvars.c functions return a 'const char *'tilghman1-2/+2
This should prevent us from unintentionally changing variable values when they're returned from pbx_builtin_getvar_helper. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b