[svn-commits] tilghman: branch russell/chan_refcount r150814 - in /team/russell/chan_refcou...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 17 20:11:28 CDT 2008


Author: tilghman
Date: Fri Oct 17 20:11:26 2008
New Revision: 150814

URL: http://svn.digium.com/view/asterisk?view=rev&rev=150814
Log:
Merged revisions 122091,122128,122131,122174,122228,122232,122234,122240-122241,122243-122244,122262,122312,122315,122371,122399,122433-122434,122461,122493,122523,122526,122557,122616,122664,122714,122716,122766,122802,122834,122870,122920,122923,122926,122928,122977,123009,123041,123044,123076,123111,123114-123115,123165-123166,123201,123203,123238,123272,123275,123334,123358,123392-123393,123446,123448,123456,123486,123526,123541,123544,123546,123575,123609,123648,123650,123652,123692,123715,123770,123828,123830,123865,123867,123870,123887,123913,123931,123952,123988,124023-124024,124049,124064,124102,124121,124125,124127,124180,124183,124243,124278,124316,124392-124393,124396,124451,124505,124541,124596,124635,124669,124707,124744,124798,124835,124870,124872,124909,124912,124966,125020,125055,125096,125133,125135,125138,125191,125223,125277,125279,125332-125333,125385-125386,125438,125477,125531,125583,125586,125589,125591,125593,125596,125647,125649,125666,125703,125741,
 125794,125796,125799,125853,125855-125856,125880,125891,125894-125895,125947,125980,125982,125984,125988,126021,126057,126115,126152-126154,126187,126226,126274,126308-126312,126319,126356,126396,126448,126480,126513,126515,126517,126571-126572,126574,126637,126675,126681,126755,126790,126835,126845,126900,126903,126959-126960,126991,127000,127017,127074,127089,127113,127143,127152,127154,127157,127169,127210,127245,127297,127330,127362-127363,127398,127401,127434,127466,127502,127545,127558,127562,127564,127566,127609,127621-127622,127685,127720,127767,127779,127791,127793,127831,127852,127856-127857,127903,127931,127933-127934,127995,128027,128030,128082,128122,128125,128160,128197-128198,128201,128236-128237,128240,128242,128247,128254,128274,128284,128287,128290,128294,128343-128344,128378-128379,128381,128417,128454-128455,128485,128491,128524-128525,128564,128599,128638,128640,128690,128731,128733,128738,128796,128830,128857,128927,128951,129006,129045,129048,129114,12
 9152,129156,129159,129210,129270,129307,129344,129399,129437,129503,129506,129569,129581,129638,129642,129684,129734,129738,129758,129804,129864,129916,129968,129985,129987,130040,130043-130044,130126,130129,130145,130167,130170,130174,130230,130232,130234,130237,130293,130296-130297,130320,130374,130444,130479,130515,130574,130576,130578,130635,130697,130732-130733,130744,130794,130854,130890,130951,131013,131015,131044,131072,131129,131166,131207,131243,131300,131358,131361,131375,131422,131445,131482,131484,131492,131529,131570,131606,131643,131681,131717,131753,131791,131824,131868,131916,131923,131982,131986,131989,132046,132050,132108-132109,132113,132169,132203,132206,132242,132277,132312,132388,132390,132425,132466,132468,132470,132508,132510-132511,132514,132572-132573,132643,132703,132705,132721,132777-132778,132786,132788,132791,132795,132823,132827,132883,132964,132966,132975,132977,132981,133041,133102,133106,133171,133197,133238,133296,133299,133391,133400,1334
 48,133486,133509,133566,133568,133570,133573,133575,133579,133651,133665,133710,133770,133819,133860,133902,133904,133941,133943,133945-133946,134005,134050,134086,134088,134125,134162-134163,134253,134260,134312,134353,134355,134401,134442-134443,134476,134481,134483,134538,134541,134556,134596,134598,134650,134653,134703,134705,134759,134803,134815,134867,134916-134917,134919,134922,134925,134977,134980,135016,135056,135059,135061,135067-135068,135126,135128,135158,135197,135235,135265,135300,135302,135332,135371,135373,135405,135439,135474,135476,135480,135483,135485,135537,135598,135648,135680-135681,135717,135748,135821,135851,135900,135938,135950,136005,136034,136063,136112,136141,136191,136239,136245,136298,136300,136302,136305,136349,136402,136405-136406,136408,136477,136481,136489,136504,136542,136562,136594,136631,136633,136635,136660,136676,136679,136715,136720,136722,136746,136751,136784,136787,136819,136859,136888,136890,136917,136947,137028,137055,137082,137089
 ,137110,137112,137150,137203,137239,137299,137301,137349,137403,137406,137456,137496,137531-137532,137582,137627,137640,137678,137680,137732,137780,137812,137848,137851,137901,137933,137987,138024,138028,138086,138124,138148,138155,138206,138260,138310-138311,138361,138409,138412,138442,138473,138476,138479,138482,138517-138518,138570,138631,138687,138694,138738,138775,138778-138780,138814-138815,138845,138851,138887,138939,138943,138951,139016,139020,139083,139146,139153-139154,139210,139215,139281,139345-139346,139391,139457,139469,139525,139554,139558,139563,139622,139624,139627,139662,139704,139707,139770-139771,139775,139832,139870,139915,139928,139981,140052-140053,140057,140061,140116,140167,140169,140201,140205,140246,140301,140355,140418,140422,140433,140489,140491,140559,140563,140566,140606,140691-140692,140749,140752,140817,140820-140821,140824,140860,140887,140938,140975,141039,141115,141157,141218,141271,141328,141367,141425,141464,141504,141507,141566,141626,1
 41679,141682,141745,141807,141810,141868,141906,141949,141995,141998,142000,142064,142080,142146,142181,142219,142280,142318,142355,142359,142417,142475,142536,142576,142635,142676,142741,142745,142748,142808,142866,142929,142992,143031,143034,143082,143141,143226,143271,143340,143400,143405,143476,143559,143609,143697,143737,143799,143837,143840,143843,143904,143974,144025,144067,144149,144199,144257,144314,144357,144421,144482,144523,144563,144569,144635,144678,144681,144759,144829,144879,144949-144951,145027,145076,145121,145200,145226,145249,145329,145381,145428,145487,145553,145579,145606,145649,145692,145752,145771,145840,145842,145846,145915,145959,145962,146052-146053,146081,146130,146198,146242,146245,146312,146359,146407,146449,146514,146555,146597,146640,146644,146713,146738,146802,146807,146875,146877,146883,146920,146923,146925,146928,146970,147011,147050,147099,147146,147191-147192,147194,147262,147264-147266,147306,147312,147347,147388,147456-147457,147476,147
 518,147592,147635,147689,147714,147760-147761,147807,147853-147854,147896,147899,147942,147952,148000,148010,148069-148071,148112,148120,148144,148160,148200,148268,148325,148329,148373,148376,148425,148471,148473-148474,148519,148570,148612,148679,148695,148737-148738,148754,148825,148867-148868,148913,148917,148985,148988,148991,149040,149062,149131,149199,149201,149205,149208,149271,149279,149342,149384,149426-149427,149487,149542,149588,149637,149640,149687,149756,149802,149848,149917-149918,149920,149964,149981,150008,150051-150052,150118,150121,150125,150207,150210,150253,150255,150257,150302,150305,150307,150309,150311,150384,150426,150469,150510,150558,150580,150635,150640,150664 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r122091 | murf | 2008-06-12 09:28:01 -0500 (Thu, 12 Jun 2008) | 45 lines
  
  Merged revisions 122046 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122046 | murf | 2008-06-12 07:47:34 -0600 (Thu, 12 Jun 2008) | 37 lines
  
  (closes issue #10668)
  Reported by: arkadia
  Tested by: murf, arkadia
  
  Options added to forkCDR() app and the CDR() func to
  remove some roadblocks for CDR applications.
  
  The "show application ForkCDR" output was upgraded
  to more fully explain the inner workings of forkCDR.
  
  The A option was added to forkCDR to force the
  CDR system to NOT change the disposition on the
  original CDR, after the fork. This involves
  ast_cdr_answer, _busy, _failed, and so on.
  
  The T option was added to forkCDR to force 
  obedience of the cdr LOCKED flag in the
  ast_cdr_end, all the disposition changing
  funcs (ast_cdr_answer, etc), and in the
  ast_cdr_setvar func.
  
  The CHANGES file was updated to explain ALL
  the new options added to satisfy this bug report
  (and some requests made verbally and via 
  email, irc, etc, over the past months/year)
  
  The 's' option was added to the CDR() func,
  to force it to skip LOCKED cdr's in the
  chain.
  
  Again, the new options should be totally transparent
  to existing apps! Current behavior of CDR,
  forkCDR, and the rest of the CDR system should
  not change one little bit. Until you add the
  new options, at least!
  
  
  ........
................
  r122128 | murf | 2008-06-12 09:56:26 -0500 (Thu, 12 Jun 2008) | 9 lines
  
  Merged revisions 122127 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122127 | murf | 2008-06-12 08:51:44 -0600 (Thu, 12 Jun 2008) | 1 line
  
  Arkadia tried to warn me, but the code added to ast_cdr_busy, _failed, and _noanswer was redundant. Didn't spot it until I was resolving conflicts in trunk. Ugh. Redundant code removed. It wasn't harmful. Just dumb.
  ........
................
  r122131 | tilghman | 2008-06-12 10:14:37 -0500 (Thu, 12 Jun 2008) | 12 lines
  
  Merged revisions 122130 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122130 | tilghman | 2008-06-12 10:11:30 -0500 (Thu, 12 Jun 2008) | 4 lines
  
  Occasionally, the alertpipe loses its nonblocking status, so detect and correct
  that situation before it causes a deadlock.  (Reported and tested by ctooley
  via #asterisk-dev)
  
  ........
................
  r122174 | tilghman | 2008-06-12 10:26:07 -0500 (Thu, 12 Jun 2008) | 16 lines
  
  Merged revisions 122137 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122137 | tilghman | 2008-06-12 10:18:39 -0500 (Thu, 12 Jun 2008) | 8 lines
  
  Flipflop the sections for two options, since the section for 'X' (exit context)
  may otherwise absorb keypresses meant for 's' (admin/user menu).
  (closes issue #12836)
   Reported by: blitzrage
   Patches: 
         20080611__bug12836.diff.txt uploaded by Corydon76 (license 14)
   Tested by: blitzrage
  
  ........
................
  r122228 | mmichelson | 2008-06-12 11:25:09 -0500 (Thu, 12 Jun 2008) | 12 lines
  
  Merging the work done in the queue-log-atxfer branch. The
  net result of this work is that attended transfers made
  by queue members will now show up in the queue_log as a 
  TRANSFER message instead of COMPLETECALLER as it had been.
  
  As far as the details go, I created a datastore which is
  attached to the calling channel just prior to when the caller
  is bridged with the queue member. If the calling channel
  is masqueraded, then during the "fixup" portion, the TRANSFER
  will be logged and the datastore will be removed.
................
  r122232 | russell | 2008-06-12 12:14:32 -0500 (Thu, 12 Jun 2008) | 2 lines
  
  Make this build under dev mode
................
  r122234 | jpeeler | 2008-06-12 12:27:55 -0500 (Thu, 12 Jun 2008) | 3 lines
  
  Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow.
................
  r122240 | kpfleming | 2008-06-12 12:30:55 -0500 (Thu, 12 Jun 2008) | 1 line
  
  clarify documentation on how timer intervals should be specified
................
  r122241 | russell | 2008-06-12 12:38:27 -0500 (Thu, 12 Jun 2008) | 3 lines
  
  Get default entity ID determination working on Linux again
  (closes issue #12839)
................
  r122243 | jpeeler | 2008-06-12 12:39:38 -0500 (Thu, 12 Jun 2008) | 2 lines
  
  Make sure we hangup any calls we have and NULL out the ss7call value when we get a reset circuit message.  Fixes crash bug. (from mattf r121857, moving from chan_zap to chan_dahdi)
................
  r122244 | jpeeler | 2008-06-12 12:49:37 -0500 (Thu, 12 Jun 2008) | 2 lines
  
  Fix pseudo channel allocation errors on startup when using SS7. (from mattf r121914, moving from chan_zap to chan_dahdi)
................
  r122262 | russell | 2008-06-12 13:23:54 -0500 (Thu, 12 Jun 2008) | 11 lines
  
  Merged revisions 122259 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122259 | russell | 2008-06-12 13:22:44 -0500 (Thu, 12 Jun 2008) | 3 lines
  
  Fix some race conditions that cause ast_assert() to report that chan_iax2 tried
  to remove an entry that wasn't in the scheduler
  
  ........
................
  r122312 | mmichelson | 2008-06-12 13:53:17 -0500 (Thu, 12 Jun 2008) | 17 lines
  
  Merged revisions 122311 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122311 | mmichelson | 2008-06-12 13:50:58 -0500 (Thu, 12 Jun 2008) | 9 lines
  
  Properly play a holdtime message if the announce-holdtime option is
  set to "once."
  
  (closes issue #12842)
  Reported by: ramonpeek
  Patches:
        patch001.diff uploaded by ramonpeek (license 266)
  
  
  ........
................
  r122315 | jpeeler | 2008-06-12 14:11:23 -0500 (Thu, 12 Jun 2008) | 9 lines
  
  Blocked revisions 122314 via svnmerge
  
  ........
  r122314 | jpeeler | 2008-06-12 14:08:20 -0500 (Thu, 12 Jun 2008) | 2 lines
  
  Adds DAHDI support alongside Zaptel. DAHDI usage favored, but all Zap stuff should continue working. Release announcement to follow.
  
  ........
................
  r122371 | russell | 2008-06-12 15:38:52 -0500 (Thu, 12 Jun 2008) | 2 lines
  
  Complete the documentation for the timing API.
................
  r122399 | mmichelson | 2008-06-12 16:23:02 -0500 (Thu, 12 Jun 2008) | 4 lines
  
  Recommitting revision 122228, which was accidentally reverted
  as a result of commit 122234.
................
  r122433 | jpeeler | 2008-06-12 18:08:37 -0500 (Thu, 12 Jun 2008) | 4 lines
  
  (closes issue 0012193)
  Reported by: davidw
  Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app
................
  r122434 | jpeeler | 2008-06-12 18:09:16 -0500 (Thu, 12 Jun 2008) | 12 lines
  
  Blocked revisions 122208 via svnmerge
  
  ........
  r122208 | jpeeler | 2008-06-12 10:46:08 -0500 (Thu, 12 Jun 2008) | 5 lines
  
  (closes issue #12193)
  Reported by: davidw
  Patch by: Corydon76, modified by me to work properly with ParkAndAnnounce app
  
  
  ........
................
  r122461 | mmichelson | 2008-06-12 18:58:01 -0500 (Thu, 12 Jun 2008) | 5 lines
  
  Fix a segfault by not trying to store a stack address for
  long-term use. Instead use the heap. I can't believe this
  never happened *once* in my developer branch when I was testing.
................
  r122493 | mvanbaak | 2008-06-13 06:20:47 -0500 (Fri, 13 Jun 2008) | 9 lines
  
  Implement call parking in chan_skinny.
  
  (closes issue #11342)
  Reported by: DEA
  Patches:
        chan_skinny-park.txt uploaded by DEA (license 3)
        chan_skinny-park-v2.diff.txt uploaded by mvanbaak (license 7)
  Tested by: DEA, mvanbaak
................
  r122523 | russell | 2008-06-13 07:45:50 -0500 (Fri, 13 Jun 2008) | 11 lines
  
  Merge changes from timing branch
  
   - Convert chan_iax2 to use the timing API
   - Convert usage of timing in the core to use the timing API instead of
     using DAHDI directly
   - Make a change to the timing API to add the set_rate() function
   - change the timing core to use a rwlock
   - merge a timing implementation, res_timing_dahdi
  
  Basic testing was successful using res_timing_dahdi
................
  r122526 | russell | 2008-06-13 07:53:08 -0500 (Fri, 13 Jun 2008) | 3 lines
  
  Do not allow res_timing_dahdi to be unloaded.  We can re-enable this once we
  add automatic use count handling for timing modules.
................
  r122557 | tilghman | 2008-06-13 09:15:07 -0500 (Fri, 13 Jun 2008) | 7 lines
  
  Convert one more delimiter to use comma.
  (closes issue #12850)
   Reported by: bcnit
   Patches: 
         20080613__bug12850.diff.txt uploaded by Corydon76 (license 14)
   Tested by: bcnit
................
  r122616 | jpeeler | 2008-06-13 12:38:28 -0500 (Fri, 13 Jun 2008) | 13 lines
  
  Blocked revisions 122613 via svnmerge
  
  ........
  r122613 | jpeeler | 2008-06-13 12:36:56 -0500 (Fri, 13 Jun 2008) | 6 lines
  
  (closes issue #12846)
  Reported by: Netview
  Tested by: jpeeler
  
  Use correct location to search for tonezone.
  
  ........
................
  r122664 | jpeeler | 2008-06-13 13:58:29 -0500 (Fri, 13 Jun 2008) | 8 lines
  
  Blocked revisions 122663 via svnmerge
  
  ........
  r122663 | jpeeler | 2008-06-13 13:57:24 -0500 (Fri, 13 Jun 2008) | 1 line
  
  fixed dahdi compatability header from assuming either dahdi or zaptel is installed (may not have either)
  ........
................
  r122714 | mmichelson | 2008-06-13 16:45:21 -0500 (Fri, 13 Jun 2008) | 17 lines
  
  Merged revisions 122713 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122713 | mmichelson | 2008-06-13 16:44:53 -0500 (Fri, 13 Jun 2008) | 9 lines
  
  Short circuit the loop in autoservice_run if there are no channels to poll.
  If we continued, then the result would be calling poll() with a NULL
  pollfd array. While this is fine with POSIX's poll(2) system call, those
  who use Asterisk's internal poll mechanism (Darwin systems) would have
  a failed assertion occur when poll is called.
  
  (related to issue #10342)
  
  
  ........
................
  r122716 | tilghman | 2008-06-13 16:50:28 -0500 (Fri, 13 Jun 2008) | 2 lines
  
  Properly detect the size of char/varchar fields
................
  r122766 | tilghman | 2008-06-13 17:52:20 -0500 (Fri, 13 Jun 2008) | 2 lines
  
  Document the input for ast_realtime_require_field()
................
  r122802 | tilghman | 2008-06-15 10:21:16 -0500 (Sun, 15 Jun 2008) | 8 lines
  
  Add some more IAX2-specific information about the channel to the CHANNEL()
  function and begin the transition from SIPCHANINFO() to just using CHANNEL().
  (closes issue #12856)
   Reported by: mostyn
   Patches: 
         iax_and_sip_channel_info.patch uploaded by mostyn (license 398)
         (with some additional cleanup by me)
................
  r122834 | seanbright | 2008-06-15 22:33:03 -0500 (Sun, 15 Jun 2008) | 1 line
  
  Resurrected app_fax
................
  r122870 | file | 2008-06-16 07:09:54 -0500 (Mon, 16 Jun 2008) | 14 lines
  
  Merged revisions 122869 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122869 | file | 2008-06-16 09:08:28 -0300 (Mon, 16 Jun 2008) | 6 lines
  
  Don't send a BYE on a dialog that is already gone during a REFER.
  (closes issue #12865)
  Reported by: flefoll
  Patches:
        chan_sip.c.br14.121495.patch-ALREADYGONE uploaded by flefoll (license 244)
  
  ........
................
  r122920 | file | 2008-06-16 07:32:02 -0500 (Mon, 16 Jun 2008) | 14 lines
  
  Merged revisions 122919 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r122919 | file | 2008-06-16 09:31:09 -0300 (Mon, 16 Jun 2008) | 6 lines
  
  Only compare the first 15 characters so that even if the charset is specified we still accept it as SDP.
  (closes issue #12803)
  Reported by: lanzaandrea
  Patches:
        chan_sip.c.diff uploaded by lanzaandrea (license 496)
  
  ........
................
  r122923 | russell | 2008-06-16 07:48:11 -0500 (Mon, 16 Jun 2008) | 5 lines
  
   - Fix a typo in a timing API call
   - Convert the last part of channel.c over to use the timing API.  This would
     not have made a difference when using the dahdi timing module.  I noticed
     it when trying to use another timing source.  Oops.  :)
................
  r122926 | russell | 2008-06-16 08:03:40 -0500 (Mon, 16 Jun 2008) | 4 lines
  
  Add a "timing test" CLI command.  It opens a timer and configures it for
  50 ticks per second, and then counts to see how many ticks it actually
  gets in a second.
................
  r122928 | russell | 2008-06-16 08:08:13 -0500 (Mon, 16 Jun 2008) | 11 lines
  
  Merge res_timing_pthread.  This is a timing interface for Asterisk that
  does not require DAHDI.  It's called "pthread" because it uses a pthread
  API call in the timing thread for sleeping and ensuring we wake up at
  an appropriate time.  I wasn't sure what else to call it.  :)
  
  The timing API requires a file descriptor that can be polled on.  So,
  when you open a timer, this module creates a pipe and returns the read
  end of the pipe.  There is a background thread that wakes up every 10ms
  and checks to see if any of the currently open timers need a 'tick' and
  writes to the appropriate pipe.
................
  r122977 | russell | 2008-06-16 08:31:36 -0500 (Mon, 16 Jun 2008) | 2 lines
  
  Note that only one timing interface should get loaded.
................
  r123009 | seanbright | 2008-06-16 10:25:03 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Coding guidelines stuff only.
................
  r123041 | seanbright | 2008-06-16 11:29:18 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Remove some unused variables
................
  r123044 | seanbright | 2008-06-16 12:14:11 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Convert to use stringfields.  Still some more work to do on config load/reload.
................
  r123076 | seanbright | 2008-06-16 12:33:10 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Last commit for a bit, minor cleanups and move the lock initialization.
................
  r123111 | tilghman | 2008-06-16 14:23:51 -0500 (Mon, 16 Jun 2008) | 16 lines
  
  Merged revisions 123110 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123110 | tilghman | 2008-06-16 14:21:58 -0500 (Mon, 16 Jun 2008) | 8 lines
  
  People expect that if "hasvoicemail" is set in users.conf, even if "mailbox"
  isn't set, that SIP will detect a mailbox.
  (closes issue #12855)
   Reported by: PLL
   Patches: 
         20080614__bug12855__2.diff.txt uploaded by Corydon76 (license 14)
   Tested by: PLL
  
  ........
................
  r123114 | tilghman | 2008-06-16 14:57:05 -0500 (Mon, 16 Jun 2008) | 10 lines
  
  Merged revisions 123113 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123113 | tilghman | 2008-06-16 14:50:12 -0500 (Mon, 16 Jun 2008) | 2 lines
  
  Port "hasvoicemail" change from SIP to other channel drivers
  
  ........
................
  r123115 | ctooley | 2008-06-16 15:02:06 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Changes response to the ExternalIVR() P command from pipe delimited to comma delimited.  closes issue #12804
................
  r123165 | murf | 2008-06-16 15:43:46 -0500 (Mon, 16 Jun 2008) | 19 lines
  
  (closes issue #12689)
  Reported by: ys
  
  Many thanks to ys for doing the research on this problem.
  I didn't think it would be best to unlock the contexts
  and then relock them after the remove_extension2() call,
  so I added an extra arg to remove_extension2() and set it
  appropriately in each call. There were not that many.
  
  I considered forcing the code to lock the contexts before
  the call to remove_extension2(), but that would require
  a slightly greater degree of changes, especially since
  the find_context_locked is local to pbx.c
  
  I did a simple sanity test to make sure the code doesn't
  mess things up in general.
................
  r123166 | jpeeler | 2008-06-16 16:15:12 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Fix some variables that were forgotten to be renamed, related to 117658
................
  r123201 | tilghman | 2008-06-16 16:31:43 -0500 (Mon, 16 Jun 2008) | 2 lines
  
  Oopsie, breakage
................
  r123203 | dbailey | 2008-06-16 16:42:46 -0500 (Mon, 16 Jun 2008) | 8 lines
  
  Clean up code that handles fsk mwi message generation by pulling it from do_monitor and creating its own thread.
  Added RP-AS mwi message generation using patches from meneault as a basis. 
  
  (closes issue #8587)
  Reported by: meneault
  Tested by: meneault
................
  r123238 | jpeeler | 2008-06-16 18:05:18 -0500 (Mon, 16 Jun 2008) | 1 line
  
  Fix some (more) variables that were forgotten to be renamed, related to 117658
................
  r123272 | russell | 2008-06-17 10:52:13 -0500 (Tue, 17 Jun 2008) | 12 lines
  
  Merged revisions 123271 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123271 | russell | 2008-06-17 10:48:31 -0500 (Tue, 17 Jun 2008) | 4 lines
  
  Fix a memory leak in astobj2 that was pointed out by seanbright.  When a container
  got destroyed, the underlying bucket list entry for each object that was in the
  container at that time did not get free'd.
  
  ........
................
  r123275 | mmichelson | 2008-06-17 10:57:43 -0500 (Tue, 17 Jun 2008) | 20 lines
  
  Merged revisions 123274 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123274 | mmichelson | 2008-06-17 10:56:55 -0500 (Tue, 17 Jun 2008) | 12 lines
  
  davidw pointed out that the holdtime calculation used by
  app_queue does not use "boxcar" filtering as the comments
  say. The term "boxcar" means that the number of samples used
  to calculate stays constant, with new samples replacing the
  oldest ones. The queue holdtime calculation uses all holdtime
  samples collected since the queue was loaded, so the comment
  has been changed to be accurate.
  
  (closes issue #12781)
  Reported by: davidw
  
  
  ........
................
  r123334 | mmichelson | 2008-06-17 13:09:54 -0500 (Tue, 17 Jun 2008) | 19 lines
  
  Merged revisions 123333 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123333 | mmichelson | 2008-06-17 13:09:16 -0500 (Tue, 17 Jun 2008) | 11 lines
  
  Cisco BTS sends SIP responses with a tab between the Cseq number and
  SIP request method in the Cseq: header. Asterisk did not handle this
  properly, but with this patch, all is well.
  
  (closes issue #12834)
  Reported by: tobias_e
  Patches:
        12834.patch uploaded by putnopvut (license 60)
  Tested by: tobias_e
  
  
  ........
................
  r123358 | tilghman | 2008-06-17 13:23:01 -0500 (Tue, 17 Jun 2008) | 6 lines
  
  If we don't match registrar when destroying a context, it can cause a crash.
  (closes issue #12835)
   Reported by: ys
   Patches: 
         pbx.c.diff uploaded by ys (license 281)
................
  r123392 | tilghman | 2008-06-17 13:57:45 -0500 (Tue, 17 Jun 2008) | 11 lines
  
  Merged revisions 123391 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123391 | tilghman | 2008-06-17 13:56:53 -0500 (Tue, 17 Jun 2008) | 3 lines
  
  Fix 3 more places where failure to lock the structure could cause the wrong lock to be
  unlocked.  (Closes issue #12795)
  
  ........
................
  r123393 | russell | 2008-06-17 14:00:14 -0500 (Tue, 17 Jun 2008) | 2 lines
  
  Fix the check against the max supported rate
................
  r123446 | murf | 2008-06-17 15:00:36 -0500 (Tue, 17 Jun 2008) | 1 line
  
  This solves a crash in the cdr_tds module on 'stop gracefully', for situations where 'settings' is not set to a pointer
................
  r123448 | murf | 2008-06-17 15:17:20 -0500 (Tue, 17 Jun 2008) | 1 line
  
  Changes to list peers and users in alpha. order, as per a reasonable request in 12494. Due to changes in trunk to use the astobj2 i/f in the sip channel driver, the order of the entries in the config file was lost, thus the output was in a random order, but no longer.
................
  r123456 | mmichelson | 2008-06-17 15:19:49 -0500 (Tue, 17 Jun 2008) | 3 lines
  
  Add the same fix from revision 123271 to container_destruct_debug.
................
  r123486 | mmichelson | 2008-06-17 15:28:47 -0500 (Tue, 17 Jun 2008) | 12 lines
  
  Merged revisions 123485 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123485 | mmichelson | 2008-06-17 15:26:38 -0500 (Tue, 17 Jun 2008) | 4 lines
  
  Make chan_sip build under dev mode with compilers >= GCC 4.2
  Thanks to jpeeler for alerting me of this
  
  
  ........
................
  r123526 | mmichelson | 2008-06-17 16:26:31 -0500 (Tue, 17 Jun 2008) | 13 lines
  
  _ys pointed out in #asterisk-bugs that he was experiencing
  a memory leak when running the astobj2 test CLI command. After
  searching, it appears the leak was in the command handler itself.
  
  Each object was allocated (recount = 1) and then linked into
  a container (refounct = 2). Then at the end of the function, 
  the container was unreffed, causing all the objects to have
  their refcount decremented by one, leaving the refcount for
  all objects allocated in that function at 1. I've now added
  an extra unref to the mix so that the refcount equals zero
  when the container is unreffed.
................
  r123541 | mmichelson | 2008-06-17 16:33:40 -0500 (Tue, 17 Jun 2008) | 3 lines
  
  Put quotes around "test"
................
  r123544 | tilghman | 2008-06-17 16:42:42 -0500 (Tue, 17 Jun 2008) | 7 lines
  
  Add an option, specifying maximum analysis time for talk detection.
  (closes issue #12149)
   Reported by: davevg
   Patches: 
         app_talkdetect.c.diff uploaded by davevg (license 209)
         (Plus a few additional cleanups by moi)
................
  r123546 | bbryant | 2008-06-17 16:46:57 -0500 (Tue, 17 Jun 2008) | 5 lines
  
  Updates all usages of ast_tcptls_session_instance to be managed by reference counts so that they only get destroyed when all threads are done using 
  them, and memory does not get free'd causing strange issues with SIP. 
  
  This code was originally written by russellb in the team/group/issue_11972/ branch.
................
  r123575 | bbryant | 2008-06-17 17:24:45 -0500 (Tue, 17 Jun 2008) | 1 line
  
  Revert a previous regression in astobj2.c from merging a branch.
................
  r123609 | seanbright | 2008-06-17 19:33:31 -0500 (Tue, 17 Jun 2008) | 1 line
  
  Whitespace only
................
  r123648 | tilghman | 2008-06-18 08:09:02 -0500 (Wed, 18 Jun 2008) | 6 lines
  
  Channel lock janitor -- add locks around retrieval of channel variables
  (closes issue #12840)
   Reported by: pputman
   Patches: 
         app_dial_threadsafe3.patch uploaded by pputman (license 81)
................
  r123650 | mmichelson | 2008-06-18 09:54:47 -0500 (Wed, 18 Jun 2008) | 4 lines
  
  Silly pointers. This fixes a memory corruption I introduced
  with the attended transfer logging.
................
  r123652 | mmichelson | 2008-06-18 10:08:56 -0500 (Wed, 18 Jun 2008) | 7 lines
  
  A portion of the code which handled the 'c' queue option had been
  removed. No telling when it happened. Anyway, it's back in now
  and works properly.
  
  (Based on issue reported on mailing list)
................
  r123692 | bbryant | 2008-06-18 15:07:56 -0500 (Wed, 18 Jun 2008) | 2 lines
  
  Fix a crash in tcp and tls connections related to reference counts.
................
  r123715 | tilghman | 2008-06-18 15:23:58 -0500 (Wed, 18 Jun 2008) | 15 lines
  
  Merged revisions 123710 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123710 | tilghman | 2008-06-18 15:22:42 -0500 (Wed, 18 Jun 2008) | 7 lines
  
  Set the variables top-down, so that if a script sets a variable more than once,
  the last one will take precedence.
  (closes issue #12673)
   Reported by: phber
   Patches: 
         20080519__bug12673.diff.txt uploaded by Corydon76 (license 14)
  
  ........
................
  r123770 | tilghman | 2008-06-18 17:17:17 -0500 (Wed, 18 Jun 2008) | 16 lines
  
  Merged revisions 123769 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123769 | tilghman | 2008-06-18 17:08:30 -0500 (Wed, 18 Jun 2008) | 8 lines
  
  Add support for saying numbers in Hebrew.
  (closes issue #11662)
   Reported by: greenfieldtech
   Patches: 
         say.c.patch-12042008 uploaded by greenfieldtech (license 369)
         Hebrew-Sounds.ods uploaded by greenfieldtech
         (with signficant changes to the spreadsheet by me)
  
  ........
................
  r123828 | seanbright | 2008-06-19 09:24:43 -0500 (Thu, 19 Jun 2008) | 7 lines
  
  Include original position in TRANSFER entries written to queue_log.
  
  (closes issue #12888)
  Reported by: slavon
  Patches:
        app_queue_transfer_patch_trunk.diff uploaded by slavon (license 288)
................
  r123830 | seanbright | 2008-06-19 09:28:56 -0500 (Thu, 19 Jun 2008) | 1 line
  
  Update the queuelog.tex documentation as well.
................
  r123865 | tilghman | 2008-06-19 10:52:17 -0500 (Thu, 19 Jun 2008) | 4 lines
  
  Missing comma
  (closes issue #12891)
   Reported by: chris-mac
................
  r123867 | mmichelson | 2008-06-19 10:55:10 -0500 (Thu, 19 Jun 2008) | 9 lines
  
  Forwarding non-urgent IMAP messages could inadvertently cause the messages
  to be marked urgent. This fixes that issue.
  
  (closes issue #12895)
  Reported by: jaroth
  Patches:
        urgent_forwarding.patch uploaded by jaroth (license 50)
................
  r123870 | tilghman | 2008-06-19 11:08:29 -0500 (Thu, 19 Jun 2008) | 14 lines
  
  Merged revisions 123869 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123869 | tilghman | 2008-06-19 11:07:23 -0500 (Thu, 19 Jun 2008) | 6 lines
  
  The RDTSC instruction was introduced on the Pentium line of microprocessors,
  and is not compatible with certain 586 clones, like Cyrix.  Hence, asking for
  i386 compatibility was always incorrect. See http://en.wikipedia.org/wiki/RDTSC
  (Closes issue #12886)
  Reported by tecnoxarxa
  
  ........
................
  r123887 | tilghman | 2008-06-19 11:21:32 -0500 (Thu, 19 Jun 2008) | 12 lines
  
  Merged revisions 123883 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123883 | tilghman | 2008-06-19 11:20:41 -0500 (Thu, 19 Jun 2008) | 4 lines
  
  Correct description of notifyringing option.
  (Closes issue #12890)
  Reported by gminet
  
  ........
................
  r123913 | tilghman | 2008-06-19 11:26:50 -0500 (Thu, 19 Jun 2008) | 13 lines
  
  Merged revisions 123909 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123909 | tilghman | 2008-06-19 11:26:03 -0500 (Thu, 19 Jun 2008) | 5 lines
  
  Only process 40 arguments (20 files) at once with xargs, because some older
  shells may force xargs to separate on an odd boundary.
  (Closes issue #12883)
  Reported by Nik Soggia
  
  ........
................
  r123931 | tilghman | 2008-06-19 12:02:54 -0500 (Thu, 19 Jun 2008) | 13 lines
  
  Merged revisions 123930 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r123930 | tilghman | 2008-06-19 11:58:19 -0500 (Thu, 19 Jun 2008) | 5 lines
  
  Change informative messages to use the _multiple variant when multiple formats
  are possible.
  (Closes issue #12848)
  Reported by klaus3000
  
  ........
................
  r123952 | tilghman | 2008-06-19 12:22:27 -0500 (Thu, 19 Jun 2008) | 6 lines
  
  Don't change pointers that need to be later passed back for deallocation.
  (closes issue #12572)
   Reported by: flyn
   Patches: 
         20080613__bug12572.diff.txt uploaded by Corydon76 (license 14)
................
  r123988 | tilghman | 2008-06-19 12:55:34 -0500 (Thu, 19 Jun 2008) | 3 lines
  
  Detect if the installed gcc version supports the warn_unused_result attribute.
  Reported by mvanbaak via IRC -dev.
................
  r124023 | russell | 2008-06-19 13:30:49 -0500 (Thu, 19 Jun 2008) | 3 lines
  
  - Make res_timing_pthread allow a max rate of 100/sec instead of 50/sec
  - change the "timing test" CLI command to let you specify a timing rate to test
................
  r124024 | bbryant | 2008-06-19 13:57:04 -0500 (Thu, 19 Jun 2008) | 2 lines
  
  Fix bug in sip registration that sets the default port to 5060 for tls.
................
  r124049 | tilghman | 2008-06-19 14:22:59 -0500 (Thu, 19 Jun 2008) | 6 lines
  
  Allow alternative extensions to be specified for a user.
  (closes issue #12830)
   Reported by: jcollie
   Patches: 
         astertisk-trunk-121496-alternate-extensions.patch uploaded by jcollie (license 412)
................
  r124064 | bbryant | 2008-06-19 14:48:26 -0500 (Thu, 19 Jun 2008) | 2 lines
  
  Add errors that report any locks held by threads when they are being closed.
................
  r124102 | tilghman | 2008-06-19 15:25:37 -0500 (Thu, 19 Jun 2008) | 3 lines
  
  Make OpenBSD compile again
  (reported by mvanbaak via IRC -dev)
................
  r124121 | mmichelson | 2008-06-19 15:30:23 -0500 (Thu, 19 Jun 2008) | 16 lines
  
  Merged revisions 124112 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r124112 | mmichelson | 2008-06-19 15:28:41 -0500 (Thu, 19 Jun 2008) | 8 lines
  
  Fix IMAP forwarding so that messages are sent to the proper mailbox.
  
  (closes issue #12897)
  Reported by: jaroth
  Patches:
        destination_forward.patch uploaded by jaroth (license 50)
  
  
  ........
................
  r124125 | tilghman | 2008-06-19 15:35:56 -0500 (Thu, 19 Jun 2008) | 2 lines
  
  Oops
................
  r124127 | mvanbaak | 2008-06-19 15:48:33 -0500 (Thu, 19 Jun 2008) | 10 lines
  
  Older versions of GNU gcc do not allow 'NULL' as sentinel.
  They want (char *)NULL as sentinel.
  An example is OpenBSD (confirmed on 4.3) that ships with gcc 3.3.4
  
  This commit introduces a contstant SENTINEL which is declared as:
  #define SENTINEL ((char *)NULL)
  
  All places I could test compile on my openbsd system are converted.
  Update CODING-GUIDELINES to tell about this constant.
................
  r124180 | mmichelson | 2008-06-19 17:34:03 -0500 (Thu, 19 Jun 2008) | 10 lines
  
  Fix attachment behavior when using IMAP storage for voicemails
  1. Filenames had an extra "msg" in the attachment name
  2. The attachment was being saved twice
  
  (closes issue #12894)
  Reported by: jaroth
  Patches:
        imap_attach.patch uploaded by jaroth (license 50)
................
  r124183 | tilghman | 2008-06-19 17:59:41 -0500 (Thu, 19 Jun 2008) | 15 lines
  
  Merged revisions 124182 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r124182 | tilghman | 2008-06-19 17:53:22 -0500 (Thu, 19 Jun 2008) | 7 lines
  
  It's possible for a hangup to be received, even just after the initial cid
  spill.
  (closes issue #12453)
   Reported by: Alex728
   Patches: 
         20080604__bug12453.diff.txt uploaded by Corydon76 (license 14)
  
  ........
................
  r124243 | mmichelson | 2008-06-20 10:20:11 -0500 (Fri, 20 Jun 2008) | 9 lines
  
  Add a missing "ChannelType" header to one of the "PeerStatus" manager
  events in chan_sip
  
  (closes issue #12904)
  Reported by: eliel
  Patches:
        chan_sip.c.patch uploaded by eliel (license 64)
................
  r124278 | mmichelson | 2008-06-20 11:30:18 -0500 (Fri, 20 Jun 2008) | 6 lines
  
  Change references to doc/channelvariables.txt to
  doc/tex/channelvariables.tex.
  
  This issue came up on the asterisk-dev mailing list.
................
  r124316 | tilghman | 2008-06-20 15:17:04 -0500 (Fri, 20 Jun 2008) | 16 lines
  
  Merged revisions 124315 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r124315 | tilghman | 2008-06-20 15:16:02 -0500 (Fri, 20 Jun 2008) | 8 lines
  
  When using a Local channel, started by a call file, with a destination of an
  AGI script, the AGI script does not always get notified of a hangup if the
  underlying channel hangs up early.
  (closes issue #11833)
   Reported by: IgorG
   Patches: 
         local_hangup-v1.diff uploaded by IgorG (license 20)
  
  ........
................
  r124392 | jeffg | 2008-06-20 16:36:01 -0500 (Fri, 20 Jun 2008) | 9 lines
  
  Merged revisions 124372 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
  r124372 | jeffg | 2008-06-20 17:14:40 -0400 (Fri, 20 Jun 2008) | 1 line
  
  Fix issues in digium-mib.txt and asterisk-mib.txt to placate smilint - bug 12905
  ........

[... 91037 lines stripped ...]



More information about the svn-commits mailing list