[svn-commits] tilghman: branch tilghman/tomcrypt r121593 - in /team/tilghman/tomcrypt: ./ a...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jun 10 11:29:09 CDT 2008


Author: tilghman
Date: Tue Jun 10 11:29:06 2008
New Revision: 121593

URL: http://svn.digium.com/view/asterisk?view=rev&rev=121593
Log:
Merged revisions 89240,89242,89247,89249-89253,89255-89259,89261-89266,89268-89274,89276-89279,89282-89283,89285,89287,89289-89291,89293-89295,89297,89299-89300,89303-89304,89312,89319-89322,89324,89326-89336,89338,89340-89341,89345-89385,89387-89399,89404-89407,89410,89412,89417,89420-89422,89424-89433,89438-89444,89446-89449,89451-89455,89458-89460,89463-89470,89472-89484,89487-89490,89492,89494,89496,89504-89519,89521-89524,89526,89529-89533,89535,89537,89541-89544,89546-89547,89551,89554-89557,89560-89561,89564,89566,89570,89572-89573,89576,89578,89581-89583,89588-89591,89593,89595-89596,89600,89602,89606-89607,89609,89611-89613,89615,89617,89619,89621,89623,89625,89632,89635,89637,89682-89683,89698,89702,89704,89706,89710,89721,89733,89769-89772,89791-89792,89835,89838,89840,89847,89887-89888,89891,89915,89946-89947,89981-89982,90000,90038-90039,90060-90061,90099-90100,90102,90139,90141,90143,90146,90148-90150,90156-90158,90162,90164,90232,90270,90311,90351,90388,90410,9
 0433,90471,90508,90528,90547,90550,90589,90591,90631,90644,90656,90670,90697,90737-90738,90746,90760,90799,90834,90851-90854,90873,90877-90880,90899,90927-90930,90949,90991,90993,91010-91012,91029,91033,91069,91077,91114,91131,91133,91151-91152,91171-91173,91193,91197,91238,91291,91293,91328,91347-91348,91384-91388,91406-91409,91420,91438,91440,91458,91472,91502,91561,91579,91598,91617-91618,91638,91676,91678,91700,91738,91778-91779,91781-91782,91784,91827,91829,91831-91832,91891,91929-91931,91951-91953,91962,91983,92002,92022-92023,92042,92062-92063,92082-92084,92103-92104,92122,92140,92159-92160,92199,92201,92203,92205-92206,92243,92267,92285,92305,92324,92364-92365,92401-92402,92421-92423,92444,92476,92507,92511,92526,92562,92594,92618,92676,92697,92737,92758,92779,92806,92808,92810-92811,92816,92855,92876,92913,92935-92936,92938-92939,92976,92999,93001,93004,93041-93042,93063,93065-93067,93090,93094,93115,93138,93143-93145,93151-93152,93159-93167,93173,93184-93185,93187-
 93188,93190-93191,93211,93224,93252,93293,93297,93335,93337,93378,93380,93390,93405,93424,93464,93493,93514,93536,93557-93559,93580-93582,93603,93626,93666,93672,93741,93765,93804-93805,93827,93854,93875,93897-93899,93925,93950,93952,93956,94002,94029,94052-94053,94085,94123-94124,94168,94191,94252,94257,94319-94320,94345,94370,94396,94419,94463,94465,94467,94477,94516,94539,94541-94542,94544-94549,94551,94593,94615,94637-94638,94662,94713-94714,94736,94741,94764,94766,94768,94770-94774,94782,94787-94788,94791-94792,94794-94796,94798-94799,94802,94805-94806,94809-94810,94813-94814,94817-94823,94825-94827,94830,94832,94877,94902-94904,94908,94934,94978,95025,95068-95070,95073,95096,95139,95167,95192,95233,95262-95264,95288,95313,95383-95384,95410-95412,95443,95490,95501,95527,95550,95578,95624-95625,95648,95671-95673,95697,95723,95735,95746,95771-95772,95794,95816-95817,95839-95841,95864,95888,95891,95893-95894,95937,95939,95944-95945,95947,95994,96018-96019,96021,96023,96025
 ,96028,96071,96073,96076-96077,96079,96103,96147,96174,96221,96245,96270,96272,96301,96332,96368,96395,96397-96398,96450,96499-96500,96547,96574,96576,96621,96645,96692,96715-96717,96743,96776,96836,96858,96862,96885-96888,96933-96936,96987-96988,97041,97103,97125,97153-97154,97193,97196-97200,97203,97208,97248,97280-97282,97303,97305,97307,97309,97364-97365,97389-97390,97421,97449,97451,97488,97490,97495,97530-97533,97577,97620,97623,97634,97641,97643-97644,97646,97650-97653,97655-97657,97698,97745,97758,97767,97769,97804-97805,97825-97826,97846,97848,97850,97890,97933,97974-97975,97977-97978,98024,98026-98027,98047,98081,98083,98124,98152,98193,98218,98220,98267-98270,98308,98316,98318,98334,98400,98424,98432,98434-98436,98454,98487-98488,98514,98536,98558,98581,98604-98605,98628,98656,98676,98695,98714,98735-98736,98738,98773,98775-98776,98811,98830,98850,98888-98889,98895,98935,98944-98945,98947-98948,98952-98954,98956,98959,98961-98962,98965,98967-98969,98971,98974-9897
 5,98978,98981,98983-98990,98992-98994,98998,99002,99006,99008-99009,99011,99015,99017-99018,99026,99080,99082,99085,99128,99166-99167,99188,99227,99232,99248,99265,99280,99302,99350,99382-99384,99406,99424,99427,99464,99482-99483,99521,99542,99559,99595-99596,99642,99644-99647,99653,99696,99700,99719,99758,99776,99778,99818,99839,99860,99879,99920,99922,99924,99976,99979-99980,100021,100039,100057,100076,100093-100095,100112,100121,100139,100169,100206,100224,100245,100265-100266,100305-100307,100325,100344,100361,100379,100419-100422,100488,100497,100514,100532-100533,100549,100565,100582,100625,100627-100628,100630-100632,100671,100674,100676-100679,100741,100767,100794-100795,100833,100843,100900,100928,100931,100933,100935,100974,101018,101036,101081-101082,101126,101153-101154,101196,101217-101218,101220-101221,101223-101224,101267-101269,101271,101296,101322,101344,101373,101393,101416,101449,101481,101483,101532,101576-101578,101580,101611,101650,101694,101739,101745-
 101746,101773,101819,101821,101823-101824,101869,101873,101895,101943,101990,102037,102064,102091,102143,102190,102238,102262,102272,102297,102329,102379,102451-102452,102454,102500-102501,102525,102550,102602,102652,102654,102700,102726,102777,102808,102859,102906,102908,102933,102969,103018,103044,103071,103121-103122,103171,103198,103249,103282-103284,103306,103313-103314,103316-103319,103325,103331,103341,103386-103388,103447,103474,103506,103557,103559,103608,103658,103662,103668,103677,103682,103685,103687,103689,103691,103694,103699-103700,103702,103704-103705,103710-103711,103714-103716,103723,103725,103727,103729,103737-103740,103742,103750,103754-103755,103764-103765,103769,103771-103772,103781,103783,103787-103788,103791,103794,103796,103798-103799,103802,103805,103808,103813,103818-103820,103822,103824,103827-103828,103831-103833,103838,103840,103842,103844,103846-103847,103902-103903,103908,103954-103955,103957,104014,104016,104019-104020,104024-104025,104028-10
 4029,104031,104036,104038-104039,104045,104073-104074,104081,104083,104085,104087-104089,104093,104096-104098,104101,104103,104107,104110,104112,104120,104123-104125,104127,104133,104136-104137,104140,104142,104176,104215,104244-104245,104251,104260,104270,104301,104333,104335,104388,104418-104419,104444,104473,104502,104533-104534,104537,104539,104592,104594-104595,104597,104617,104643,104687,104705,104756,104784,104788,104866,104869,104921,104974,105006,105060-105061,105144,105176,105210,105262-105263,105327,105378,105410-105411,105461,105477,105479,105509,105558,105561,105564,105566,105569,105571,105573-105574,105589-105590,105592-105595,105597,105675,105677,105733-105734,105773,105785,105804,105840-105841,105864,105899,105933,105984,106036,106040,106072,106110,106139,106179,106186,106236,106238-106240,106250,106329,106346,106399,106438-106439,106501,106507,106518,106553,106607,106654,106684,106707,106757,106789,106843,106892,106896,106946,107017,107019,107068,107100,1071
 03,107157,107159,107162,107177,107231,107292,107373,107406,107409,107462,107465-107466,107475,107525,107530,107551,107583,107638,107659,107710,107715,107718-107719,107721-107722,107787,107790-107791,107827,107878,107928,107960,107998,108032,108034,108084,108137,108191,108226,108238,108286,108289,108293,108295,108346,108404,108439,108472,108508,108523,108529,108531,108584,108586,108639,108683,108738,108740,108793,108797,108799,108857,108894,108927,108929,108962,109024,109054,109058,109108,109111,109113,109166,109168-109169,109172,109227,109229,109282,109316,109357,109389-109390,109394,109396,109447,109451,109475,109545,109576,109621,109651,109680-109681,109683,109714,109762,109764,109775,109802,109833,109839,109841-109842,109883,109907,109909-109910,109912,109926,109942,109970,109974,110020,110023,110036,110084,110087,110132,110161,110164,110211,110237,110268,110270,110272,110303,110337,110339,110396,110444,110475,110499,110542,110578,110610,110615,110619,110621,110625,110629
 ,110631,110636,110639,110689,110691,110726,110780,110831,110881,110911,110930,110963,111012-111013,111017,111021-111022,111025,111028,111036,111067,111083,111123,111127,111130,111132,111185,111213,111246,111285,111295,111360,111410,111443,111497,111500,111533,111565,111606,111659,111662,111721,111773-111774,111777,111811,111857,111908-111909,111961,111996,111998,112033,112035,112069,112071,112124,112126,112148,112155,112205,112207,112210,112234,112241,112252,112289,112321,112351,112357,112360,112394,112426,112431,112469,112520,112564,112600,112653,112656,112708,112710,112712,112714,112785,112821,112874,112906,112939,112972,113009,113013,113066,113119,113170,113172,113207,113241,113243,113245,113297,113349,113400,113403,113452,113455,113505,113508,113559,113597,113647,113649,113682,113731,113752,113785,113834,113836,113838,113840,113875,113928,113980,114022,114024,114027,114030,114033,114036,114042,114046,114049,114052,114061,114064,114067,114073,114077,114080,114084-114085,1
 14088,114090,114092-114093,114096,114098,114101,114104,114107,114109,114113,114115,114118,114121,114124,114127,114131,114134,114139,114141,114143,114146,114149-114152,114165,114168,114172,114174-114175,114181-114183,114185,114187-114188,114190,114192,114194,114196,114199,114201-114202,114205,114208,114212,114227,114229,114231,114233,114243,114246,114249,114253-114254,114259,114261,114271,114276,114279,114285,114295,114298,114300,114303,114314,114320,114323,114325,114327,114389,114423,114456,114487,114520,114523,114527,114529,114533,114538,114540,114543,114546,114548,114551,114553,114559,114572,114575,114577,114580,114585,114588,114592,114595,114598,114601,114604,114606,114609,114612,114617,114622,114625,114629,114633,114635,114637,114644,114650-114651,114655-114656,114660,114663,114665,114667,114674,114676,114678,114683,114690,114692,114696,114700,114703,114706,114709,114713,114773,114776,114813,114824,114830,114832,114834,114841,114845,114849,114852,114857,114866,114874,114
 876,114884,114888,114892,114899,114904,114906,114912,114922,114926,114931,114977,115018,115021,115076,115078,115104,115157,115159,115197,115199,115258,115268,115270,115272,115274,115277,115280,115283,115286,115288,115290,115301-115302,115305,115309,115313,115315,115321,115324,115328-115329,115334,115337,115342,115344,115416,115419,115423,115473,115507,115509,115513,115515,115518-115519,115521,115523,115525,115535,115537,115546,115548,115552,115555,115558,115562,115566,115569,115580,115582,115584,115586,115588,115591,115593-115596,115598,115600,115669,115705,115737,115784,115813,115847,115850,115886,115939,115941,115945,116001,116039,116089,116138,116179,116222-116224,116229,116234,116237,116239-116240,116297-116298,116350,116353,116407,116410,116461,116467,116469,116471,116522,116557,116590,116592,116594,116631,116663,116694,116731,116765,116797,116800,116848,116884,116919,116948,116979,117024,117052-117053,117082,117084-117085,117088,117133,117136,117182,117212,117262,11726
 4,117266,117295,117297,117335,117367,117401,117431,117481,117508,117515,117517,117520,117524,117575,117625,117628,117658,117693,117725,117756,117792,117794,117802,117812,117822,117825,117828,117834,117870,117900,117950,117983,117986,117988,118020,118049,118053,118059,118101,118129,118157,118159,118161,118164,118173,118175-118176,118178,118223,118252,118300,118302,118328,118359,118371,118417,118419,118466,118514,118554,118556,118560,118562,118614,118644,118647,118695,118702,118750,118783,118790,118824,118880,118911,118955,118957,118959,118962,119010,119013,119015,119072,119074,119077,119126,119157,119207,119239,119296,119299,119302,119355,119419,119423,119479,119531,119534,119586,119637,119688,119741,119744,119795,119799,119801,119839,119892,119927,119930,119998,120012,120063-120064,120066,120129,120166,120169,120171,120174,120227,120230,120283,120286,120337,120372,120426,120477,120514,120567,120602,120635,120672-120673,120676,120732-120734,120789,120828,120904,120906,120909,
 120960,121010,121042,121079,121131,121163,121197,121230,121279,121282,121284-121286,121334,121365,121367,121401-121403,121407,121439,121441,121444,121496,121501,121503,121555,121559 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r89240 | tilghman | 2007-11-13 08:03:34 -0600 (Tue, 13 Nov 2007) | 12 lines

Merged revisions 89239 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89239 | tilghman | 2007-11-13 07:51:53 -0600 (Tue, 13 Nov 2007) | 4 lines

Debugging is running into the 16-lock limit.  Increase to avoid.
(This define is only effective when debugging is turned on, so there's
no effect for most installations.)

........

................
r89242 | mmichelson | 2007-11-13 10:03:10 -0600 (Tue, 13 Nov 2007) | 13 lines

Merged revisions 89241 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89241 | mmichelson | 2007-11-13 10:02:02 -0600 (Tue, 13 Nov 2007) | 5 lines

Reverting commit made in revision 89205 since it is unnecessary.

Thanks to Kevin for pointing this out


........

................
r89247 | tilghman | 2007-11-13 11:41:02 -0600 (Tue, 13 Nov 2007) | 10 lines

Merged revisions 89246 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89246 | tilghman | 2007-11-13 11:34:11 -0600 (Tue, 13 Nov 2007) | 2 lines

If we set a value for qualify, we should actually pay attention to it, instead of overriding the value

........

................
r89249 | qwell | 2007-11-13 13:48:41 -0600 (Tue, 13 Nov 2007) | 16 lines

Merged revisions 89248 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #11237)
........
r89248 | qwell | 2007-11-13 13:47:45 -0600 (Tue, 13 Nov 2007) | 7 lines

Revert change from revision 67064.
It is documented behavior that if a parking extension already exists while using PARKINGEXTEN,
 dialplan execution will continue.  If blind transferring to a Park with PARKINGEXTEN, you
 must keep this in mind, and handle the failure yourself.

Issue 11237, reported by jon.

........

................
r89250 | russell | 2007-11-13 14:30:13 -0600 (Tue, 13 Nov 2007) | 9 lines

Update the ParkedCall application to grab the first available parked call if no
parked extension is provided as an argument.

(closes issue #10803)
Reported by: outtolunc
Patches: 
      res_features-parkedcall-any.diff4 uploaded by outtolunc (license 237)
	  - modified by me to work a bit differently ...

................
r89251 | russell | 2007-11-13 14:53:49 -0600 (Tue, 13 Nov 2007) | 3 lines

- Convert initialization of a struct to C99 style instead of GNU style
- Fix a minor spelling error in a comment

................
r89252 | russell | 2007-11-13 14:56:32 -0600 (Tue, 13 Nov 2007) | 2 lines

Fix a typo pointed out by outtolunc, thanks :)

................
r89253 | russell | 2007-11-13 15:01:14 -0600 (Tue, 13 Nov 2007) | 3 lines

This fixes a build error on my mac.  It also works on my linux box.  Let me
know if it breaks any other platform ...

................
r89255 | qwell | 2007-11-13 15:08:23 -0600 (Tue, 13 Nov 2007) | 12 lines

Blocked revisions 89254 via svnmerge

(closes issue #11238)
........
r89254 | qwell | 2007-11-13 15:07:08 -0600 (Tue, 13 Nov 2007) | 4 lines

Fix building on newer systems which require a third arg to open() when using O_CREAT.

Issue 11238, reported by puzzled.

........

................
r89256 | murf | 2007-11-13 15:19:11 -0600 (Tue, 13 Nov 2007) | 1 line

closes issue #11233 -- where some fine points in the algorithm to build the tree needed to be corrected. Many thanks for the test case, jtodd
................
r89257 | murf | 2007-11-13 17:43:41 -0600 (Tue, 13 Nov 2007) | 1 line

This hopefully will fix the re-opened 11233. Hadn't covered the case of a context with no patterns. (blush)
................
r89258 | russell | 2007-11-13 18:33:52 -0600 (Tue, 13 Nov 2007) | 4 lines

- Simplify removing an item from a list
- move a verbose message to after the item is added to the list
- make use of the ARRAY_LEN macro in one spot

................
r89259 | kpfleming | 2007-11-13 18:54:38 -0600 (Tue, 13 Nov 2007) | 2 lines

use simpler technique for removing known entries from lists

................
r89261 | russell | 2007-11-13 19:15:26 -0600 (Tue, 13 Nov 2007) | 2 lines

Convert most of the strings in the call_queue struct to use stringfields.

................
r89262 | file | 2007-11-13 19:16:50 -0600 (Tue, 13 Nov 2007) | 12 lines

Merged revisions 89260 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89260 | file | 2007-11-13 21:15:12 -0400 (Tue, 13 Nov 2007) | 4 lines

Return the proper value when the srv_callback function executes properly.
(closes issue #11240)
Reported by: jtodd

........

................
r89263 | russell | 2007-11-13 19:35:28 -0600 (Tue, 13 Nov 2007) | 3 lines

Instead of reserving 800 bytes for periodic announcements, use an array of
ast_str pointers and only alloate space for the strings as needed.

................
r89264 | russell | 2007-11-13 19:40:47 -0600 (Tue, 13 Nov 2007) | 2 lines

Use BEGIN_OPTIONS / END_OPTIONS to make the syntax highlighting in my editor happy

................
r89265 | russell | 2007-11-13 20:57:13 -0600 (Tue, 13 Nov 2007) | 3 lines

- Use the ARRAY_LEN macro in a couple places
- return errors from load_module / unload_module

................
r89266 | russell | 2007-11-13 21:22:09 -0600 (Tue, 13 Nov 2007) | 6 lines

Fix up various coding guidelines issues ...
 - handle memory allocation failures
 - add an ast_ prefix to a publicly exported function
 - put curly braces in the right places
 - add a bunch of spaces where they should be be used

................
r89268 | rizzo | 2007-11-14 07:18:40 -0600 (Wed, 14 Nov 2007) | 18 lines

make the 'name' and 'value' fields in ast_variable const char *
 
This prevents modifying the strings in the stored variables, 
and catched a few instances where this was actually done.

Given the differences between trunk and 1.4 (and the fact that this
is effectively an API change) it is better to fix 1.4 independently.
These are

chan_sip.c::sip_register()
chan_skinny.c:: near line 2847
config.c:: near line 1774
logger.c::make_components()
res_adsi.c:: near line 1049

I may have missed some instances for modules that do not build here.


................
r89269 | tilghman | 2007-11-14 08:46:45 -0600 (Wed, 14 Nov 2007) | 2 lines

Typo

................
r89270 | tilghman | 2007-11-14 09:13:22 -0600 (Wed, 14 Nov 2007) | 2 lines

One more typo in config.c; and missed conversions due to the constifying of ast_variable_new parameters

................
r89271 | murf | 2007-11-14 09:43:30 -0600 (Wed, 14 Nov 2007) | 1 line

A further problem highlighted by 11233 has been resolved; a certain combination of patterns in a certain order, led to a malformed trie, due to a ptr not being initialized in the loop. Also, some tree printing prettifications.
................
r89272 | murf | 2007-11-14 12:05:50 -0600 (Wed, 14 Nov 2007) | 1 line

Rescaled the weights of the patterns to give something more independent of pattern length; and make . less likely to win. Question: which should win for 14102241145-- _1xxxxxxx.   or  _XXXXXXXXXXX  -- right now, the pure X pattern will win.
................
r89273 | tilghman | 2007-11-14 16:59:05 -0600 (Wed, 14 Nov 2007) | 5 lines

Add callerid to the Hangup manager event.
Reported by: outtolunc
Patch by: outtolunc
Closes issue #11248

................
r89274 | tilghman | 2007-11-14 17:08:54 -0600 (Wed, 14 Nov 2007) | 2 lines

Typo

................
r89276 | tilghman | 2007-11-14 18:01:22 -0600 (Wed, 14 Nov 2007) | 13 lines

Merged revisions 89275 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89275 | tilghman | 2007-11-14 17:23:58 -0600 (Wed, 14 Nov 2007) | 5 lines

When a recording ends with '#', we are improperly trimming an extra 200ms from the recording.
Reported by: sim
Patch by: tilghman
Closes issue #11247

........

................
r89277 | murf | 2007-11-14 19:42:12 -0600 (Wed, 14 Nov 2007) | 1 line

Had trouble playing with parking; spent a long time trying to reason out MATCHMORE mode. made these updates and xfers on zaptel lines seem to work ok now
................
r89278 | oej | 2007-11-15 04:21:41 -0600 (Thu, 15 Nov 2007) | 8 lines

Add support for application/dtmf SIP INFO dtmf handling. Yep, another
way of handling DTMF in SIP. Totally undocumented, but implemented
in enough devices so we have to support it. 

Code by sergee, small changes by oej.

Closes issue #11049

................
r89279 | oej | 2007-11-15 04:26:00 -0600 (Thu, 15 Nov 2007) | 2 lines

Exit early instead of deciding to exit after processing the message.

................
r89282 | oej | 2007-11-15 05:27:19 -0600 (Thu, 15 Nov 2007) | 13 lines

Merged revisions 89280 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89280 | oej | 2007-11-15 12:15:09 +0100 (Tor, 15 Nov 2007) | 5 lines

Improve support for multipart messages. Code by gasparz, changes
by me (mostly formatting). Thanks, gasparz!

Closes issue #10947

........

................
r89283 | oej | 2007-11-15 05:31:27 -0600 (Thu, 15 Nov 2007) | 14 lines

Merged revisions 89281 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89281 | oej | 2007-11-15 12:26:22 +0100 (Tor, 15 Nov 2007) | 6 lines

Don't send re-invites during pending INVITE transactions.

Patch by one47 - thanks!

Closes issue #9305

........

................
r89285 | oej | 2007-11-15 06:21:57 -0600 (Thu, 15 Nov 2007) | 5 lines

Always relying on the responses when crossing NAT's are not a good
solution, it breaks communication.
Rizzo - you need to implement a configuration option for this 
code. It's good, but maybe should be off by default.

................
r89287 | mmichelson | 2007-11-15 08:55:35 -0600 (Thu, 15 Nov 2007) | 12 lines

Merged revisions 89286 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89286 | mmichelson | 2007-11-15 08:54:10 -0600 (Thu, 15 Nov 2007) | 4 lines

Adding a missing mutex unlock.

(closes issue 11256, reported and patched by ys)

........

................
r89289 | mmichelson | 2007-11-15 08:58:30 -0600 (Thu, 15 Nov 2007) | 11 lines

Merged revisions 89288 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89288 | mmichelson | 2007-11-15 08:57:28 -0600 (Thu, 15 Nov 2007) | 3 lines

Undoing previous commit since I realize it was wrong


........

................
r89290 | file | 2007-11-15 09:21:04 -0600 (Thu, 15 Nov 2007) | 2 lines

And file said... let trunk build again! Accomplished by some more constification, and marking a function in chan_sip as purposely unused until it is fixed up.

................
r89291 | file | 2007-11-15 09:39:03 -0600 (Thu, 15 Nov 2007) | 2 lines

Fix typo in UPGRADE.txt. 'increase' should have been used, not 'increasing'.

................
r89293 | rizzo | 2007-11-15 10:20:47 -0600 (Thu, 15 Nov 2007) | 11 lines

access channel locks through ast_channel_lock/unlock/trylock and not
through ast_mutex primitives.

To detect all occurrences, I have renamed the lock field in struct ast_channel
so it is clear that it shouldn't be used directly.

There are some uses in res/res_features.c (see details of the diff)
that are error prone as they try and lock two channels without
caring about the order (or without explaining why it is safe).


................
r89294 | murf | 2007-11-15 10:30:13 -0600 (Thu, 15 Nov 2007) | 1 line

Perhaps I went overboard on initializing things. I can remove unnecc. stuff later. A few bug fixes. Killing small bugs on the way to killing bigger ones. Removed locking on hashtabs; there's plenty of locks already being taken. A small bug in the root_tree hashtab compare func.
................
r89295 | murf | 2007-11-15 10:50:16 -0600 (Thu, 15 Nov 2007) | 1 line

Get rid of a previously missed ast_log call for debug, no longer nec.
................
r89297 | russell | 2007-11-15 11:27:27 -0600 (Thu, 15 Nov 2007) | 16 lines

Merged revisions 89296 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89296 | russell | 2007-11-15 11:19:28 -0600 (Thu, 15 Nov 2007) | 8 lines

Update the SLAStation application to account for the case where the SLA thread
has a call out to the station,  but the user has pressed a line button to answer
the call instead of picking up the handset.  If they do, the phone sends out a
new INVITE.  So, the SLAStation app must check to see if it is picking up a
ringing trunk, and ensure that the other stations stop ringing.

(reported internally, patched by me, tested by mogorman)

........

................
r89299 | tilghman | 2007-11-15 12:11:36 -0600 (Thu, 15 Nov 2007) | 13 lines

Merged revisions 89298 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89298 | tilghman | 2007-11-15 12:05:56 -0600 (Thu, 15 Nov 2007) | 5 lines

Yet another memory corruption issue.
Reported by: atis
Patch by: tilghman
Fixes issue #10923

........

................
r89300 | tilghman | 2007-11-15 12:15:48 -0600 (Thu, 15 Nov 2007) | 2 lines

Fix trunk breakage due to chan->lock being renamed.

................
r89303 | tilghman | 2007-11-15 12:39:46 -0600 (Thu, 15 Nov 2007) | 10 lines

Merged revisions 89301 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89301 | tilghman | 2007-11-15 12:23:14 -0600 (Thu, 15 Nov 2007) | 2 lines

Fix an uninitialized memory read found by valgrind

........

................
r89304 | tilghman | 2007-11-15 12:49:31 -0600 (Thu, 15 Nov 2007) | 10 lines

Merged revisions 89302 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89302 | tilghman | 2007-11-15 12:37:38 -0600 (Thu, 15 Nov 2007) | 2 lines

Start Asterisk in Debian at a more reasonable time (since zaptel is at level 20)

........

................
r89312 | tilghman | 2007-11-15 17:50:15 -0600 (Thu, 15 Nov 2007) | 4 lines

If we're going to be passing a negative value for the size of a stringfield,
in order to indicate something, then using an UNSIGNED parameter is bad,
mmmmmkay?

................
r89319 | crichter | 2007-11-16 02:54:04 -0600 (Fri, 16 Nov 2007) | 1 line

fixed compilation of chan_misdn, #11269, thanks IgorG.
................
r89320 | rizzo | 2007-11-16 03:51:41 -0600 (Fri, 16 Nov 2007) | 5 lines

move the inner part of config file parsing to a separate function,
so it can be reused in the implementation of cli commands when
they have a similar syntax.


................
r89321 | crichter | 2007-11-16 04:06:55 -0600 (Fri, 16 Nov 2007) | 1 line

fixed #10631, about one way audio. thanks IgorG again.
................
r89322 | rizzo | 2007-11-16 04:07:24 -0600 (Fri, 16 Nov 2007) | 4 lines

add a small new function to retrieve variables from a config
once we have a pointer to the category.


................
r89324 | mmichelson | 2007-11-16 09:44:27 -0600 (Fri, 16 Nov 2007) | 13 lines

Merged revisions 89323 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89323 | mmichelson | 2007-11-16 09:28:22 -0600 (Fri, 16 Nov 2007) | 5 lines

Make realtime queues accessible from the QUEUE_MEMBER_COUNT function.

(closes issue #11271, reported and patched by atis, with small modifications from me)


........

................
r89326 | kpfleming | 2007-11-16 10:56:59 -0600 (Fri, 16 Nov 2007) | 12 lines

Merged revisions 89325 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r89325 | kpfleming | 2007-11-16 10:47:46 -0600 (Fri, 16 Nov 2007) | 4 lines

To help combat problems where people build external modules (asterisk-addons or others) and then change the build options of the Asterisk build in a way that makes the incompatible without warning, this commit introduces an MD5 signature of the important build-time options and includes that signature into modules when they are built. When the loader loads one of these modules and notices the problem, it will emit a warning to console and refuse to initialize the module, as doing so could cause the system to be unstable or even crash.

If you upgrade to this version of Asterisk, you must rebuild *all* of your modules that came from other sources before trying to run this version. If you are using Digium's G.729 binary codec module, you will need v33 or newer.

........

................
r89327 | mmichelson | 2007-11-16 11:11:43 -0600 (Fri, 16 Nov 2007) | 7 lines

Adding confirmation playback when forwarding voicemail messages. This will attempt
to play the name(s) of the person(s) to whom you are forwarding the message prior to
prompting for prepending. If no name is found, the extension is read back verbatim.

(closes issue #9046, reported and patched by jaroth)


................
r89328 | rizzo | 2007-11-16 12:48:15 -0600 (Fri, 16 Nov 2007) | 10 lines

both md5sum and variable substitutions such as ${BUILDSUM:0:8}
are not available in FreeBSD.
For the time being, put in a workaround so we can build the system,
and wait for the result of the discussion on whether we can store
the md5 as a string rather than 4 ints (if so, we won't need more
complex tricks with awk or sed for splitting the md5).

1.4 will be fixed when we decide the issue.


................
r89329 | murf | 2007-11-16 12:59:02 -0600 (Fri, 16 Nov 2007) | 1 line

This fixes a problem with pattern ranges; and corrects a situation in res_features, where an extension would be created with the name Zap/51, as an example. THe / is bad because it would tend to mean that the 51 is to be cid matched.
................
r89330 | murf | 2007-11-16 13:26:54 -0600 (Fri, 16 Nov 2007) | 1 line

This corrects a hashtab removal, given a bad argument
................
r89331 | mmichelson | 2007-11-16 13:41:15 -0600 (Fri, 16 Nov 2007) | 6 lines

Added some locks that should have been around astman_send_error,
at least according to the comments.

(closes issue #11258, reported and patched by eliel)


................
r89332 | mmichelson | 2007-11-16 13:51:47 -0600 (Fri, 16 Nov 2007) | 3 lines

Fixing a problem pointed out by Qwell


................
r89333 | rizzo | 2007-11-16 14:04:58 -0600 (Fri, 16 Nov 2007) | 21 lines

Start untangling header inclusion in a way that does not affect
build times - tested, there is no measureable difference before and
after this commit.

In this change:

use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h

Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.

Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better. 

For the time being I have left alone second-level directories
(main/db1-ast, etc.).


................
r89334 | rizzo | 2007-11-16 14:15:21 -0600 (Fri, 16 Nov 2007) | 3 lines

put back default optimization to -O6 (previously changed by mistake)


................
r89335 | rizzo | 2007-11-16 14:28:19 -0600 (Fri, 16 Nov 2007) | 4 lines

remove duplicate headers.
Properly check for netdb.h (there is actually tens of places to fix)


................
r89336 | rizzo | 2007-11-16 15:08:28 -0600 (Fri, 16 Nov 2007) | 4 lines

remove redundant #include "asterisk/compat.h",
but make sure that asterisk/compiler.h is included everywhere


................
r89338 | rizzo | 2007-11-16 15:23:50 -0600 (Fri, 16 Nov 2007) | 3 lines

logger.h does not need options.h


................
r89340 | russell | 2007-11-16 16:33:24 -0600 (Fri, 16 Nov 2007) | 12 lines

Blocked revisions 89339 via svnmerge

........
r89339 | russell | 2007-11-16 16:26:44 -0600 (Fri, 16 Nov 2007) | 5 lines

Temporarily revert revision 89325, which added md5 magic for keeping track of
what build options were used.  We agreed that we should remove this before
making a 1.4 release, and then we can put it back in.  Then, we can take a
month or so to play around with it to get it how we want it.

........

................
r89341 | rizzo | 2007-11-16 16:37:17 -0600 (Fri, 16 Nov 2007) | 9 lines

whitespace only change - adjust indentation and add some
comments on the content of these two files.

utils.h (which is included in over 150 files) contains a lot of
unrelated functions which require the inclusion of a large number
of other headers.  At some point we should partition its content
in a better way.


................
r89345 | rizzo | 2007-11-16 17:28:28 -0600 (Fri, 16 Nov 2007) | 4 lines

paths are already in include/asterisk/paths.h so don't duplicate
them in include/asterisk.h


................
r89346 | murf | 2007-11-16 17:33:32 -0600 (Fri, 16 Nov 2007) | 1 line

My goodness, haven't handled an extension deletion. Add code to ast_context_remove_extension2() to remove an extension from the trie. Done by marking it deleted. The scoreboard won't update for it any more. Also, a couple of calls to insert hashtab had a spurious ->exten, which was removed.
................
r89347 | twilson | 2007-11-16 17:44:14 -0600 (Fri, 16 Nov 2007) | 2 lines

Fix broken parking dial-back

................
r89348 | rizzo | 2007-11-16 17:54:45 -0600 (Fri, 16 Nov 2007) | 6 lines

remove a bunch of duplicate includes
Reproduce with

grep -r #include . | grep -v .svn | grep -v Binary | sort | uniq -c | sort -nr 


................
r89349 | rizzo | 2007-11-16 18:02:33 -0600 (Fri, 16 Nov 2007) | 3 lines

more removal of duplicate #include lines


................
r89350 | rizzo | 2007-11-16 18:31:32 -0600 (Fri, 16 Nov 2007) | 3 lines

add check for the presence of glob


................
r89351 | rizzo | 2007-11-16 19:49:26 -0600 (Fri, 16 Nov 2007) | 6 lines

acinclude.m4: add a function to help checking sdl-config, gtk-config
	and the like (this could be used for gtk and gtk2 as well)
Other files: add tests for sdl, sdl_image and avcodec and regenerate
	configure and autoconfig.h.in


................
r89352 | rizzo | 2007-11-16 20:50:52 -0600 (Fri, 16 Nov 2007) | 2 lines

compatibility fix for mingw32

................
r89353 | rizzo | 2007-11-16 20:54:23 -0600 (Fri, 16 Nov 2007) | 2 lines

this script is run on the build system, not on the host.

................
r89354 | rizzo | 2007-11-16 20:57:40 -0600 (Fri, 16 Nov 2007) | 3 lines

use autoconf to check for the existence of sys/poll.h


................
r89355 | rizzo | 2007-11-16 21:07:06 -0600 (Fri, 16 Nov 2007) | 2 lines

use poll as detected by configure

................
r89356 | rizzo | 2007-11-16 21:28:31 -0600 (Fri, 16 Nov 2007) | 3 lines

provide definitions for __LITTLE_ENDIAN and __BIG_ENDIAN if not present.


................
r89357 | rizzo | 2007-11-16 22:17:53 -0600 (Fri, 16 Nov 2007) | 3 lines

add detection for timersub() and winsock.h/winsock2.h


................
r89358 | rizzo | 2007-11-16 22:19:02 -0600 (Fri, 16 Nov 2007) | 3 lines

linker flags for mingw32


................
r89359 | russell | 2007-11-17 00:07:57 -0600 (Sat, 17 Nov 2007) | 4 lines

Use the fix suggested by Tilghman on the -dev to make cutting up the BUILDSUM
friendly to non-bash shells.  I think this should work for BSD/mingw as well,
but did not yet remove the switch statement.

................
r89360 | russell | 2007-11-17 00:09:42 -0600 (Sat, 17 Nov 2007) | 2 lines

actually let this compile, oops :(

................
r89361 | russell | 2007-11-17 00:33:07 -0600 (Sat, 17 Nov 2007) | 5 lines

Update the configure script check for sys/poll.h to also provide the result in
include/asterisk/autoconfig.h.  Also, move the conditional include of sys/poll.h
or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it
existed in before.

................
r89362 | russell | 2007-11-17 00:34:10 -0600 (Sat, 17 Nov 2007) | 1 line

fix the build of pbx_lua
................
r89363 | rizzo | 2007-11-17 03:30:22 -0600 (Sat, 17 Nov 2007) | 4 lines

timersub is a macro not a function, so write the check in a way
that detects both formats.


................
r89364 | rizzo | 2007-11-17 03:37:12 -0600 (Sat, 17 Nov 2007) | 4 lines

Loader for cygwin where asterisk is really a big dll
(something like this is already in 1.2)


................
r89365 | rizzo | 2007-11-17 03:44:14 -0600 (Sat, 17 Nov 2007) | 4 lines

netdb.h is used for gethostbyname, and it was not included in some
platforms.


................
r89366 | rizzo | 2007-11-17 03:48:45 -0600 (Sat, 17 Nov 2007) | 5 lines

filter out modules that do not compile under windows
(this should be handled with the dependencies generated by
configure and menuselect, but will be fixed later)


................
r89367 | rizzo | 2007-11-17 03:51:45 -0600 (Sat, 17 Nov 2007) | 6 lines

define RTLD_LOCAL for platforms that don't have it.
This is only to complete the build, clearly the linker
behaviour will be completely different and likely to
cause trouble in those cases.


................
r89368 | rizzo | 2007-11-17 03:54:54 -0600 (Sat, 17 Nov 2007) | 7 lines

add a return NULL to a function that is expected to return a value
so compilers that don't understand that this code is NOTREACHED
will not complain (the fault is not much on the compiler but on the
declaration of pthread_exit on certain platforms)
s/certain platform/cygwin/ if you are really curious


................
r89369 | rizzo | 2007-11-17 04:12:43 -0600 (Sat, 17 Nov 2007) | 2 lines

these linker flags apply to both cygwin and mingw32

................
r89370 | rizzo | 2007-11-17 04:26:21 -0600 (Sat, 17 Nov 2007) | 4 lines

some version of flex produce code that wants __STDC_VERSION__
defined, but the compiler does not always define it.


................
r89371 | rizzo | 2007-11-17 04:28:55 -0600 (Sat, 17 Nov 2007) | 3 lines

compatibility fixes for cygwin


................
r89372 | rizzo | 2007-11-17 04:32:56 -0600 (Sat, 17 Nov 2007) | 2 lines

use autoconf results to conditionally compile timersub

................
r89373 | rizzo | 2007-11-17 04:54:52 -0600 (Sat, 17 Nov 2007) | 3 lines

more cygwin/mingw32 compatibility fixes


................
r89374 | rizzo | 2007-11-17 05:08:58 -0600 (Sat, 17 Nov 2007) | 5 lines

another cygwin compatibility fix.
This one must be handled in a better way in configure, also for other
architectures


................
r89375 | rizzo | 2007-11-17 05:10:16 -0600 (Sat, 17 Nov 2007) | 4 lines

and this is the last one to have asterisk compile (not run yet)
natively under cygwin.


................
r89376 | rizzo | 2007-11-17 05:57:52 -0600 (Sat, 17 Nov 2007) | 3 lines

support cygwin targets


................
r89377 | rizzo | 2007-11-17 06:33:15 -0600 (Sat, 17 Nov 2007) | 3 lines

conditional targets for building the windows version


................
r89378 | rizzo | 2007-11-17 06:44:22 -0600 (Sat, 17 Nov 2007) | 3 lines

main is called main not amain!


................
r89379 | rizzo | 2007-11-17 08:00:24 -0600 (Sat, 17 Nov 2007) | 4 lines

wrapper for all generic network headers that have different names
and locations on the various systems.


................
r89380 | rizzo | 2007-11-17 08:11:53 -0600 (Sat, 17 Nov 2007) | 4 lines

start using asterisk/network.h for network related headers.
Also remove some unnecessary includes.


................
r89381 | rizzo | 2007-11-17 08:44:03 -0600 (Sat, 17 Nov 2007) | 3 lines

wrong variable, wrong order -> broken build.


................
r89382 | rizzo | 2007-11-17 08:45:46 -0600 (Sat, 17 Nov 2007) | 2 lines

fix breakage induced by previous mistake

................
r89383 | rizzo | 2007-11-17 08:47:33 -0600 (Sat, 17 Nov 2007) | 2 lines

remove unnecessary includes

................
r89384 | rizzo | 2007-11-17 10:18:53 -0600 (Sat, 17 Nov 2007) | 3 lines

trim more redundant headers


................
r89385 | rizzo | 2007-11-17 10:32:18 -0600 (Sat, 17 Nov 2007) | 3 lines

prefer socket.h over other variants (winsock etc.)


................

[... 194777 lines stripped ...]



More information about the svn-commits mailing list