Ensure that the default bridge/user profiles are always available
authorMatthew Jordan <mjordan@digium.com>
Tue, 26 Feb 2013 15:26:16 +0000 (15:26 +0000)
committerMatthew Jordan <mjordan@digium.com>
Tue, 26 Feb 2013 15:26:16 +0000 (15:26 +0000)
commit33e4c6115fe0ce4339d84d8701c89a8cb51d4583
treefc3977af9de67b027b047adb304da19c4f1ecf9d
parent9ad3e219c4aed1d41e6d3af0f2b5d115664920c5
Ensure that the default bridge/user profiles are always available

ConfBridge and Page require that there always be a default bridge and user
profile available. While properties of the default profiles can be overriden
in the configuration file, removing them can create situations where neither
application can function properly.

This patch ensures that if an administrator removes the profiles from the
confbridge.conf configuration file, the profiles are added upon load.
Documentation clarifying this has been added to the confbridge.conf.sample file.

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

(closes issue AST-1115)
Reported by: John Bigelow
Tested by: John Bigelow
........

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

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