[asterisk-commits] tilghman: branch phsultan/gmail-voice-video r213969 - in /team/phsultan/gmail...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Aug 25 01:20:00 CDT 2009
Author: tilghman
Date: Tue Aug 25 01:19:29 2009
New Revision: 213969
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=213969
Log:
Merged revisions 186058,186060,186078,186101,186175,186230,186286,186297,186321,186379,186382,186444,186447,186461,186525,186537,186563,186566,186620,186624,186653,186687,186720,186799,186833,186837,186842,186899,186928,186953,186957,186985,187036,187046,187050,187105,187108,187138,187179,187210-187211,187269,187302,187360-187361,187363,187381,187421,187424,187426,187483,187488,187491,187556,187560,187599,187634-187636,187673-187675,187680,187714,187721,187764,187770,187772-187773,187830,187866,187906,187963,188032,188067,188102,188150,188206,188210,188247,188283-188284,188342,188378,188413,188470,188515,188544,188585,188647,188705,188742,188774,188836,188901,188938,188942,188947,189010,189077,189097,189137,189204,189278,189350,189419,189464,189495,189516,189538-189539,189629,189665,189735,189771,189813,189850,189911,189951,189992-189993,190000,190057,190093,190154,190217,190250,190287,190349,190352,190357,190421,190423,190454,190457,190484,190516-190517,190545,190577,190586,190622,190626,190663,190725-190726,190735,190797,190830,190861,190865,190904,190946-190947,190989,190991,190993,191028,191116,191136,191140,191175,191177,191211,191213,191219,191221,191283,191300,191332,191367,191411,191418-191419,191423,191489,191494,191560,191630,191700,191739,191775,191781,191785,191848,191884,191919,191955,191997,192032,192059,192096,192132,192171,192214,192279,192318,192357,192362,192387,192427,192430,192462,192525,192590,192634,192700,192736,192772,192808,192853,192861,192933,192938,193006,193077,193120,193194,193263,193274,193349,193387,193459,193461,193502,193545,193614,193678,193718,193756-193757,193832,193870,193886,193954,193956,194057,194060,194101,194138,194209,194283,194357,194430,194434,194477,194479,194496,194520,194610,194635,194649,194714,194718,194722,194765,194833,194874,194945,194982,195021,195075,195089,195096,195162,195165,195207,195210,195266,195279,195316,195320,195365,195367-195370,195449,195521,195589,195636,195698,195763,195798,195839,195882,195949,195992,195995,196072,196114,196117,196187-196188,196227,196246,196268,196270,196272,196308,196344,196377,196381,196416-196417,196456,196488,196520,196554,196585,196622,196658,196721,196725,196758,196792,196843,196893,196907,196945-196946,196948,196988,197025,197089,197125,197189,197209,197260,197265-197266,197335,197338,197374,197406,197409,197431,197467,197528,197535,197538,197543,197570,197606,197616,197621,197697,197701,197738,197740,197775,197777,197824,197828,197861,197926,197959-197960,197996,198000,198064,198072,198083,198088,198139,198146,198182-198183,198186,198217,198248,198285,198312,198371,198375,198434,198437-198438,198442,198470,198498,198500,198511,198529-198530,198558,198561,198565,198597,198626,198661,198666,198670,198725,198727,198729,198762,198791,198824,198856,198892,198954,198958,199051,199091,199139,199227,199298,199368,199370,199372,199374,199376,199409,199411,199413,199446,199479,199514,199547,199588,199630,199696,199743,199781,199818,199857,199923,199957-199958,200000,200038-200039,200108,200146,200190,200254,200290,200326,200361,200428,200430,200477,200514,200519,200584,200587,200620,200656,200689,200726,200762,200764,200799,200805,200841,200878,200942-200943,200946,200985,201056,201090,201135,201137,201139,201190,201223,201262,201331,201344,201381,201445,201453,201458,201462,201531,201534,201570,201583,201610,201678,201717,201745,201783,201829,201902,201904,201944,201994,202026,202039,202109,202183,202223,202258,202262,202301,202337,202343,202410,202415,202417,202497,202570,202574,202603,202672,202753,202755,202761,202804,202840-202841,202887,202889,202925,202967,203037,203116,203126,203188,203227,203231,203258,203304,203338,203376,203381,203402,203443-203444,203479,203508,203525,203534,203569,203605,203638,203640,203672,203699,203702,203710,203720-203721,203735,203779,203783,203802,203842,203846,203853,203909,203960,203962,203985,204013,204069,204118-204119,204143,204171,204217,204247,204301,204355,204413,204415,204417-204420,204422-204423,204428,204440,204470,204475,204530,204532,204561,204563,204622,204654,204710,204749,204807,204835,204893,204919,204948,204986,205014,205047,205086,205118,205120,205150-205151,205196,205214,205216,205221,205254,205291,205350,205410,205412,205469,205479,205532,205562,205600,205666,205696,205700,205770,205776,205780,205840,205878,205939,205985,206021,206049,206092,206094,206127,206185,206225,206280,206341,206386,206455,206489-206490,206566-206567,206603,206636,206702,206707,206767-206768,206808,206868,206873,206877,206939,206998,207029,207034,207093,207095,207156,207224-207225,207255,207285,207317-207318,207361,207424,207484,207522,207551,207599,207680,207723,207854,207902,207925,207934,207946,207950,208017-208018,208052,208113,208151,208155,208193,208229,208263,208267,208314,208383,208388,208464,208504,208542,208548,208588,208593,208630,208693,208706,208709,208749,208813,208848,208886,208924,208991,209056,209098,209132,209197,209235,209256,209279,209317,209331,209400,209453,209484,209516,209554,209619,209623,209673-209674,209711,209760-209761,209835,209839,209887,209958-209959,209993,210027,210068,210094,210154,210190,210238,210302,210353-210354,210387,210436,210478,210522,210564,210640,210696,210732,210777,210817,210866,210869,210908,210914,210992,211040,211113,211191,211197,211232,211275,211347,211390,211392,211435,211475,211539,211584,211675,211732,211767,211809,211876,211908,211947,211957,212027,212067,212113,212161,212199,212249,212287,212291,212339,212343,212390,212431,212463,212506,212574,212581,212627,212672,212758,212764,212844,212857,212883,212922,212939,213007,213046,213093,213098,213113,213179,213216,213248,213284,213327,213340,213404,213414,213450,213454,213494,213560,213632,213635,213697,213716,213738,213748,213790,213833,213900,213904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r186058 | tilghman | 2009-04-02 12:04:40 -0500 (Thu, 02 Apr 2009) | 8 lines
Blocked revisions 186057 via svnmerge
........
r186057 | tilghman | 2009-04-02 12:03:59 -0500 (Thu, 02 Apr 2009) | 2 lines
Avoid multiple warning messages in SIP, due to this column not existing
........
................
r186060 | tilghman | 2009-04-02 12:10:28 -0500 (Thu, 02 Apr 2009) | 16 lines
Merged revisions 186059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r186059 | tilghman | 2009-04-02 12:09:13 -0500 (Thu, 02 Apr 2009) | 9 lines
Merged revisions 186056 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r186056 | tilghman | 2009-04-02 12:02:18 -0500 (Thu, 02 Apr 2009) | 2 lines
Fix for AST-2009-003
........
................
................
r186078 | file | 2009-04-02 12:20:52 -0500 (Thu, 02 Apr 2009) | 10 lines
Merge in the RTP engine API.
This API provides a generic way for multiple RTP stacks to be
integrated into Asterisk. Right now there is only one present, res_rtp_asterisk,
which is the existing Asterisk RTP stack. Functionality wise this commit
performs the same as previously. API documentation can be viewed in the
rtp_engine.h header file.
Review: http://reviewboard.digium.com/r/209/
................
r186101 | kpfleming | 2009-04-02 12:26:07 -0500 (Thu, 02 Apr 2009) | 9 lines
Merged revisions 186081 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186081 | kpfleming | 2009-04-02 12:21:29 -0500 (Thu, 02 Apr 2009) | 3 lines
ensure that the buffer passed to DAHDI_SET_BUFINFO is fully initialized
........
................
r186175 | mmichelson | 2009-04-02 16:56:21 -0500 (Thu, 02 Apr 2009) | 11 lines
Merged revisions 186174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186174 | mmichelson | 2009-04-02 16:55:34 -0500 (Thu, 02 Apr 2009) | 5 lines
Fix instructions in one-step parking comment to make more sense.
Changed a capital K to a lowercase k.
........
................
r186230 | russell | 2009-04-02 21:03:48 -0500 (Thu, 02 Apr 2009) | 29 lines
Merged revisions 186229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186229 | russell | 2009-04-02 20:57:44 -0500 (Thu, 02 Apr 2009) | 21 lines
Fix a memory leak in cdr_radius.
I came across this while doing some testing of my ast_channel_ao2 branch.
After running a test overnight that generated over 5 million calls, Asterisk
had taken up about 1 GB of my system memory. So, I re-ran the test with
MALLOC_DEBUG turned on. However, it showed no leaks in Asterisk during the
test, even though Asterisk was still consuming it somehow.
Instead, I turned to valgrind, which when run with --leak-check=full, told
me exactly where the leak came from, which was from allocations inside the
radiusclient-ng library. This explains why MALLOC_DEBUG did not report it.
After a bit of analysis, I found that we were leaking a little bit of memory
every time a CDR record was passed to cdr_radius.
I don't actually have a radius server set up to receive CDR records. However,
I always have my development systems compile and install all modules. In
addition to making sure there are not build errors across modules, always
loading modules helps find bugs like this, too, so it is strongly recommend for
all developers.
........
................
r186286 | mmichelson | 2009-04-03 09:32:05 -0500 (Fri, 03 Apr 2009) | 20 lines
Fix the ability to retrieve voicemail messages from IMAP.
A recent change made interactive vm_states no longer get
added to the list of vm_states and instead get stored in
thread-local storage.
In trunk and all the 1.6.X branches, the problem is that
when we search for messages in a voicemail box, we would
attempt to update the appropriate vm_state struct by directly
searching in the list of vm_states instead of using the
get_vm_state_by_imap_user function. This meant we could not
find the interactive vm_state that we wanted.
(closes issue #14685)
Reported by: BlargMaN
Patches:
14685.patch uploaded by mmichelson (license 60)
Tested by: BlargMaN, qualleyiv, mmichelson
................
r186297 | tilghman | 2009-04-03 10:18:28 -0500 (Fri, 03 Apr 2009) | 4 lines
Compatibility fix for glibc 2.4
(Closes issue #14820)
Reported by: phsultan
................
r186321 | file | 2009-04-03 10:52:50 -0500 (Fri, 03 Apr 2009) | 12 lines
Merged revisions 186320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186320 | file | 2009-04-03 12:48:56 -0300 (Fri, 03 Apr 2009) | 5 lines
Fix a problem with the crypto variable definitions not actually being defined properly.
(closes issue #14804)
Reported by: jvandal
........
................
r186379 | dvossel | 2009-04-03 11:29:47 -0500 (Fri, 03 Apr 2009) | 6 lines
audio_audiohook_write_list() did not correctly update sample size after ast_translate.
audio_audiohook_write_list() did not take into account that the sample size may change after translation depending on if the original frame is is 8khz or 16khz. the sample size is now updated after translating to reflect this possibility. This caused the audio on the receiving end to sound terrible. Thanks to jcolp and mmichelson for helping me work this out.
(issue AST-197)
................
r186382 | file | 2009-04-03 11:47:27 -0500 (Fri, 03 Apr 2009) | 11 lines
Add better support for relaying success or failure of the ast_transfer() API call.
This API call now waits for a special frame from the underlying channel driver to
indicate success or failure. This allows the return value to truly convey whether
the transfer worked or not. In the case of the Transfer() dialplan application this
means the value of the TRANSFERSTATUS dialplan variable is actually true.
(closes issue #12713)
Reported by: davidw
Tested by: file
................
r186444 | tilghman | 2009-04-03 14:30:34 -0500 (Fri, 03 Apr 2009) | 14 lines
Merged revisions 186415 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186415 | tilghman | 2009-04-03 14:06:58 -0500 (Fri, 03 Apr 2009) | 7 lines
Distinguish in a sent email between simple sends and forwards.
(closes issue #11678)
Reported by: jamessan
Patches:
20090330__bug11678.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman, lmadsen
........
................
r186447 | tilghman | 2009-04-03 14:59:55 -0500 (Fri, 03 Apr 2009) | 9 lines
Merged revisions 186445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186445 | tilghman | 2009-04-03 14:56:48 -0500 (Fri, 03 Apr 2009) | 2 lines
Found a conflict in the last commit, due to multiple targets
........
................
r186461 | kpfleming | 2009-04-03 15:20:01 -0500 (Fri, 03 Apr 2009) | 11 lines
Merged revisions 186458 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186458 | kpfleming | 2009-04-03 15:19:20 -0500 (Fri, 03 Apr 2009) | 5 lines
Fix a bug where DAHDI/Zaptel channels would not properly switch formats when requested
Don't offer AST_FORMAT_SLINEAR on DAHDI/Zaptel channels... while it could provide a slight performance benefit, the translation core in Asterisk has some flaws when a channel driver offers multiple raw formats. this fix is much simpler than fixing the translation core to solve that issue (although that will be done later).
........
................
r186525 | mmichelson | 2009-04-03 17:41:46 -0500 (Fri, 03 Apr 2009) | 22 lines
This commit introduces COLP/CONP and Redirecting party information into Asterisk.
The channel drivers which have been most heavily tested with these enhancements are
chan_sip and chan_misdn. Further work is being done to add Q.SIG support and will be
introduced in a later commit. chan_skinny has code added to it here, but according
to user pj, the support on chan_skinny is not working as of now. This will be fixed in
a later commit.
A special thanks goes out to bugtracker user gareth for getting the ball rolling and
providing the initial support for this work. Without his initial work on this, this would
not have been nearly as painless as it was.
This functionality has been tested by Digium's product quality department, as well as a
customer site running thousands of calls every day. In addition, many many many many bugtracker
users have tested this, too.
(closes issue #8824)
Reported by: gareth
Review: http://reviewboard.digium.com/r/201
................
r186537 | rmudgett | 2009-04-03 19:13:50 -0500 (Fri, 03 Apr 2009) | 1 line
Remove merged branch properties accidentally merged to trunk.
................
r186563 | file | 2009-04-06 08:23:12 -0500 (Mon, 06 Apr 2009) | 8 lines
Pass the correct value to sizeof when copying address information.
(issue #14827)
Reported by: pj
Patches:
14827.diff uploaded by file (license 11)
Tested by: pj
................
r186566 | mmichelson | 2009-04-06 08:57:39 -0500 (Mon, 06 Apr 2009) | 8 lines
Blocked revisions 186565 via svnmerge
........
r186565 | mmichelson | 2009-04-06 08:54:41 -0500 (Mon, 06 Apr 2009) | 3 lines
Revert commit 186445 because it causes the build to fail when IMAP_STORAGE is used.
........
................
r186620 | mmichelson | 2009-04-06 11:06:25 -0500 (Mon, 06 Apr 2009) | 3 lines
Silly svn. These files didn't get merged over in the merge of the issue8824 branch.
................
r186624 | file | 2009-04-06 11:15:30 -0500 (Mon, 06 Apr 2009) | 13 lines
Add support for changing the outbound codec on a SIP call using
a dialplan variable.
This adds a dialplan variable (SIP_CODEC_OUTBOUND) which controls
the codec offered for an outgoing SIP call. This is much like the
SIP_CODEC dialplan variable and has the same restrictions. The codec
set must be one that is configured for the call.
(closes issue #13243)
Reported by: samdell3
Patches:
13243.diff uploaded by file (license 11)
................
r186653 | file | 2009-04-06 12:03:07 -0500 (Mon, 06 Apr 2009) | 2 lines
Fix problem when authenticating a non-RTP dialog.
................
r186687 | file | 2009-04-06 18:11:13 -0500 (Mon, 06 Apr 2009) | 2 lines
Fix a log message getting output when it should not have been.
................
r186720 | mmichelson | 2009-04-07 15:46:18 -0500 (Tue, 07 Apr 2009) | 12 lines
Merged revisions 186719 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186719 | mmichelson | 2009-04-07 15:43:49 -0500 (Tue, 07 Apr 2009) | 6 lines
Ensure that \r\n is printed after the ActionID in an OriginateResponse.
(closes issue #14847)
Reported by: kobaz
........
................
r186799 | tilghman | 2009-04-07 17:23:46 -0500 (Tue, 07 Apr 2009) | 10 lines
Merged revisions 186775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186775 | tilghman | 2009-04-07 17:16:50 -0500 (Tue, 07 Apr 2009) | 3 lines
Fix Macro documentation to match current (and intended) behavior.
(See -dev mailing list)
........
................
r186833 | mmichelson | 2009-04-07 18:50:56 -0500 (Tue, 07 Apr 2009) | 15 lines
Merged revisions 186832 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186832 | mmichelson | 2009-04-07 18:49:49 -0500 (Tue, 07 Apr 2009) | 8 lines
Set the AST_FEATURE_WARNING_ACTIVE flag when a p2p bridge returns AST_BRIDGE_RETRY.
Without this flag set, warning sounds will not be properly played to either party
of the bridge.
(closes issue #14845)
Reported by: adomjan
........
................
r186837 | mmichelson | 2009-04-07 19:01:49 -0500 (Tue, 07 Apr 2009) | 7 lines
Fix bad merge from fix for issue 13867.
(closes issue #14686)
Reported by: davidw
................
r186842 | mmichelson | 2009-04-07 19:09:28 -0500 (Tue, 07 Apr 2009) | 14 lines
Merged revisions 186841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186841 | mmichelson | 2009-04-07 19:09:04 -0500 (Tue, 07 Apr 2009) | 8 lines
Fix a few typos of the word "frequency."
(closes issue #14842)
Reported by: jvandal
Patches:
frequency-typo.diff uploaded by jvandal (license 413)
........
................
r186899 | tilghman | 2009-04-08 00:06:22 -0500 (Wed, 08 Apr 2009) | 2 lines
Add lastms to the require API call.
................
r186928 | russell | 2009-04-08 07:35:57 -0500 (Wed, 08 Apr 2009) | 13 lines
Update some comments and resolve potential memory corruption in chan_sip.
While browsing chan_sip the other day, I noticed this dangerous code in
dialog_needdestroy(). This function is an ao2_callback. It is absolutely
_not_ okay to unlock the container from within this function. It's also not
clear why it was useful. Given that it could cause memory corruption, I have
removed it.
There was also a TODO comment left describing a potential implementation of
an improvement to the needdestroy handling. I'm not convinced that what was
described is the best choice here, so I have briefly described the way that
this function is used today that could be improved.
................
r186953 | russell | 2009-04-08 08:24:48 -0500 (Wed, 08 Apr 2009) | 7 lines
Start splitting up miscellaneous doxygen documentation into separate files.
doxyref.h was created to hold miscellaneous documentation that was not specific
to a part of the code. This file has grown quite a bit so I decided to start
splitting parts of it out into new files. Now, you can drop a new file into
include/asterisk/doxygen/ and it will be processed by doxygen.
................
r186957 | russell | 2009-04-08 08:38:27 -0500 (Wed, 08 Apr 2009) | 2 lines
Add some additional notes on release numbering.
................
r186985 | mmichelson | 2009-04-08 10:27:41 -0500 (Wed, 08 Apr 2009) | 30 lines
Merged revisions 186984 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r186984 | mmichelson | 2009-04-08 10:26:46 -0500 (Wed, 08 Apr 2009) | 24 lines
Make a couple of changes with regards to a new message printed in ast_read().
"ast_read() called with no recorded file descriptor" is a new message added
after a bug was discovered. Unfortunately, it seems there are a bunch of places
that potentially make such calls to ast_read() and trigger this error message
to be displayed. This commit does two things to help to make this message appear
less.
First, the message has been downgraded to a debug level message if dev mode is
not enabled. The message means a lot more to developers than it does to end users,
and so developers should take an effort to be sure to call ast_read only when
a channel is ready to be read from. However, since this doesn't actually cause an
error in operation and is not something a user can easily fix, we should not spam
their console with these messages.
Second, the message has been moved to after the check for any pending masquerades.
ast_read() being called with no recorded file descriptor should not interfere with
a masquerade taking place.
This could be seen as a simple way of resolving issue #14723. However, I still want
to try to clear out the existing ways of triggering this message, since I feel that
would be a better resolution for the issue.
........
................
r187036 | file | 2009-04-08 11:27:36 -0500 (Wed, 08 Apr 2009) | 2 lines
Turn a warning message into a debug message and do not treat two situations as errors when they are not.
................
r187046 | mmichelson | 2009-04-08 11:52:20 -0500 (Wed, 08 Apr 2009) | 16 lines
Merged revisions 187045 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187045 | mmichelson | 2009-04-08 11:52:03 -0500 (Wed, 08 Apr 2009) | 10 lines
Fix a small logical error when loading moh classes.
We were unconditionally incrementing the number of mohclasses
registered. However, we should actually only increment if the
call to moh_register was successful.
While this probably has never caused problems, I noticed it
and decided to fix it anyway.
........
................
r187050 | tilghman | 2009-04-08 12:08:43 -0500 (Wed, 08 Apr 2009) | 7 lines
If the first column is empty, output a delimiter anyway.
(closes issue #14848)
Reported by: john8675309
Patches:
20090408__bug14848.diff.txt uploaded by tilghman (license 14)
Tested by: john8675309
................
r187105 | russell | 2009-04-08 12:51:35 -0500 (Wed, 08 Apr 2009) | 2 lines
Remove duplicate prototype for temp_peer().
................
r187108 | file | 2009-04-08 13:12:28 -0500 (Wed, 08 Apr 2009) | 2 lines
Fix a bug where we would native bridge when we did not want to.
................
r187138 | mmichelson | 2009-04-08 14:18:10 -0500 (Wed, 08 Apr 2009) | 13 lines
Blocked revisions 187135 via svnmerge
........
r187135 | mmichelson | 2009-04-08 14:16:49 -0500 (Wed, 08 Apr 2009) | 8 lines
Fix a crash due to too few arguments to RetryDial.
(closes issue #14852)
Reported by: junky
Patches:
retry_fix.diff uploaded by junky (license 177)
........
................
r187179 | russell | 2009-04-08 14:59:21 -0500 (Wed, 08 Apr 2009) | 2 lines
Add documentation for reviewboard usage and guidelines.
................
r187210 | tilghman | 2009-04-08 15:39:55 -0500 (Wed, 08 Apr 2009) | 11 lines
Recorded merge of revisions 187209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187209 | tilghman | 2009-04-08 15:39:13 -0500 (Wed, 08 Apr 2009) | 4 lines
Backport resolution for file descriptor leak in 1.6.0 to 1.4.
This fixes short reads in http manager sessions, such as those done by the
ast-gui branch. (Fixes AST-198)
........
................
r187211 | jpeeler | 2009-04-08 16:00:39 -0500 (Wed, 08 Apr 2009) | 20 lines
Add timer for features so that backup bridge config can go away
The biggest change done here was elimination of the backup_config for use with
features. Previously, the bridging code upon detecting a feature would set the
start time of the bridge to the start time of the feature. Then after the
feature had either expired or timed out the start time would be reset to the
true bridge start time from the backup_config. Now, the time differences are
calculated with respect to the newly added feature_start_time timeval instead.
There should be no behavior changes from the previous functionality aside from
the bridge timing being unaffected by either valid or partial feature matches.
Previously the timing would be increased by the length of time configured for
featuredigittimeout, which was probably never noticed.
(closes issue #14503)
Reported by: KNK
Tested by: jpeeler
Review: http://reviewboard.digium.com/r/179/
................
r187269 | kpfleming | 2009-04-08 21:44:27 -0500 (Wed, 08 Apr 2009) | 5 lines
add a dedicated log channel for modules to be able report security-related events, so that they can be fed into external processes for analysis and possible mitigation efforts
(inspired by this evening's Toronto Asterisk Users Group meeting and previous dicussions amongst various community members)
................
r187302 | tilghman | 2009-04-08 23:59:05 -0500 (Wed, 08 Apr 2009) | 14 lines
Merged revisions 187300-187301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187300 | tilghman | 2009-04-08 23:31:38 -0500 (Wed, 08 Apr 2009) | 3 lines
Add debugging mode for diagnosing file descriptor leaks.
(Related to issue #14625)
........
r187301 | tilghman | 2009-04-08 23:32:40 -0500 (Wed, 08 Apr 2009) | 2 lines
Oops, missed this file in the last commit.
........
................
r187360 | file | 2009-04-09 11:19:35 -0500 (Thu, 09 Apr 2009) | 6 lines
Add support for allowing the channel driver to handle transcoding.
This was accomplished using a set of options and the setoption channel callback.
The core calls into the channel driver using these options and the channel driver
either returns success or failure.
................
r187361 | file | 2009-04-09 11:27:53 -0500 (Thu, 09 Apr 2009) | 2 lines
Do not try to send the format read/format write/make compatible options over IAX2.
................
r187363 | tilghman | 2009-04-09 11:39:43 -0500 (Thu, 09 Apr 2009) | 10 lines
Merged revisions 187362 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187362 | tilghman | 2009-04-09 11:38:37 -0500 (Thu, 09 Apr 2009) | 3 lines
Permit zero-length text messages in SIP.
(Related to an issue posted to the -users list, subject "AEL2, BASE64_DECODE and hexadecimal")
........
................
r187381 | tilghman | 2009-04-09 12:20:49 -0500 (Thu, 09 Apr 2009) | 4 lines
Allow '/' in username portion of register; this is a regression.
(closes issue #14668)
Reported by: Netview
................
r187421 | mmichelson | 2009-04-09 12:30:39 -0500 (Thu, 09 Apr 2009) | 21 lines
Fix a crash in res_musiconhold when using cached realtime moh.
The moh_register function links an mohclass and then immediately
unrefs the class since the container now has a reference. The problem
with using realtime music on hold is that the class is allocated,
registered, and started in one fell swoop. The refcounting logic
resulted in the count being off by one. The same problem did not
happen when using a static config because the allocation and registration
of an mohclass is a separate operation from starting moh. This also did
not affect non-cached realtime moh because the classes are not registered
at all.
I also have modified res_musiconhold to use the _t_ variants of the ao2_
functions so that more info can be gleaned when attempting to trace the
refcounts. I found this to be incredibly helpful for debugging this issue
and there's no good reason to remove it.
(closes issue #14661)
Reported by: sum
................
r187424 | mmichelson | 2009-04-09 12:34:39 -0500 (Thu, 09 Apr 2009) | 3 lines
Use safe macro practices even though they really aren't necessary.
................
r187426 | dvossel | 2009-04-09 12:39:10 -0500 (Thu, 09 Apr 2009) | 5 lines
Fixes deadlock caused by calling get_cid_name with chan locked.
get_cid_name should not be called with a channel lock. get_cid_name calls ast_get_hint which eventually calls pbx_find_extension. pbx_find_extension starts and stops autoservice which should not be done with a channel lock, so get_cid_name should not be called with one.
................
r187483 | tilghman | 2009-04-09 13:40:01 -0500 (Thu, 09 Apr 2009) | 15 lines
Merged revisions 187428 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187428 | tilghman | 2009-04-09 13:08:20 -0500 (Thu, 09 Apr 2009) | 8 lines
Race condition between ast_cli_command() and 'module unload' could cause a deadlock.
Add lock timeouts to avoid this potential deadlock.
(closes issue #14705)
Reported by: jamessan
Patches:
20090320__bug14705.diff.txt uploaded by tilghman (license 14)
Tested by: jamessan
........
................
r187488 | mmichelson | 2009-04-09 13:58:41 -0500 (Thu, 09 Apr 2009) | 24 lines
Merged revisions 187484 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187484 | mmichelson | 2009-04-09 13:51:20 -0500 (Thu, 09 Apr 2009) | 18 lines
Handle a SIP race condition (reinvite before an ACK) properly.
RFC 5047 explains the proper course of action to take if a
reINVITE is received before the ACK from a previous invite
transaction. What we are to do is to treat the reINVITE as
if it were both an ACK and a reINVITE and process it normally.
Later, when we receive the ACK we had been expecting, we will
ignore it since its CSeq is less than the current iseqno of
the sip_pvt representing this dialog.
(closes issue #13849)
Reported by: klaus3000
Patches:
13849_v2.patch uploaded by mmichelson (license 60)
Tested by: mmichelson, klaus3000
........
................
r187491 | jpeeler | 2009-04-09 14:10:02 -0500 (Thu, 09 Apr 2009) | 15 lines
Add ability for dialplan execution to continue when caller hangs up.
The F option to app_dial has been modified to accept no parameters and perform
the above functionality. I don't see anywhere else that is doing function
overloading, but this really is the best place for this operation because:
- It makes it close to the 'g' option in the argument list which provides
similar functionality.
- The existing code to support the current F option provides a very
convienient location to add this new feature.
(closes issue #12381)
Reported by: michael-fig
................
r187556 | dvossel | 2009-04-09 15:40:34 -0500 (Thu, 09 Apr 2009) | 3 lines
More changes concerning r187426. Revised where locks are placed.
................
r187560 | mmichelson | 2009-04-09 16:06:26 -0500 (Thu, 09 Apr 2009) | 11 lines
Add a new option, mwi_from, to sip.conf.
This allows for you to change the From header for outgoing MWI
NOTIFY requests. Prior to this, the best you could do was to
set a callerid in the general section of sip.conf. The problem
was that this was used for all outbound requests, not just
MWI NOTIFY requests.
AST-201
................
r187599 | tilghman | 2009-04-09 22:55:27 -0500 (Thu, 09 Apr 2009) | 2 lines
Modify headers and macros, according to Russell's suggestions on the -dev list
................
r187634 | rmudgett | 2009-04-10 09:50:42 -0500 (Fri, 10 Apr 2009) | 1 line
Make chan_misdn_log() avoid generating the log message if logging is disabled.
................
r187635 | rmudgett | 2009-04-10 09:53:59 -0500 (Fri, 10 Apr 2009) | 7 lines
Miscellaneous minor changes to chan_misdn.
* Miscellaneous spacing and comment changes.
* Minor code rearangements.
* Miscellaneous doxygen comments.
................
r187636 | kpfleming | 2009-04-10 10:11:16 -0500 (Fri, 10 Apr 2009) | 3 lines
revert addition of LOG_SECURITY log channel; after further discussion, a much better solution will be used
................
r187673 | dvossel | 2009-04-10 10:49:16 -0500 (Fri, 10 Apr 2009) | 2 lines
Even more changes concerning r187426. Revised where locks are placed yet once again. ast_call() should not be called with a channel locked. could cause deadlock issues with local channels.
................
r187674 | tilghman | 2009-04-10 10:59:40 -0500 (Fri, 10 Apr 2009) | 4 lines
Ensure pvt is not NULL before dereferencing it.
(closes issue #14784)
Reported by: pj
................
r187675 | russell | 2009-04-10 11:00:29 -0500 (Fri, 10 Apr 2009) | 2 lines
Disable test modules by default.
................
r187680 | mmichelson | 2009-04-10 11:06:22 -0500 (Fri, 10 Apr 2009) | 5 lines
Don't let ast_channel_alloc fail if explicitly passed NULL cid_name or cid_number.
This also fixes a small memory leak.
................
r187714 | mmichelson | 2009-04-10 11:26:48 -0500 (Fri, 10 Apr 2009) | 3 lines
ast_strdup failures aren't really failures if the original value was NULL.
................
r187721 | kpfleming | 2009-04-10 11:51:44 -0500 (Fri, 10 Apr 2009) | 5 lines
clean up some patterns for files to remove
add embedding support for bridge and test modules
................
r187764 | tilghman | 2009-04-10 12:29:34 -0500 (Fri, 10 Apr 2009) | 9 lines
Merged revisions 187763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r187763 | tilghman | 2009-04-10 12:28:46 -0500 (Fri, 10 Apr 2009) | 2 lines
Add lastms column to the contributed table designs
........
................
r187770 | mmichelson | 2009-04-10 12:32:25 -0500 (Fri, 10 Apr 2009) | 4 lines
Make sure tc is unlocked before calling ast_call since calling a Local
channel could result in a deadlock.
................
r187772 | file | 2009-04-10 13:02:44 -0500 (Fri, 10 Apr 2009) | 2 lines
Fix some uninitialized memory notices that appeared under valgrind.
................
r187773 | file | 2009-04-10 13:14:47 -0500 (Fri, 10 Apr 2009) | 4 lines
Change how we set the local and remote address.
The code will now only change the address and port. It will not overwrite any other values.
................
r187830 | mmichelson | 2009-04-10 13:56:52 -0500 (Fri, 10 Apr 2009) | 3 lines
Indicating connected line or redirecting updates were missing a call to lock the local_pvt.
................
r187866 | russell | 2009-04-10 14:27:23 -0500 (Fri, 10 Apr 2009) | 11 lines
Blocked revisions 187865 via svnmerge
........
r187865 | russell | 2009-04-10 14:26:40 -0500 (Fri, 10 Apr 2009) | 4 lines
Support "signaling" in addition to "signalling".
The sample configuration file has references to both spellings.
........
................
r187906 | jpeeler | 2009-04-10 15:26:46 -0500 (Fri, 10 Apr 2009) | 12 lines
Fix module embedding for chan_h323.
Include libchanh323.a in the modules.link file so that all the symbols can be
resolved at link time.
(closes issue #11966)
Reported by: dome
Patches:
issue_11966.patch uploaded by kpfleming (license 421)
Tested by: jpeeler
................
r187963 | jpeeler | 2009-04-10 17:16:38 -0500 (Fri, 10 Apr 2009) | 14 lines
Blocked revisions 187962 via svnmerge
........
r187962 | jpeeler | 2009-04-10 17:16:13 -0500 (Fri, 10 Apr 2009) | 9 lines
Fix module embedding for chan_h323.
Include libchanh323.a in the modules.link file so that all the symbols can be
resolved at link time.
(closes issue #11966)
Reported by: dome
........
................
r188032 | mmichelson | 2009-04-13 09:17:56 -0500 (Mon, 13 Apr 2009) | 6 lines
Set all queue variables on both the caller and member channels.
This allows for the variables to be accessed if a member macro is run.
Thanks to Grigoriy Puzankin for bringing this up on the -dev list.
................
r188067 | file | 2009-04-13 11:28:06 -0500 (Mon, 13 Apr 2009) | 10 lines
Fix a bug where using an outbound proxy would cause the local address to be 127.0.0.1.
Copy the outbound proxy IP address into the SIP dialog structure as the IP address we will
be sending to. This has to be done because the logic that determines what local IP address to use
in the SIP messages is not aware of an outbound proxy being in place. It only knows what IP address
we are sending to.
(closes issue #12006)
Reported by: mnicholson
................
r188102 | mmichelson | 2009-04-13 14:31:48 -0500 (Mon, 13 Apr 2009) | 5 lines
Fix another crash related to cached realtime music on hold.
This was another off-by-one problem caused by moh_register.
................
r188150 | tilghman | 2009-04-13 18:05:53 -0500 (Mon, 13 Apr 2009) | 10 lines
Blocked revisions 188149 via svnmerge
........
r188149 | tilghman | 2009-04-13 18:04:15 -0500 (Mon, 13 Apr 2009) | 4 lines
If fileconfig limit exceeds our maximum, then set the limit to the maximum.
(Closes issue #14888)
Reported by: falves11
........
................
r188206 | tilghman | 2009-04-14 00:27:53 -0500 (Tue, 14 Apr 2009) | 6 lines
Application delimiter is ',', not '|'.
(closes issue #14881)
Reported by: stegro
Patches:
smsq.patch uploaded by stegro (license 752)
................
r188210 | tilghman | 2009-04-14 00:45:13 -0500 (Tue, 14 Apr 2009) | 2 lines
As suggested by Russell, warn users when their dialplan arguments contain pipes, but not commas.
................
r188247 | file | 2009-04-14 08:14:21 -0500 (Tue, 14 Apr 2009) | 6 lines
Fix a bug with the change I made yesterday to outbound proxy support.
Per discussion with oej on IRC we need the actual IP address, not the
outbound proxy IP address, in the sa field. This change matches the already
existing code for all other uses of the outbound proxy setting.
................
r188283 | oej | 2009-04-14 09:20:10 -0500 (Tue, 14 Apr 2009) | 4 lines
Making sure we have references to external libraries.
Note: Update h.323 with the recent changes too
................
r188284 | oej | 2009-04-14 09:22:39 -0500 (Tue, 14 Apr 2009) | 2 lines
New actions should go under "New Actions", not "new events"
................
r188342 | jpeeler | 2009-04-14 10:54:16 -0500 (Tue, 14 Apr 2009) | 33 lines
Add service maintenance message support
This is the companion commit to libpri r732. Service messages are now supported
for switch types 4ess/5ess. A new option service_message_support has been added
to chan_dahdi.conf and is noted in the sample config file. The service message
[... 122639 lines stripped ...]
More information about the asterisk-commits
mailing list