[Home]

Summary:ASTERISK-24898: Confbridge ignores default_user/bridge when using CONFBRIDGE function
Reporter:Dennis (Cine)Labels:
Date Opened:2015-03-20 06:25:28Date Closed:2015-03-22 18:44:59
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:12.8.1 13.2.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:Attachments:
Description:If your dialplan contains a single call to Set(CONFBRIDGE,
e.g. Set(CONFBRIDGE(user,quiet)=yes)
then all settings in confbridge.conf is ignored, even though starting the confbridge without a user (or bridge).

Looking at the forums and google, this seems to be a major problem that people just dont understand why the settings in confbridge.conf doesnt do anything.

It would make sense if there is a CONFBRIDGE_LOAD_DEFAULTS(user,default_user) function, and a warning issued when making a dynamic user without a call to this function. (and similar for bridge)
Comments:By: Matt Jordan (mjordan) 2015-03-22 18:44:42.934-0500

This option already exists via the {{template}} option:

{code}
exten => 1,n,Set(CONFBRIDGE(user,template)=default_user)
{code}

In fact, it is even documented in the second example in the help for {{CONFBRIDGE}}:

{quote}
{noformat}
---- Example 2 ----
This example shows how to use a predefined user or bridge profile in
confbridge.conf as a template for a dynamic profile. Here we make a admin
/marked user out of the default_user profile that is already defined in
confbridge.conf.
exten => 1,1,Answer()
exten => 1,n,Set(CONFBRIDGE(user,template)=default_user)
exten => 1,n,Set(CONFBRIDGE(user,admin)=yes)
exten => 1,n,Set(CONFBRIDGE(user,marked)=yes)
exten => 1,n,ConfBridge(1)
{noformat}
{quote}