Commit Graph

21564 Commits

Author SHA1 Message Date
Terry Wilson
631c6a9a74 Don't skip the query field on a realtime multi query
There is no documented reason to not add the query field to the varlist
returned by a realtime multi query, despite the config category being
set to its value. Of course, there is no documentation that the category
should be set to the value either. There is lots of no documentation
when it comes to realtime. But, other engines do not skip this field so
I am forcing this backend to follow the convention, because not doing so
is very silly.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-13 00:05:17 +00:00
Stefan Schmidt
3bc7b5d2c9 Store route-set from provisional SIP responses so early-dialog requests can be routed properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-12 20:30:37 +00:00
Terry Wilson
610a2997dd Update SIP realtime fullcontact regardless of caching
We should update the fullcontact field in the realtime table whether or
not rtcachefriends is set. There is no reason to treat a non-cached
realtime entity differently than a cached in this regard.

(closes issue ASTERISK-18446)
 Reported by: wdoekes


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-12 20:19:36 +00:00
Richard Mudgett
0c069b5653 Initialize the PRI channel alarms properly on startup.
The PRI channel alarms were initialized with an inverted sense.

(closes issue ASTERISK-18710)
Reported by: Tzafrir Cohen


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-12 20:07:33 +00:00
Richard Mudgett
4051609b5c Update MeetMe p and X option documentation when interacting with the s option.
ASTERISK-12175 changed the p and X options to not interfere with the s
option when they are used together.  It makes more sense for the s option
to have priority for the DTMF '*' key since it cannot change its
activation code.  Otherwise, you could not use option s with the p or X
options.

JIRA AST-671


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340470 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-12 17:49:19 +00:00
Paul Belanger
35fcb785af Fix verbose messages when IPv6 logic was added
(closes issue ASTERISK-18612)
Reported by: Tim Osman


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-12 16:27:23 +00:00
Richard Mudgett
fbc51bb795 Add protection for SS7 channel allocation and better glare handling.
* Added a CLI "ss7 show channels" command that might prove useful for
future debugging.

* Made the incoming SS7 channel event check and gripe message uniform.

* Made sure that the DNID string for an incoming call is always
initialized.

(issue ASTERISK-17966)
Reported by: Kenneth Van Velthoven
Patches:
      jira_asterisk_17966_v1.8_glare.patch (license #5621) patch uploaded by rmudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340365 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 21:03:15 +00:00
Richard Mudgett
a458ac621e Fix some potential deadlocks pointed out by helgrind.
* Fixed deadlock potential calling dialog_unlink_all() in
__sip_autodestruct().  Found by helgrind.

* Fixed deadlock potential in handle_request_invite() after calling
sip_new().  Found by helgrind.

* The sip_new() function now returns with the created channel already
locked.

* Removed the dead code that starts a PBX in in sip_new().  No sip_new()
callers caused that code to be executed and it was a bad thing to do
anyway.

* Removed unused parameters and return value from dialog_unlink_all().

* Made dialog_unlink_all() and __sip_autodestruct() safely obtain the
owner and private channel locks without a deadlock avoidance loop.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 19:16:47 +00:00
Richard Mudgett
236637104d Convert registered AMI actions to ao2 objects.
* Fixed race between calling an AMI action callback and unregistering that
action.  Refixes ASTERISK-13784 broken by ASTERISK-17785 change.

* Fixed potential memory leak if an AMI action failed to get registered
because is already was registered.  Part of the ao2 conversion.

* Fixed AMI ListCommands action not walking the actions list with a lock
held.

* Fix usage of ast_strdupa() and alloca() in loops.  Excess stack usage.

* Fix AMI Originate action Variable header requiring a space after the
header colon.  Reported by Yaroslav Panych on the asterisk-dev list.

* Increased the number of listed variables allowed per AMI Originate
action Variable header to 64.

* Fixed AMI GetConfigJSON action output format.

* Fixed usage of res contents outside of scope in append_channel_vars().

* Fixed inconsistency of config file channelvars option.  The values no
longer accumulate with every channelvars option in the config file.  Only
the last value is kept to be consistent with the CLI "manager show
settings" command.

(closes issue ASTERISK-18479)
Reported by: Jaco Kroon


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 18:23:14 +00:00
Tzafrir Cohen
9a426fab4d Update SHA1 code to RFC 6234
RFC 6234 is an update to RFC 3174 from which the code was originally taken.
It has a slightly better code, and a better phrased license (simple 3-clause
BSD).

* main/sha1.c is sha1.c from RFC 6234 with formatting changes only.
* include/asterisk/sha1.h merges sha.h and sha-private.h from RFC 6234.
* Removed unused include of asterisk/sha1.h from main/channels.c

Review: https://reviewboard.asterisk.org/r/1503/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-11 00:43:14 +00:00
Matthew Jordan
21bb14654b Updated chan_sip to place calls on hold if SDP address in INVITE is ANY
This patch fixes the case where an INVITE is received with c=0.0.0.0 or ::.
In this case, the call should be placed on hold.  Previously, we checked for
the address being null; this patch keeps that behavior but also checks for
the ANY IP addresses.

Review: https://reviewboard.asterisk.org/r/1504/

(closes issue ASTERISK-18086)
Reported by: James Bottomley
Tested by: Matt Jordan


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 20:23:48 +00:00
Matthew Nicholson
de9e8e501e Load the proper XML documentation when multiple modules document the same application.
This patch adds an optional "module" attribute to the XML documentation spec
that allows the documentation processor to match apps with identical names from
different modules to their documentation. This patch also fixes a number of
bugs with the documentation processor and should make it a little more
efficient. Support for multiple languages has also been properly implemented.

ASTERISK-18130
Review: https://reviewboard.asterisk.org/r/1485/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@340108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-10 14:14:48 +00:00
Igor Goncharovskiy
5e05620bb7 Fix compilation issue, caused by missed session structure
(closes issue ASTERISK-18694)
Reported by: alex70



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-09 01:16:09 +00:00
Igor Goncharovskiy
7d3b4d5e80 Fix segfault in Unistim channel
(closes issue ASTERISK-18638)
Reported by: jonnt



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-08 15:45:20 +00:00
Igor Goncharovskiy
6d6ed815cc Fix char array cast as short array in send_client() function (for ARM
platform)

(closes issue ASTERISK-17314)
Reported by: jjoshua



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339830 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-08 14:56:35 +00:00
Richard Mudgett
2fb42fc3da Initialize option flags for SendURL application.
(closes issue ASTERISK-18574)
Reported by: marcelloceschia


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339776 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-07 19:34:55 +00:00
Richard Mudgett
d4dcb0f259 Fix regression in configure script for libpri capability checks.
JIRA AST-598 added the PRI_L2_PERSISTENCE option to fix BRI PTMP TE layer
2 persistence issues with some telcos.  ASTERISK-18535 attempted to fix
the unexpected requirement that libpri *must* have that feature to work
with Asterisk.  The AST_EXT_LIB_SETUP_DEPENDENT lines made the PRI
optional features required.  Unfortunately, I thought
AST_EXT_LIB_SETUP_DEPENDENT didn't do anything useful for libpri and
deleted those lines for libpri.  The result was the HAVE_PRI_xxx defines
that control the ability to use optional libpri features were also
deleted.

* Created AST_EXT_LIB_SETUP_OPTIONAL configuration macro to allow optional
features in a library that the source code could take advantage of if the
code supports the feature.

(closes issue ASTERISK-18687)
Reported by: Norbert
Tested by: rmudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 22:47:50 +00:00
Richard Mudgett
06e6b7bba1 Fix debugging messages generated by 'udptl debug'.
* Makes chan_sip set the tag to the channel name.

* Fixes received debug message sequence number.

* Removed tx/rx debug message type since it was hard coded to 0.

* Made udptl.c logged message header consistent if possible: "UDPTL (%s): ".

* Removed unused rx_expected_seq_no from struct ast_udptl.

(closes issue ASTERISK-18401)
Reported by: Kevin P. Fleming
Patches:
      jira_asterisk_18401_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Matthew Nicholson


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339625 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-06 17:49:38 +00:00
Leif Madsen
a9b4839597 Update prep_tarball script to download pre-exported documentation.
I've updated the prep_tarball script to now download the pre-exported documentation
from the Asterisk wiki. This will give us more control over what is being included
in the tarball releases, and will make both the PDF and HTML exported documentation
look much better (especially when viewing from a console).

(Closes issue ASTERISK-18677)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 21:30:11 +00:00
Richard Mudgett
1a4ba9305a Fix Dial F option notes formatting.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 17:01:01 +00:00
Richard Mudgett
75f2105a48 Fix XML error in AMI action Challenge.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:32:03 +00:00
Matthew Nicholson
50947036a5 The app name in the documentation must match what we register the application
as.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:31:21 +00:00
Richard Mudgett
03a7359585 Add missing documentation of required AMI action Challenge AuthType header.
(closes issue ASTERISK-18554)
Reported by: Vlad Povorozniuc
Patches:
      __20110919-manager-challenge-docs.patch.txt (license #4999) patch uploaded by Leif Madsen


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-05 16:26:45 +00:00
Richard Mudgett
8a89893175 Make always create the MOH directory (/var/lib/asterisk/moh).
(closes issue ASTERISK-18409)
Reported by: abelbeck
Patches:
      asterisk-1.8-makefile-moh.patch (license #5903) patch uploaded by abelbeck
Tested by: abelbeck, Michael Keuter


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 22:54:15 +00:00
Jonathan Rose
48f0916a44 Removes improper use of sound 'and' in German language mode from application saynumber
Asterisk would say 'Five hundert und sechs und zwanzig' instead of 'Five hundert sechs
und zwanzig'... which is both weird sounding and wrong.  This patch makes sure Asterisk
will only say the 'and' word between the single digit and double digit places.

(closes issue ASTERISK-18212)
Reported By: Lionel Elie Mamane
Patches:
	upstream_germand_no_and.diff (License #5402) uploaded by Lionel Elie Mamane



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 19:33:12 +00:00
Jonathan Rose
5435277e90 Reverting revision 333265 due to component connection problems it introduces.
I'm going to attempt some generic res_jabber cleanup and come up with a new fix for this
problem, but first it seems prudent to remove this rather broad attempt to fix it and
instead approach this problem either from the same angle but looking only at canceling
(or possibly rescheduling) the send when we absolutely know it will cause a segfault 
or, if that can't be easily accomplished, strictly from the devstate side of things.
Also, I'm pretty sure a lot of the code in res_jabber isn't thread safe.

(issue ASTERISK-18626)
(issue ASTERISK-18078)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 14:01:05 +00:00
Alexandr Anikin
37c390ac02 fix forget declaration in previous change
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-04 11:44:55 +00:00
Leif Madsen
2e320de4bf Remove duplicated Maxforwards line in AMI output.
(Closes issue ASTERISK-18637)
Reported by: Jacek Konieczny
Patches:
     asterisk-sipshowpeer.patch (License #6298) uploaded by Jacek Konieczny

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 20:12:43 +00:00
Leif Madsen
e83a93313c Make documentation for Dial() options 'F' and 'F()' more clear.
(Closes issue ASTERISK-18646)
Reported by: Physis Heckman
Tested by: Richard Mudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339144 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 19:54:52 +00:00
Alexandr Anikin
3795f80d2c destroy memheap mutex properly before memheap deleted
(fix memory leak occured after r304950 changes with DEBUG_THREAD compile option)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 18:42:49 +00:00
Terry Wilson
a0eb30ea43 Properly ignore AST_CONTROL_UPDATE_RTP_PEER in more places
After the change in r336294, the new AST_CONTROL_UPDATE_RTP_PEER frame
is sent when a re-invite happens. If we receive a re-invite from a device
the waitstream_core was not aware of the new control frame and would drop
the call.

(closes issue ASTERISK-18610)
	Reported by: Kristijan_Vrban


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-10-03 18:40:52 +00:00
Richard Mudgett
4d9b980ab8 Fix segfault in analog_ss_thread() not checking ast_read() for NULL.
NOTE: The problem was reported against v1.6.2.  It is unlikely to ever
happen on v1.8 and above since chan_dahdi.c:analog_ss_thread() is unlikely
to be used.  The version in sig_analog.c has largely replaced it.

(closes issue ASTERISK-18648)
Reported by: Stephan Bosch
Patches:
      jira_asterisk_18648_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Stephan Bosch


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 22:05:10 +00:00
Jonathan Rose
f33e20e5b1 Adds documentation for QueueMemberStatus event generation
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 18:54:30 +00:00
Richard Mudgett
c9546515e5 Fix formatting of AMI header for SIP show peer.
ASTERISK-17486 exposed the problem for AMI parsers.

(closes issue ASTERISK-18649)
Reported by: Jacek Konieczny
Patches:
      asterisk-sipshowpeer_response_end.patch (license #6298) patch uploaded by Jacek Konieczny


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 16:27:21 +00:00
TransNexus OSP Development
7d656e1330 Remove r338137 and r338138.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-30 09:31:48 +00:00
Paul Belanger
85e96b0b7a Test modules should depend on the TEST_FRAMEWORK flag
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338555 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 21:12:21 +00:00
Jason Parker
23acd67877 Test modules have a support level of core.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 20:54:13 +00:00
Leif Madsen
be71dfc76b Update documentation for SIP_HEADER.
The SIP_HEADER function only works on the the initial SIP INVITE. The documentation was updated
in trunk, but not in 1.8 or 10, so I'm making them match.

(Closes issue ASTERISK-18640)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 18:31:33 +00:00
Gregory Nietsky
e7d6d7ee19 The rtptimeout setting is ignored on a per peer basis.
Not only is the rtptimeout ignored in some cases but 
rtpkeepalive and rtpholdtimeout is affected.

this commit also removes rtptimeout/rtpholdtimeout on
text rtp.

(closes issue ASTERISK-18559)

Review: https://reviewboard.asterisk.org/r/1452


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-29 12:13:05 +00:00
Richard Mudgett
8711d897d0 Make duplicate call ptr warning message more helpful.
* Adds the value of the call ptr to the duplicate call ptr message to help
trace why there is a duplicate call ptr.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338322 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 22:35:52 +00:00
Richard Mudgett
3c50ae5bb5 Fix inconsistency in LOG_VERBOSE/AST_LOG_VERBOSE declaration.
(closes issue ASTERISK-17973)
Reported by: Luke H
Patches:
      logger_h.patch (license #6278) patch uploaded by Luke H


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338235 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 21:17:45 +00:00
Jason Parker
529ab3ad50 Add support levels to non-module sections of menuselect (cflags, utils, etc).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 20:52:47 +00:00
Richard Mudgett
b535088ac6 Fix chan_dahd compiling with gcc 4.6 when PRI and SS7 not present.
(closes issue ASTERISK-18357)
Reported by: Matthew Nicholson


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 20:24:41 +00:00
TransNexus OSP Development
915a93650b Updated for checking OSP Toolkit version 4.0.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338138 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 07:28:43 +00:00
TransNexus OSP Development
9e2e3778af Updated for OSP Toolkit 4.0.0.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-28 07:27:07 +00:00
Paul Belanger
32fc932cf5 Upgrade app_macro to core
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@338084 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-27 20:10:13 +00:00
Richard Mudgett
f2e1640435 Fix deadlock when using dummy channels.
Dummy channels created by ast_dummy_channel_alloc() should be destoyed by
ast_channel_unref().  Using ast_channel_release() needlessly grabs the
channel container lock and can cause a deadlock as a result.

* Analyzed use of ast_dummy_channel_alloc() and made use
ast_channel_unref() when done with the dummy channel.  (Primary reason for
the reported deadlock.)

* Made app_dial.c:dial_exec_full() not call ast_call() holding any channel
locks.  Chan_local could not perform deadlock avoidance correctly.
(Potential deadlock exposed by this issue.  Secondary reason for the
reported deadlock since the held lock was part of the deadlock chain.)

* Fixed some uses of ast_dummy_channel_alloc() not checking the returned
channel pointer for failure.

* Fixed some potential chan=NULL pointer usage in func_odbc.c.  Protected
by testing the bogus_chan value.

* Fixed needlessly clearing a 1024 char auto array when setting the first
char to zero is enough in manager.c:action_getvar().

(closes issue ASTERISK-18613)
Reported by: Thomas Arimont
Patches:
      jira_asterisk_18613_v1.8.patch (license #5621) patch uploaded by rmudgett
Tested by: Thomas Arimont


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-26 19:30:39 +00:00
Gregory Nietsky
234ee31f62 Spelling fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 19:14:30 +00:00
Gregory Nietsky
3b2f5e7d4c Make sure a CDR is on the stack for call in the Queue.
Only let update_cdr act on the last CDR in the stack.

In some circumstances [Attended transfer to queue] a 
CDR record is not inserted for this call where it should.

(closes issue ASTERISK-18567)

Review: https://reviewboard.asterisk.org/r/1266



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 08:34:03 +00:00
Russell Bryant
b50b776427 Comment out entries in sample res_pktccops.conf.
With these options enabled, they can cause Asterisk to freak out by
SYN flooding a network and eating the CPU.  Obviously it would be good to
fix the code so that this can't happen, but we can at least change the default
configuration so it doesn't happen.

This was reported downstream to the Fedora issue tracker:

    https://bugzilla.redhat.com/show_bug.cgi?id=658431


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337774 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-23 00:44:19 +00:00