aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2008-05-06Merged revisions 115419 via svnmerge from qwell1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115419 | qwell | 2008-05-06 14:38:44 -0500 (Tue, 06 May 2008) | 15 lines Merged revisions 115418 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115418 | qwell | 2008-05-06 14:34:58 -0500 (Tue, 06 May 2008) | 7 lines Switch to using ast_random() rather than just rand(). This does not fix the bug reported, but I believe it is correct. (from issue #12446) Patches: bug_12446.diff uploaded by snuffy (license 35) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115420 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06Merged revisions 115416 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115416 | tilghman | 2008-05-06 14:32:29 -0500 (Tue, 06 May 2008) | 10 lines Merged revisions 115415 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115415 | tilghman | 2008-05-06 14:31:39 -0500 (Tue, 06 May 2008) | 2 lines Don't print the terminating NUL. (Closes issue #12589) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115417 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06Blocked revisions 115344 via svnmergerussell0-0/+0
........ r115344 | russell | 2008-05-06 10:14:55 -0500 (Tue, 06 May 2008) | 2 lines Change some NOTICE log messages to debug. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115345 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-06Merged revisions 115342 via svnmerge from file2-44/+44
https://origsvn.digium.com/svn/asterisk/trunk ................ r115342 | file | 2008-05-06 10:55:44 -0300 (Tue, 06 May 2008) | 10 lines Merged revisions 115341 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115341 | file | 2008-05-06 10:54:15 -0300 (Tue, 06 May 2008) | 2 lines Add in missing argument. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115343 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115334 via svnmerge from tilghman2-5/+41
https://origsvn.digium.com/svn/asterisk/trunk ................ r115334 | tilghman | 2008-05-05 18:00:31 -0500 (Mon, 05 May 2008) | 15 lines Merged revisions 115333 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115333 | tilghman | 2008-05-05 17:50:31 -0500 (Mon, 05 May 2008) | 7 lines Separate verbose output from CLI output, by using a preamble. (closes issue #12402) Reported by: Corydon76 Patches: 20080410__no_verbose_in_rx_output.diff.txt uploaded by Corydon76 (license 14) 20080501__no_verbose_in_rx_output__1.4.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115335 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115328 via svnmerge from file5-1/+293
https://origsvn.digium.com/svn/asterisk/trunk ................ r115328 | file | 2008-05-05 19:13:57 -0300 (Mon, 05 May 2008) | 10 lines Merged revisions 115327 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115327 | file | 2008-05-05 19:10:05 -0300 (Mon, 05 May 2008) | 2 lines Make sure that either the main speex library contains preprocess functions or that speexdsp does. If both fail then speex stuff can not be built. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115331 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115329 via svnmerge from mmichelson1-1/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r115329 | mmichelson | 2008-05-05 17:14:06 -0500 (Mon, 05 May 2008) | 15 lines #execing the same file multiple times led to warning messages saying that the same file was being #included twice. This was due to the fact that #exec created a temporary file which was then #included. The name of the temporary file was the name of the #exec'd file, with the Unix timestamp and thread ID concatenated. The issue was that if multiple #exec statements of the same file were reached in the same second, then the result was that the temporary files would have duplicate names. To resolve this, the temporary file now has microsecond resolution for the timestamp portion. (closes issue #12574) Reported by: jmls Patches: 12574.patch uploaded by putnopvut (license 60) Tested by: jmls, putnopvut ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115330 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Blocked revisions 115324 via svnmergerussell0-0/+0
........ r115324 | russell | 2008-05-05 17:01:56 -0500 (Mon, 05 May 2008) | 2 lines Simplify code by using a taskprocessor for dispatching events in the Asterisk core. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115326 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115321 via svnmerge from mmichelson1-2/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115321 | mmichelson | 2008-05-05 16:43:21 -0500 (Mon, 05 May 2008) | 21 lines Merged revisions 115320 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115320 | mmichelson | 2008-05-05 16:41:34 -0500 (Mon, 05 May 2008) | 13 lines Don't consider a caller "handled" until the caller is bridged with a queue member. There was too much of an opportunity for the member to hang up (either during a delay, announcement, or overly long agi) between the time that he answered the phone and the time when he actually was bridged with the caller. The consequence of this was that if the member hung up in that interval, then proper abandonment details would not be noted in the queue log if the caller were to hang up at any point after the member hangup. (closes issue #12561) Reported by: ablackthorn ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115322 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115315 via svnmerge from russell1-14/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r115315 | russell | 2008-05-05 15:28:17 -0500 (Mon, 05 May 2008) | 2 lines Remove my rant, since I have now replaced the rant with code. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115316 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115309 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115309 | tilghman | 2008-05-05 14:57:28 -0500 (Mon, 05 May 2008) | 10 lines Merged revisions 115308 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115308 | tilghman | 2008-05-05 14:55:55 -0500 (Mon, 05 May 2008) | 2 lines Err, the documentation on the return value of ast_odbc_backslash_is_escape is exactly backwards. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115310 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115305 via svnmerge from russell1-2/+9
https://origsvn.digium.com/svn/asterisk/trunk ................ r115305 | russell | 2008-05-05 14:50:24 -0500 (Mon, 05 May 2008) | 13 lines Merged revisions 115304 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115304 | russell | 2008-05-05 14:49:25 -0500 (Mon, 05 May 2008) | 5 lines Avoid putting opaque="" in Digest authentication. This patch came from switchvox. It fixes authentication with Primus in Canada, and has been in use for a very long time without causing problems with any other providers. (closes issue AST-36) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115306 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115302 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r115302 | tilghman | 2008-05-05 14:42:36 -0500 (Mon, 05 May 2008) | 2 lines Note change for ExecIf syntax (caught by jmls on IRC) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115303 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Blocked revisions 115290 via svnmergefile0-0/+0
........ r115290 | file | 2008-05-05 10:52:44 -0300 (Mon, 05 May 2008) | 6 lines Document the 'B' option of app_chanspy. (closes issue #12582) Reported by: IgorG Patches: app_chanspy_B_option.diff uploaded by IgorG (license 20) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115291 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115288 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/trunk ........ r115288 | kpfleming | 2008-05-05 05:55:09 -0500 (Mon, 05 May 2008) | 2 lines clarify wording ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115289 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115286 via svnmerge from tilghman7-0/+57
https://origsvn.digium.com/svn/asterisk/trunk ................ r115286 | tilghman | 2008-05-04 22:25:35 -0500 (Sun, 04 May 2008) | 15 lines Merged revisions 115285 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115285 | tilghman | 2008-05-04 22:22:25 -0500 (Sun, 04 May 2008) | 7 lines When starting Asterisk, bug out if Asterisk is already running. (closes issue #12525) Reported by: explidous Patches: 20080428__bug12525.diff.txt uploaded by Corydon76 (license 14) Tested by: mvanbaak ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115287 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Merged revisions 115283 via svnmerge from file2-7/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r115283 | file | 2008-05-03 23:11:01 -0300 (Sat, 03 May 2008) | 10 lines Merged revisions 115282 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115282 | file | 2008-05-03 23:09:44 -0300 (Sat, 03 May 2008) | 2 lines Expand the test function for GCC attributes so that more complex attributes are properly recognized. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115284 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Merged revisions 115280 via svnmerge from file1-5/+5
https://origsvn.digium.com/svn/asterisk/trunk ................ r115280 | file | 2008-05-03 22:52:00 -0300 (Sat, 03 May 2008) | 10 lines Merged revisions 115279 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115279 | file | 2008-05-03 22:50:59 -0300 (Sat, 03 May 2008) | 2 lines For my next trick I will make these work with what our autoconf header file gives us. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115281 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-04Merged revisions 115277 via svnmerge from file2-2/+30
https://origsvn.digium.com/svn/asterisk/trunk ................ r115277 | file | 2008-05-03 22:45:21 -0300 (Sat, 03 May 2008) | 10 lines Merged revisions 115276 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115276 | file | 2008-05-03 22:43:26 -0300 (Sat, 03 May 2008) | 2 lines Treat warnings as errors when checking if a GCC attribute exists. We have to do this as GCC will just ignore the attribute and pop up a warning, it won't actually fail to compile. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115278 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-03block voicemail mwi notification subscriptions taskprocessordhubbard0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115275 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-03block pbx taskprocessordhubbard0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115273 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-03block app_queue taskprocessordhubbard0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115271 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-03blocked taskprocessorsdhubbard0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115269 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02Blocked revisions 115199 via svnmergemmichelson0-0/+0
........ r115199 | mmichelson | 2008-05-02 09:51:59 -0500 (Fri, 02 May 2008) | 3 lines Make res/snmp/agent.c build ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115200 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02Merged revisions 115197 via svnmerge from mmichelson1-11/+5
https://origsvn.digium.com/svn/asterisk/trunk ................ r115197 | mmichelson | 2008-05-02 09:28:55 -0500 (Fri, 02 May 2008) | 14 lines Merged revisions 115196 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115196 | mmichelson | 2008-05-02 09:28:19 -0500 (Fri, 02 May 2008) | 6 lines Clarify a comment that was, well, just wrong. It turns out that ignoring the way that macros expand. Instead, I have clarified in the comment why the macro will work even if the scheduler id for the task to be deleted changes during the execution of the macro. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115198 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02Blocked revisions 115159 via svnmergetilghman0-0/+0
........ r115159 | tilghman | 2008-05-01 21:56:39 -0500 (Thu, 01 May 2008) | 2 lines Okay, maybe FreeBSD will like this better. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115160 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-02Blocked revisions 115157 via svnmergetilghman0-0/+0
........ r115157 | tilghman | 2008-05-01 21:33:04 -0500 (Thu, 01 May 2008) | 2 lines Add attributes to various API calls, to help track down bugs (and remove a deprecated function) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115158 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Merged revisions 115104 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115104 | tilghman | 2008-05-01 18:21:13 -0500 (Thu, 01 May 2008) | 10 lines Merged revisions 115102 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115102 | tilghman | 2008-05-01 18:20:25 -0500 (Thu, 01 May 2008) | 2 lines Change the comment of deprecated to an actual compiler deprecation ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115107 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Blocked revisions 115078 via svnmergebbryant0-0/+0
........ r115078 | bbryant | 2008-05-01 18:09:08 -0500 (Thu, 01 May 2008) | 2 lines Add two new console commands "pri show version" and "ss7 show version" that will show the version of each library respectively. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115079 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Blocked revisions 115076 via svnmergetilghman0-0/+0
........ r115076 | tilghman | 2008-05-01 18:06:23 -0500 (Thu, 01 May 2008) | 7 lines Modify TIMEOUT() to be accurate down to the millisecond. (closes issue #10540) Reported by: spendergrass Patches: 20080417__bug10540.diff.txt uploaded by Corydon76 (license 14) Tested by: blitzrage ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115077 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Blocked revisions 115021 via svnmergerussell0-0/+0
........ r115021 | russell | 2008-05-01 14:05:36 -0500 (Thu, 01 May 2008) | 9 lines Merge changes from team/russell/smdi-msg-searching This commit adds some new features to the SMDI_MSG_RETRIEVE() dialplan function. Previously, this function only allowed searching by the forwarding station. I have added some options to allow you to also search for messages in the queue by the message desk terminal ID, as well as the message desk number. This originally came up as a suggestion on the asterisk-dev mailing list. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115022 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Merged revisions 115018 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r115018 | tilghman | 2008-05-01 14:00:18 -0500 (Thu, 01 May 2008) | 14 lines Merged revisions 115017 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115017 | tilghman | 2008-05-01 13:59:08 -0500 (Thu, 01 May 2008) | 6 lines '#' is another reserved character for URIs that also needs to be escaped. (closes issue #10543) Reported by: blitzrage Patches: 20080418__bug10543.diff.txt uploaded by Corydon76 (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115020 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Blocked revisions 114977 via svnmergebbryant0-0/+0
........ r114977 | bbryant | 2008-05-01 13:28:38 -0500 (Thu, 01 May 2008) | 4 lines Add "read" capability to new libspeex functions in func_speex.c. func_speex.c is based on contributions from Switchvox. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114979 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Merged revisions 114931 via svnmerge from russell1-1/+6
https://origsvn.digium.com/svn/asterisk/trunk ........ r114931 | russell | 2008-05-01 12:28:25 -0500 (Thu, 01 May 2008) | 4 lines Clarify the deprecation notice about Macro() to note that it will not be removed for the sake of backwards compatibility, since it is a non-trivial task to convert existing large dialplans that depend on Macro() to use GoSub(), instead. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114932 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Blocked revisions 114926 via svnmergebbryant0-0/+0
........ r114926 | bbryant | 2008-05-01 11:57:19 -0500 (Thu, 01 May 2008) | 5 lines Add two new dialplan functions from libspeex for applying audio gain control and denoising to a channel, AGC() and DENOISE(). Also included, is a change to the audiohook API to add a new function (ast_audiohook_remove) that can remove an audiohook from a channel before it is detached. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114928 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-01Merged revisions 114922 via svnmerge from qwell1-10/+9
https://origsvn.digium.com/svn/asterisk/trunk ........ r114922 | qwell | 2008-05-01 11:49:24 -0500 (Thu, 01 May 2008) | 10 lines Allow dringXrange to properly default to 10, as was done in 1.4. dringXrange is a new feature that was added, and it attempted to default, but only when the option was specified. (closes issue #12536) Reported by: bjm Patches: 12536-dringXrange.diff uploaded by qwell (license 4) Tested by: bjm ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114923 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Blocked revisions 114912 via svnmergefile0-0/+0
........ r114912 | file | 2008-04-30 17:51:17 -0300 (Wed, 30 Apr 2008) | 2 lines Add support for specifying the registration expiry on a per registration basis in the register line. This comes from a Switchvox patch. (issue AST-24) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114913 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Add the dlinkedlists implementation from trunkrussell1-0/+974
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114909 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Make 1.6.0 compilemmichelson1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114908 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Blocked revisions 114906 via svnmergemmichelson0-0/+0
........ r114906 | mmichelson | 2008-04-30 14:30:41 -0500 (Wed, 30 Apr 2008) | 12 lines Adding new configuration options to app_queue. This adds two new values to announce-position, "limit" and "more," as well as a new option, announce-position-limit. For more information on the use of these options, see CHANGES or configs/queues.conf.sample. (closes issue #10991) Reported by: slavon Patches: app_q.diff uploaded by slavon (license 288) Tested by: slavon, putnopvut ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114907 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Blocked revisions 114904 via svnmergetilghman0-0/+0
........ r114904 | tilghman | 2008-04-30 14:21:04 -0500 (Wed, 30 Apr 2008) | 8 lines Lock around variables retrieved, and copy the values, if they stay persistent, since another thread could remove them. (closes issue #12541) Reported by: snuffy Patches: bug_12156_apps.diff uploaded by snuffy (license 35) Several additional changes by me ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114905 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Merged revisions 114899 via svnmerge from oej1-4/+8
https://origsvn.digium.com/svn/asterisk/trunk ................ r114899 | oej | 2008-04-30 18:55:49 +0200 (Ons, 30 Apr 2008) | 15 lines Merged revisions 114890 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114890 | oej | 2008-04-30 18:23:17 +0200 (Ons, 30 Apr 2008) | 7 lines Don't crash on bad SIP replys. Fix created in Huntsville together with Mark M (putnopvut) (closes issue #12363) Reported by: jvandal Tested by: putnopvut, oej ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114900 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Merged revisions 114892 via svnmerge from russell2-66/+191
https://origsvn.digium.com/svn/asterisk/trunk ................ r114892 | russell | 2008-04-30 11:34:24 -0500 (Wed, 30 Apr 2008) | 36 lines Merged revisions 114891 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114891 | russell | 2008-04-30 11:30:01 -0500 (Wed, 30 Apr 2008) | 28 lines Merge changes from team/russell/iax2_find_callno and iax2_find_callno_1.4 These changes address a critical performance issue introduced in the latest release. The fix for the latest security issue included a change that made Asterisk randomly choose call numbers to make them more difficult to guess by attackers. However, due to some inefficient (this is by far, an understatement) code, when Asterisk chose high call numbers, chan_iax2 became unusable after just a small number of calls. On a small embedded platform, it would not be able to handle a single call. On my Intel Core 2 Duo @ 2.33 GHz, I couldn't run more than about 16 IAX2 channels. Ouch. These changes address some performance issues of the find_callno() function that have bothered me for a very long time. On every incoming media frame, it iterated through every possible call number trying to find a matching active call. This involved a mutex lock and unlock for each call number checked. So, if the random call number chosen was 20000, then every media frame would cause 20000 locks and unlocks. Previously, this problem was not as obvious since Asterisk always chose the lowest call number it could. A second container for IAX2 pvt structs has been added. It is an astobj2 hash table. When we know the remote side's call number, the pvt goes into the hash table with a hash value of the remote side's call number. Then, lookups for incoming media frames are a very fast hash lookup instead of an absolutely insane array traversal. In a quick test, I was able to get more than 3600% more IAX2 channels on my machine with these changes. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114893 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Merged revisions 114888 via svnmerge from jpeeler1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r114888 | jpeeler | 2008-04-30 11:14:43 -0500 (Wed, 30 Apr 2008) | 3 lines Fixes a bug where if a stream monitor thread was not created (caused from failure of opening or starting the stream) pthread_cancel was called with an invalid thread ID. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114889 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Merged revisions 114884 via svnmerge from kpfleming2-18/+32
https://origsvn.digium.com/svn/asterisk/trunk ................ r114884 | kpfleming | 2008-04-30 09:49:51 -0500 (Wed, 30 Apr 2008) | 10 lines Merged revisions 114880 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114880 | kpfleming | 2008-04-30 09:46:57 -0500 (Wed, 30 Apr 2008) | 2 lines use the ARRAY_LEN macro for indexing through the iaxs/iaxsl arrays so that the size of the arrays can be adjusted in one place, and change the size of the arrays from 32768 calls to 2048 calls when LOW_MEMORY is defined ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114886 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-30Merged revisions 114876 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r114876 | kpfleming | 2008-04-30 07:15:43 -0500 (Wed, 30 Apr 2008) | 10 lines Merged revisions 114875 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114875 | kpfleming | 2008-04-30 07:14:07 -0500 (Wed, 30 Apr 2008) | 2 lines pay attention to *all* header files for dependency tracking, not just the local ones (inspired by r578 of asterisk-addons by tilghman) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114877 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-29Merged revisions 114866 via svnmerge from jpeeler1-6/+8
https://origsvn.digium.com/svn/asterisk/trunk ........ r114866 | jpeeler | 2008-04-29 17:54:14 -0500 (Tue, 29 Apr 2008) | 2 lines Fixes a problem where all the templates were marked as dead no matter what. The templates should only be marked as dead if a configuration file has been successfully loaded and has changes. Bug found while making API documentation for 1.6.0. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114867 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-29Blocked revisions 114857 via svnmergemmichelson0-0/+0
........ r114857 | mmichelson | 2008-04-29 16:07:36 -0500 (Tue, 29 Apr 2008) | 15 lines Patching app_chanspy to jibe better with what is documented. This allows for a colon-delimited list of spygroups to be specified when calling the ChanSpy application with the 'g' option. Prior to this, you could only specify a single group when using the 'g' option. I also have upped the maximum number of spygroups to 128 and added a #define so that this can be easily increased or decreased later. (closes issue #12497) Reported by: jsmith Patches: app_chanspy_multiple_groups_v2.patch uploaded by jsmith (license 15) Tested by: atis, jvandal ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114858 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-29Merged revisions 114849 via svnmerge from mmichelson1-4/+9
https://origsvn.digium.com/svn/asterisk/trunk ................ r114849 | mmichelson | 2008-04-29 14:42:04 -0500 (Tue, 29 Apr 2008) | 22 lines Merged revisions 114848 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r114848 | mmichelson | 2008-04-29 14:40:06 -0500 (Tue, 29 Apr 2008) | 14 lines Use the MACRO_CONTEXT and MACRO_EXTEN channel variables instead of the channel's macrocontext and macroexten fields. This is needed because if macros are daisy-chained, the incorrect context and extension are placed on the new channel. I also added locking to the channel prior to accessing these variables as noted in trunk's janitor project file. (closes issue #12549) Reported by: darren1713 Patches: app_queue.c.macroextenpatch uploaded by darren1713 (license 116) (with modifications from me) Tested by: putnopvut ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114850 f38db490-d61c-443f-a65b-d21fe96a405b
2008-04-29bug is not present in this branchkpfleming0-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@114846 f38db490-d61c-443f-a65b-d21fe96a405b