func_channel.c: Add missing locking to some CHANNEL() requests.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 5 Sep 2014 20:38:27 +0000 (20:38 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 5 Sep 2014 20:38:27 +0000 (20:38 +0000)
commit025bd1bf3fa929221e7fa4093f94ea797eaf813d
tree9e45cee90f89296b7ff28757485cc3e6104b3e00
parent85878c4dd86dc80e387588acbd689835047279a7
func_channel.c: Add missing locking to some CHANNEL() requests.

* The CHANNEL() audionativeformat, videonativeformat, audioreadformat, and
audiowriteformat now need locking since the media format rework when
accessing the channel's format pointers.

* Increased the buffer size for CHANNEL() audionativeformat and
videonativeformat output strings since the allow=all can be a lengthy
list.

* Tweaked the CHANNEL() XML documentation for secure_bridge_signaling,
secure_bridge_media, and state.

* Ensured the output buffer is initialized for secure_bridge_signaling and
secure_bridge_media.

* Made use the locked_copy_string() macro instead of inlining it for trace
and checkhangup.
........

Merged revisions 422700 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_channel.c