aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-02-19Merged revisions 247915 via svnmerge from dvossel1-21/+19
https://origsvn.digium.com/svn/asterisk/trunk ........ r247915 | dvossel | 2010-02-19 11:40:26 -0600 (Fri, 19 Feb 2010) | 7 lines handle_request_invite revise comment, fix coding guideline issues I'm working with this code right now trying to analyze a deadlock. This change is just to clean up a few things before I make a more complex patch. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247916 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247841 via svnmerge from tilghman1-1/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r247841 | tilghman | 2010-02-18 17:13:46 -0600 (Thu, 18 Feb 2010) | 7 lines Revert an errant part of a previous cleanup, to fix a memory corruption issue. (closes issue #16368) Reported by: thirionjwf Patches: res_speech.c.patch uploaded by thirionjwf (license 955) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247845 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247787 via svnmerge from tilghman1-1/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r247787 | tilghman | 2010-02-18 15:42:53 -0600 (Thu, 18 Feb 2010) | 17 lines If the peer record is from realtime, it could be set to 0, due to MySQL not representing NULL well in integer columns. NULL means the value is not specified for the column, which normally means the driver uses whatever is the default value. However, on MySQL, placing a NULL in either a float or integer column results in a retrieval of the 0 value. Hence, users get an errant error on load. This patch suppresses that error and makes the value as if it was not there. Note that this cannot be done in the realtime driver, because the lack of difference between NULL and 0 can only be intepreted correctly by the driver itself. If we did it in the realtime driver, then it would be effectively impossible to set any realtime field to 0, because it would act as if the field were unspecified and possibly take on a different value. (closes issue #16683) Reported by: wdoekes ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247792 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247770 via svnmerge from dvossel1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r247770 | dvossel | 2010-02-18 15:23:48 -0600 (Thu, 18 Feb 2010) | 9 lines fixes confbridge crash when no timing module is loaded. (closes issue #16471) Reported by: kjotte Patches: M16471.diff uploaded by junky (license 177) Tested by: kjotte, junky ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247776 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247736 via svnmerge from dvossel1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r247736 | dvossel | 2010-02-18 14:58:41 -0600 (Thu, 18 Feb 2010) | 7 lines fixes Queue with C option crash (closes issue #16475) Reported by: okrief Patches: queue_crash.diff uploaded by dvossel (license 671) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247737 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247652 via svnmerge from mnicholson1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r247652 | mnicholson | 2010-02-18 13:39:37 -0600 (Thu, 18 Feb 2010) | 13 lines Merged revisions 247651 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r247651 | mnicholson | 2010-02-18 13:38:09 -0600 (Thu, 18 Feb 2010) | 6 lines Copy the calling party's account code to the called party if they don't already have one. (closes issue #16331) Reported by: bluefox Tested by: mnicholson ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247653 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247509 via svnmerge from lmadsen1-0/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r247509 | lmadsen | 2010-02-18 11:54:43 -0500 (Thu, 18 Feb 2010) | 9 lines Merged revisions 247508 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r247508 | lmadsen | 2010-02-18 11:53:44 -0500 (Thu, 18 Feb 2010) | 1 line Add additional link to best practices document per jsmith. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247512 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247503 via svnmerge from lmadsen1-0/+292
https://origsvn.digium.com/svn/asterisk/trunk ................ r247503 | lmadsen | 2010-02-18 11:41:04 -0500 (Thu, 18 Feb 2010) | 18 lines Merged revisions 247502 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r247502 | lmadsen | 2010-02-18 11:38:17 -0500 (Thu, 18 Feb 2010) | 10 lines Add best practices documentation. (issue #16808) Reported by: lmadsen (issue #16810) Reported by: Nick_Lewis Tested by: lmadsen Review: https://reviewboard.asterisk.org/r/507/ ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247506 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-18Merged revisions 247423 via svnmerge from russell2-2/+3
https://origsvn.digium.com/svn/asterisk/trunk ................ r247423 | russell | 2010-02-17 22:20:11 -0600 (Wed, 17 Feb 2010) | 17 lines Merged revisions 247422 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r247422 | russell | 2010-02-17 22:19:01 -0600 (Wed, 17 Feb 2010) | 10 lines Tweak argument handling for wget in the sounds Makefile. 1) Fix the check to see if we are using wget to not be full of fail. The configure script populates this variable with the absolute path to wget if it is found, so it didn't work. 2) Allow some extra arguments to be passed in for wget. This is just a simple change to allow our Bamboo build script to tell wget to be quiet and not fill up our logs with download status output. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247426 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-17Merged revisions 247335 via svnmerge from mmichelson2-15/+15
https://origsvn.digium.com/svn/asterisk/trunk ........ r247335 | mmichelson | 2010-02-17 15:22:40 -0600 (Wed, 17 Feb 2010) | 20 lines Fix two problems in ast_str functions found while writing a unit test. 1. The documentation for ast_str_set and ast_str_append state that the max_len parameter may be -1 in order to limit the size of the ast_str to its current allocated size. The problem was that the max_len parameter in all cases was a size_t, which is unsigned. Thus a -1 was interpreted as UINT_MAX instead of -1. Changing the max_len parameter to be ssize_t fixed this issue. 2. Once issue 1 was fixed, there was an off-by-one error in the case where we attempted to write a string larger than the current allotted size to a string when -1 was passed as the max_len parameter. When trying to write more than the allotted size, the ast_str's __AST_STR_USED was set to 1 higher than it should have been. Thanks to Tilghman for quickly spotting the offending line of code. Oh, and the unit test that I referenced in the top line of this commit will be added to reviewboard shortly. Sit tight... ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247337 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-17Blocked revisions 247282 via svnmergedvossel0-0/+0
........ r247282 | dvossel | 2010-02-17 13:23:35 -0600 (Wed, 17 Feb 2010) | 2 lines modified device2extension_test's category ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247285 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-17Blocked revisions 247262 via svnmergedvossel0-0/+0
........ r247262 | dvossel | 2010-02-17 13:18:44 -0600 (Wed, 17 Feb 2010) | 4 lines unit test for combined device state mapping and device to exten state mapping Review: https://reviewboard.asterisk.org/r/516/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247265 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-17Blocked revisions 247248 via svnmergedvossel0-0/+0
........ r247248 | dvossel | 2010-02-17 12:29:48 -0600 (Wed, 17 Feb 2010) | 16 lines addition of dynamic parkinglots feature This feature allows for parkinglots to be created dynamically within the dialplan. Thanks to all who were involved with getting this patch written and tested! (closes issue #15135) Reported by: IgorG Patches: features.dynamic_park.v3.diff uploaded by IgorG (license 20) 2009090400_dynamicpark.diff.txt uploaded by mvanbaak (license 7) dynamic_parkinglot.diff uploaded by dvossel (license 671) Tested by: eliel, IgorG, acunningham, mvanbaak, zktech Review: https://reviewboard.asterisk.org/r/352/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247249 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-17Merged revisions 247169 via svnmerge from mmichelson1-3/+5
https://origsvn.digium.com/svn/asterisk/trunk ................ r247169 | mmichelson | 2010-02-17 10:24:54 -0600 (Wed, 17 Feb 2010) | 9 lines Merged revisions 247168 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r247168 | mmichelson | 2010-02-17 10:24:17 -0600 (Wed, 17 Feb 2010) | 3 lines Make sure that when autofill is disabled that callers not in the front of the queue cannot place calls. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247172 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16Merged revisions 247076 via svnmerge from mmichelson1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r247076 | mmichelson | 2010-02-16 17:44:33 -0600 (Tue, 16 Feb 2010) | 12 lines Add va_end calls to __ast_str_helper. According to the man page for stdarg(3), "Each invocation of va_copy() must be matched by a corresponding invocation of va_end() in the same function." There were several cases in __ast_str_helper where va_copy was not matched with a corresponding call to va_end. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@247079 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16Merged revisions 246985 via svnmerge from mmichelson1-2/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r246985 | mmichelson | 2010-02-16 15:15:38 -0600 (Tue, 16 Feb 2010) | 3 lines Add some clarifying documentation to the ast_str_set and ast_str_append functions. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246989 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16Merged revisions 246980 via svnmerge from dvossel1-0/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r246980 | dvossel | 2010-02-16 14:54:48 -0600 (Tue, 16 Feb 2010) | 8 lines warning message if openssl support is missing while attempting tls connection (closes issue #16673) Reported by: michaesc Patches: tls_error_msg.diff uploaded by dvossel (license 671) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246982 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16fixes merge error with Monitor calculation fixdvossel1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246901 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-16Merged revisions 246899 via svnmerge from dvossel1-8/+31
https://origsvn.digium.com/svn/asterisk/trunk ........ r246899 | dvossel | 2010-02-16 11:07:41 -0600 (Tue, 16 Feb 2010) | 16 lines fixes sample rate conversion issue with Monitor application When using ast_seekstream with the read/write streams of a monitor, the number of samples we are seeking must be of the same rate as the stream or the jump calculation will be incorrect. This patch adds logic to correctly convert the number of samples to jump to the sample rate the read/write stream is using. For example, if the call is G722 (16khz) and the read/write stream is recording a 8khz wav, seeking 320 samples of 16khz audio is not the same as seeking 320 samples of 8khz audio when performing the ast_seekstream on the stream. ABE-2044 ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246900 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-15Merged revisions 246710 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r246710 | tilghman | 2010-02-15 17:43:28 -0600 (Mon, 15 Feb 2010) | 12 lines Merged revisions 246709 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r246709 | tilghman | 2010-02-15 17:42:33 -0600 (Mon, 15 Feb 2010) | 5 lines Make the menuselect instructions correct by allowing 'make menuselect' to actually solve dependency problems. (Previously, it would fail out again with the same message about running 'make menuselect', which was NOT at all helpful.) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246713 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-15Blocked revisions 246627 via svnmergedvossel0-0/+0
........ r246627 | dvossel | 2010-02-15 09:45:02 -0600 (Mon, 15 Feb 2010) | 22 lines chan_sip parse code refactoring plus two new unit tests Code Refactoring Changes - read_to_parts() moved to reqresp_parser.c and has been renamed as get_name_and_number() - get_in_brackets() moved to reqresp_parser.c - find_closing_quotes() added to sip_utils.h Logic Changes - get_name_and_number() now uses parse_uri() and get_calleridname() for parsing. Before this change only names within quotes were found, when names not within quotes are possible. New Unit Tests -sip_get_name_and_number_test -sip_get_in_brackets_test (closes issue #16707) Reported by: Nick_Lewis Patches: issue16706.diff uploaded by dvossel (license 671) Review: https://reviewboard.asterisk.org/r/499/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246628 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-12Merged revisions 246546 via svnmerge from dvossel1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r246546 | dvossel | 2010-02-12 17:32:33 -0600 (Fri, 12 Feb 2010) | 21 lines Merged revisions 246545 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r246545 | dvossel | 2010-02-12 17:30:17 -0600 (Fri, 12 Feb 2010) | 16 lines lock channel during datastore removal On channel destruction the channel's datastores are removed and destroyed. Since there are public API calls to find and remove datastores on a channel, a lock should be held whenever datastores are removed and destroyed. This resolves a crash caused by a race condition in app_chanspy.c. (closes issue #16678) Reported by: tim_ringenbach Patches: datastore_destroy_race.diff uploaded by tim ringenbach (license 540) Tested by: dvossel ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246547 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-12Fix some silly formatting that made my head hurt.qwell1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246464 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-12Blocked revisions 246420 via svnmergedvossel0-0/+0
........ r246420 | dvossel | 2010-02-12 11:59:39 -0600 (Fri, 12 Feb 2010) | 12 lines fixes areas where port should be removed from domain during parsing A patch was committed recently that converted duplicate uri parsing code to use the parse_uri function. There were two instances where this conversion did not mimic previous behavior exactly because the port was not being parsed off the end of the domain. In order to do this, a dummy pointer argument needs to be passed into parse_uri so it will know it must parse out the port from the domain. If a port output paramenter is not present, the domain is returned with the port still attached. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246421 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-11Blocked revisions 246338 via svnmergedvossel0-0/+0
........ r246338 | dvossel | 2010-02-11 15:57:37 -0600 (Thu, 11 Feb 2010) | 2 lines fixes some test description formatting inconsistencies so log file looks nice ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246339 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-11Blocked revisions 246299 via svnmergedvossel0-0/+0
........ r246299 | dvossel | 2010-02-11 12:42:25 -0600 (Thu, 11 Feb 2010) | 7 lines astobj2 unit test and bug fix A bug was discovered during the creation of the astobj2 unit test. When OBJ_MULTIPLE | OBJ_UNLINK is used, the objects being returned had a ref count issue. This patch resolves that. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246300 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Blocked revisions 246249 via svnmergedvossel0-0/+0
........ r246249 | dvossel | 2010-02-10 17:13:49 -0600 (Wed, 10 Feb 2010) | 2 lines additional parse_uri test and documentation ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246250 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 246204 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r246204 | tilghman | 2010-02-10 15:24:10 -0600 (Wed, 10 Feb 2010) | 2 lines Fussy compiler on another machine... ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246207 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 246200 via svnmerge from tilghman1-6/+7
https://origsvn.digium.com/svn/asterisk/trunk ........ r246200 | tilghman | 2010-02-10 15:19:35 -0600 (Wed, 10 Feb 2010) | 2 lines Fix weird issue with unit tests on optimized build - turned out to be a signing issue. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246203 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 246030 via svnmerge from tilghman4-13/+103
https://origsvn.digium.com/svn/asterisk/trunk ........ r246030 | tilghman | 2010-02-10 10:01:28 -0600 (Wed, 10 Feb 2010) | 12 lines Solaris doesn't like outputting a NULL to a %s in format strings. Detect all platforms that don't like that, either, and ensure that when documentation is missing, we pass a non-NULL pointer when outputting the corresponding documentation. (closes issue #16689) Reported by: bklang Patches: 20100209__issue16689__with_tests.diff.txt uploaded by tilghman (license 14) Review: https://reviewboard.asterisk.org/r/497/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246199 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 246116 via svnmerge from dvossel1-6/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r246116 | dvossel | 2010-02-10 11:49:34 -0600 (Wed, 10 Feb 2010) | 14 lines Merged revisions 246115 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r246115 | dvossel | 2010-02-10 11:44:20 -0600 (Wed, 10 Feb 2010) | 8 lines fixes random deadlock in app_queue with use_weight during reload (closes issue #16677) Reported by: tim_ringenbach Patches: app_queue_use_weight_deadlock.diff uploaded by tim ringenbach (license 540) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246117 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 246070 via svnmerge from jpeeler1-0/+36
https://origsvn.digium.com/svn/asterisk/trunk ........ r246070 | jpeeler | 2010-02-10 10:47:37 -0600 (Wed, 10 Feb 2010) | 22 lines Change channel state on local channels for busy,answer,ring. Previously local channels channel state never changed. This became problematic when the state of the other side of the local channel was lost, for example during a masquerade. Changing the state of the local channel allows for the scenario to be detected when the channel state is set to ringing, but the peer isn't ringing. The specific problem scenario is described in 164201. Although this was noted on one of the issues, here is the tested dialplan verified to work: exten => 9700,1,Dial(Local/*9700@default&Local/0009700@default) exten => *9700,1,Set(GLOBAL(TESTCHAN)=${CHANNEL:0:${MATH(${LEN(${CHANNEL})}-1):0:2}}1) exten => *9700,n,wait(3) ;3 works, 1 did not exten => *9700,n,Dial(SIP/5001) exten => 0009700,1,Wait(1) ;1 works, 3 did not exten => 0009700,n,ChannelRedirect(${TESTCHAN},parkedcalls,701,1) (closes issue #14992) Reported by: davidw ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246073 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 246022 via svnmerge from tilghman1-0/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r246022 | tilghman | 2010-02-10 09:36:57 -0600 (Wed, 10 Feb 2010) | 2 lines Enable warnings on atypical conditions for the FILTER function (suggested by mmichelson on the -dev list). ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@246025 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-10Merged revisions 245945 via svnmerge from tilghman2-8/+16
https://origsvn.digium.com/svn/asterisk/trunk ................ r245945 | tilghman | 2010-02-10 08:06:12 -0600 (Wed, 10 Feb 2010) | 9 lines Merged revisions 245944 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r245944 | tilghman | 2010-02-10 07:37:13 -0600 (Wed, 10 Feb 2010) | 2 lines Include examples of FILTER usage in extension patterns where a "." may be a risk. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245948 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Blocked revisions 245804 via svnmergedvossel0-0/+0
........ r245804 | dvossel | 2010-02-09 17:18:58 -0600 (Tue, 09 Feb 2010) | 2 lines fixes a merging error for the iaxs and iaxsl off by one fix ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245808 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Merged revisions 245793 via svnmerge from dvossel1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r245793 | dvossel | 2010-02-09 17:07:17 -0600 (Tue, 09 Feb 2010) | 18 lines Merged revisions 245792 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r245792 | dvossel | 2010-02-09 16:55:38 -0600 (Tue, 09 Feb 2010) | 12 lines Fixes iaxs and iaxsl size off by one issue. 2^15 = 32768 which is the maximum allowed iax2 callnumber. Creating the iaxs and iaxsl array of size 32768 means the maximum callnumber is actually out of bounds. This causes a nasty crash. (closes issue #15997) Reported by: exarv Patches: iax_fix.diff uploaded by dvossel (license 671) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245794 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Merged revisions 245729 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r245729 | tilghman | 2010-02-09 12:06:30 -0600 (Tue, 09 Feb 2010) | 8 lines Ensure frames are only freed once. (closes issue #16361) Reported by: vlad Patches: 20100208__issue16361.diff.txt uploaded by tilghman (license 14) Tested by: kenny, bloodoff, misaksen ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245732 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Merged revisions 245727 via svnmerge from mnicholson1-2/+0
https://origsvn.digium.com/svn/asterisk/trunk ........ r245727 | mnicholson | 2010-02-09 11:40:04 -0600 (Tue, 09 Feb 2010) | 2 lines This commit removes an extra newline in T.38 generated SDP packets. This bug was caused by the fix introduced in r243860. (closes issue #16766) Reported by: raivisr Patches: t38-sdp-newline-fix1.diff uploaded by mnicholson (license 96) Tested by: raivisr ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245728 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-09Merged revisions 245680 via svnmerge from kpfleming1-2/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r245680 | kpfleming | 2010-02-09 10:24:52 -0600 (Tue, 09 Feb 2010) | 8 lines Don't offer MMR or JBIG transcoding during T.38 negotiation. After further discussion with Steve Underwood, we should not (yet) be offering to receive MMR or JBIG transcoded streams from T.38 endpoints. A future spandsp release will support those features, and then they can be enabled during negotiation ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245683 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-08Merged revisions 245624 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r245624 | russell | 2010-02-08 17:43:00 -0600 (Mon, 08 Feb 2010) | 5 lines Fix return value of get_ie_str() and get_ie_str_hash() for non-existent IE. I found this bug while developing a unit test for event allocation. Testing is awesome. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245626 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-08Merged revisions 245578 via svnmerge from tilghman2-5/+5
https://origsvn.digium.com/svn/asterisk/trunk ........ r245578 | tilghman | 2010-02-08 16:31:40 -0600 (Mon, 08 Feb 2010) | 12 lines Actually use _ASTLDFLAGS in the main/ and channels/ Makefiles. They were previously passed correctly, but they simply weren't used. This caused issues with various platforms whose builds needed to pass special linker flags via the configure script. (closes issue #16596) Reported by: pprindeville Patches: asterisk-1.6-astldflags.patch uploaded by pprindeville (license 347) Tested by: tilghman ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245581 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-08Merged revisions 245497 via svnmerge from qwell2-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r245497 | qwell | 2010-02-08 14:41:05 -0600 (Mon, 08 Feb 2010) | 11 lines Merged revisions 245496 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r245496 | qwell | 2010-02-08 14:39:50 -0600 (Mon, 08 Feb 2010) | 4 lines Remove reference of documentation in source directory. People don't always build Asterisk from source (distro packages, anybody?). ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245500 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-07Blocked revisions 245230 via svnmergemmichelson0-0/+0
........ r245230 | mmichelson | 2010-02-07 13:51:54 -0600 (Sun, 07 Feb 2010) | 6 lines Remove parsing of constantssrc from reload_config. This config option is already handled by the function handle_common_options and it is unnecessary to parse the value again. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245231 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-06Blocked revisions 245192 via svnmergemmichelson0-0/+0
........ r245192 | mmichelson | 2010-02-06 08:43:03 -0600 (Sat, 06 Feb 2010) | 21 lines Remove useless sip options related to hash table size. First off, these options weren't actually doing anything. By the time the options were parsed, the peer and dialog containers had already been allocated with their default values. Second, hash table size is something that doesn't really make sense to change in a config file. If a user is that interested in changing the hashtable size, he can modify the source itself. I have removed the parsing of the hash_peer, hash_user, and hash_dialog options. I have removed the hash_user_size variable altogether since it is not used at all. I also changed hash_peer_size and hash_dialog_size to be constant, and have changed the symbols to be in all caps as constants typically are. I have also removed the entire section in sip.conf.sample regarding configurable hashtable sizes. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245193 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-05Blocked revisions 245147 via svnmergedvossel0-0/+0
........ r245147 | dvossel | 2010-02-05 15:21:05 -0600 (Fri, 05 Feb 2010) | 8 lines fixes astobj2 unlinking of multiple objects when OBJ_MULTIPLE was disabled When OBJ_MULTIPLE was off but OBJ_UNLINK was on, all the items in a bucket were being unlinked instead of just the first match. This fixes that. Review: https://reviewboard.asterisk.org/r/490/ ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245148 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-05Merged revisions 245090 via svnmerge from jpeeler1-9/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r245090 | jpeeler | 2010-02-05 13:26:22 -0600 (Fri, 05 Feb 2010) | 11 lines Merged revisions 245044 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r245044 | kpfleming | 2010-02-05 12:32:29 -0600 (Fri, 05 Feb 2010) | 5 lines Remove contrib/firmware directory as it is empty Remove explicit license for IAXy firmware as it is no longer included in the tree ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245097 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-05Blocked revisions 245006 via svnmergedvossel0-0/+0
........ r245006 | dvossel | 2010-02-05 12:12:41 -0600 (Fri, 05 Feb 2010) | 2 lines adds total call numbers available to 'iax2 show callnumber usage' cli output ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@245007 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-05Blocked revisions 244945 via svnmergetwilson0-0/+0
........ r244945 | twilson | 2010-02-05 11:20:24 -0600 (Fri, 05 Feb 2010) | 9 lines Fix crash on 32-bit for users not using https (closes issue #16778) Reported by: pitel Patches: diff.txt uploaded by twilson (license 396) Tested by: twilson, pitel ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@244952 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-05Merged revisions 244927 via svnmerge from seanbright1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ................ r244927 | seanbright | 2010-02-05 12:05:32 -0500 (Fri, 05 Feb 2010) | 9 lines Merged revisions 244926 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r244926 | seanbright | 2010-02-05 12:03:35 -0500 (Fri, 05 Feb 2010) | 1 line Update main copyright date. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@244930 f38db490-d61c-443f-a65b-d21fe96a405b
2010-02-05Blocked revisions 244924 via svnmergedvossel0-0/+0
........ r244924 | dvossel | 2010-02-05 10:59:06 -0600 (Fri, 05 Feb 2010) | 6 lines fixes issue with sip registry not having correct default expiry default expiry was not being set correctly for a registry object. Thanks to ebroad for reporting the issue and testing the patch. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@244925 f38db490-d61c-443f-a65b-d21fe96a405b