Fix some doxygen bridging file references.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396867 f38db490-d61c-443f-a65b-d21fe96a405b
Fix CLI "bridge kick <bridge> <channel>" to check if the bridge needs dissolving.

SIP/foo -- Local;1==Local;2 -- .... -- Local;1==Local;2 -- SIP/bar
Kick a ;1 channel and the chain toward SIP/foo goes away.
Kick a ;2 channel and the chain toward SIP/bar goes away.

This can leave a local channel chain between the kicked ;1 and ;2 channels
that are orphaned until you manually request one of those channels to
hangup or request the bridge to dissolve.

* Added ast_bridge_kick() as a companion to ast_bridge_remove().  The
functional difference is that ast_bridge_kick() may dissolve the bridge as
a result of the channel leaving the bridge.

* Made CLI "bridge kick <bridge> <channel>" use ast_bridge_kick() instead
of ast_bridge_remove() so the bridge can dissolve if needed.

* Renamed bridge_channel_handle_hangup() to ast_bridge_channel_kick() and
made it accessible to other files.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396877 f38db490-d61c-443f-a65b-d21fe96a405b
Strip down the old event system

This removes unused code, event types, IE pltypes, and event IE types
where possible and makes several functions private that were once
public. This includes a renumbering of the remaining event and IE types
which breaks binary compatibility with previous versions. The last
remaining consumers of the old event system (or parts thereof) are
main/security_events.c, res/res_security_log.c, tests/test_cel.c,
tests/test_event.c, main/cel.c, and the CEL backends.

Review: https://reviewboard.asterisk.org/r/2703/
(closes issue ASTERISK-22139)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396887 f38db490-d61c-443f-a65b-d21fe96a405b
Refactor CEL to avoid using the event system core

This removes usage of the event system for CEL backend data
distribution and strips unused pieces out of the event system.

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


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396888 f38db490-d61c-443f-a65b-d21fe96a405b
Allow res_parking to be unloadable

This change protects accesses of res_parking such that it can unload
safely once transient uses of its registered functions are complete.
The parking API has been restructured such that its consumers do not
have access to the vtable exposed by the parking provider, but instead
route through stubs to prevent consumers from holding on to function
pointers.

This adds calls to all the parking unload functions and moves
application loading and unloading into functions in
parking_applications.c similar to the rest of the parts of res_parking.

Review: https://reviewboard.asterisk.org/r/2763/
(closes issue ASTERISK-22142)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396890 f38db490-d61c-443f-a65b-d21fe96a405b
xml doc change for transport config object - remove non-applicable warning and add text regarding Asterisk restart 

(closes issue ASTERISK-22105)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396899 f38db490-d61c-443f-a65b-d21fe96a405b
xml doc changes for clarity - 'auth' config object and auth's 'auth_type' config option

(issue ASTERISK-22108)
(closes issue ASTERISK-22108)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396900 f38db490-d61c-443f-a65b-d21fe96a405b
'domain_alias' config object XML help doesn't make it clear that the name used for the object is the domain alias

(issue ASTERISK-22114)
(closes issue ASTERISK-22114)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396901 f38db490-d61c-443f-a65b-d21fe96a405b
xml doc changes for 'aor' config object and a few of its options

Added or modified text in the xml doc for the 'aor' config object to address a few issues:
* help for the 'mailboxes' option didn't make it clear how the "list" should be formatted.
* AoR object's involvement in inbound registration wasn't mentioned.
* help for the 'contact' option didn't describe how to specify multiple contacts.
* help for the 'max_contacts' option didn't tell whether it limited the amount of contacts defined through static configuration.

(issue ASTERISK-22118)
(closes issue ASTERISK-22118)


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396902 f38db490-d61c-443f-a65b-d21fe96a405b
Disable build of res_corosync until it is back in a compiling state

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396908 f38db490-d61c-443f-a65b-d21fe96a405b
Update chan_mgcp to the modified parking API

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396909 f38db490-d61c-443f-a65b-d21fe96a405b
Fix invalid access to disposed memory in main/data unit test

It is not safe to iterate over a macro'd list of ao2 objects, deref them such
that the item's destructor is called, and leave them in the list. The list
macro to iterate over items requires the item to be a valid allocated object
in order to proceed to the next item; with MALLOC_DEBUG on the corruption of
the linked list is caught in the crash.

This patch fixes the invalid access to free'd memory by removing the ao2 item
from the list before de-refing it.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396915 f38db490-d61c-443f-a65b-d21fe96a405b
Whitespace cleanup

Remove some extraneous blobs


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396922 f38db490-d61c-443f-a65b-d21fe96a405b
attended transfers: Fix a bug affecting external blond transfers

Performing a blond transfer (attended transfer that is completed
before the transfer recipient picks up) externally through chan_sip
or chan_pjsip would result in lost references to the channels
involved with the transfer as well as their bridge.

(closes issue ASTERISK-22092)
Reported by: mmichelson
Review: https://reviewboard.asterisk.org/r/2766/


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396923 f38db490-d61c-443f-a65b-d21fe96a405b
Update BUGBUG comment.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396930 f38db490-d61c-443f-a65b-d21fe96a405b
Resolve conflicts between CONFFLAG_DONT_DENOISE and CONFFLAG_INTROUSER_VMREC

When r382230 added an option to not denoise the MeetMe conference (if a user
had a channel whose format's sample rate changed frequently, for example),
the value added was the maximum allowed value for the constants that define
the options for MeetMe in 1.8. Not so in 11 - unfortunately, the option
CONFFLAG_DONT_DENOISE conflicts with CONFFLAG_INTROUESR_VMREC. This patch
fixes that, and also tweaks one of the way in which the constants was
declared for consistency.

Thanks to Tony Mountifield for pointing out the problem and solution.

(closes issue ASTERISK-22269)
Reported by: Tony Mountifield
........

Merged revisions 396944 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396946 f38db490-d61c-443f-a65b-d21fe96a405b
Let Queue wrap up time influence member availability

Queue members who happen to be in multiple queues at the same time may not
have any wrap up time. This problem occurred due to a code change in Asterisk
11.3.0 that unified device state tracking of Queue members in multiple
Queues (which fixed some other problems, but unfortunately caused this one).

This patch fixes the behavior by having the is_member_available function
check the queue's wrap up time and the time of the member's last call, such
that for a particular queue, the member won't be considered available if their
last call is within the wrap up time.

(closes issue ASTERISK-22189)
Reported by: Tony Lewis
Tested by: Tony Lewis
........

Merged revisions 396948 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396949 f38db490-d61c-443f-a65b-d21fe96a405b
Remove assumption in res_pjsip_dtmf_info that all INFO messages will contain a body.

(closes issue ASTERISK-22320)
Reported by: Matt Jordan


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396993 f38db490-d61c-443f-a65b-d21fe96a405b
Add "autoframing" option to sip.conf.sample and h323.conf.sample.

The autoframing option was added to chan_sip.c in r43243 (mogorman,
2006-09-19 01:32:57), but never made its way into the sample configs.

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

Merged revisions 396994 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 396995 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@396996 f38db490-d61c-443f-a65b-d21fe96a405b
Blocked revisions 397034

........
Protect CEL from an invalid config on reload

This patch fixes CEL to properly handle an invalid config on reload.

(closes issue ASTERISK-22259)
Reported by: Corey Farrell
Tested by: Corey Farrell
Patches:
    cel-config.patch uploaded by Corey Farrell
........

Merged revisions 397033 from http://svn.asterisk.org/svn/asterisk/branches/1.8


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@397035 f38db490-d61c-443f-a65b-d21fe96a405b