confbridge: Fix several small issues.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 5 Dec 2012 01:11:26 +0000 (01:11 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 5 Dec 2012 01:11:26 +0000 (01:11 +0000)
commitddad7cf4bd2d8d1ad4d244d07eb1e4f256a7205d
treebd1ce9169a456985820704763d89793570a1ec84
parent61c2017d1fcfd7c3312f5e6024c08d0f7656c13a
confbridge: Fix several small issues.

* Made func_confbridge_helper() allow an empty value when setting options.
You previously could not Set(CONFBRIDGE(user,pin)=) and clear the
configured pin from the dialplan.

* Made func_confbridge_helper() handle its datastore better if multiple
threads attempt to set the first CONFBRIDGE option value on the channel.

* Made the func_confbridge_helper() only output one diagnostic message
concerning the option.

* Made the bridge video_mode able to repeatedly change in the config file
and CONFBRIDGE dialplan function.  The video_mode option values are an
enum and not independent of each other.

* Made handle_cli_confbridge_show_bridge_profile() better handle the
video_mode option.

* Simplified datastore handling code in conf_find_user_profile() and
conf_find_bridge_profile().

(closes issue ASTERISK-20655)
Reported by: Birger "WIMPy" Harzenetter
........

Merged revisions 377227 from http://svn.asterisk.org/svn/asterisk/branches/10
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@377229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/confbridge/conf_config_parser.c