[Home]

Summary:ASTERISK-25300: ConfBridge() in 13.1-cert2 is not combining configuration from static text config file with dynamic config in dialplan with CONFBRIDGE function.
Reporter:Justin Hester (jhester)Labels:
Date Opened:2015-08-03 13:45:52Date Closed:2015-08-03 17:28:08
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:Frequency of
Occurrence
Related
Issues:
Environment:centOS 6.6 x64, Asterisk 13.1-cert2, D70 and a D40.Attachments:( 0) CB-confbridge.conf
( 1) CB-extensions.conf
Description:Configuration in /etc/asterisk/confbridge.conf to define bug_user and bug_admin profiles works. But commenting out marked_user=true from bug_admin section and instead using Set(CONFBRIDGE(user,marked)=true) for the conference leader fails to set the caller as the marked user.
Comments:By: Asterisk Team (asteriskteam) 2015-08-03 13:45:53.811-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

By: Justin Hester (jhester) 2015-08-03 14:01:33.636-0500

With the attached config files, two chan_sip phones with context=features can demonstrate the expected behavior.
1. bug_user dials 8800 from their phone, "the conference will  begin with the leader arrives", and then wait music.
2. bug_admin dials 8801 from their phone, "there is currently one other participant in this conference". Then the regular user hears "the conference is starting" (or something like that). Now a conference is underway.
3. bug_admin hangs up, bug_user hears "You have been kicked from this conference and Asterisk disconnects bug_user.

To reproduce the bug uncomment the second line of the 8801 extension and add a comment to the "marked=true" line of [bug_admin] section in confbridge.conf.

Repeating the same test as above indicates the CONFBRIDGE() function settings are ignored if ConfBridge() specifies a user profile. Basically I can't combine settings as before.
I've repeated this with one other setting (music_on_hold_when_empty) to the same effect.

By: Richard Mudgett (rmudgett) 2015-08-03 17:09:50.380-0500

This is user error.  You need to add a template line if you want other values from the bug_admin user profile and you cannot specify the user profile in the ConfBridge application parameters because that will override the dynamic profile created:
{noformat}
...
same => n,Set(CONFBRIDGE(user,template)=bug_admin)
same => n,Set(CONFBRIDGE(user,marked)=true)
same => n,ConfBridge(bug_conf)
...
{noformat}

Without the template line the user profile is only going to have the marked=true setting and *nothing* else.

This is described by the online documentation for the {{CONFBRIDGE}} function and the {{ConfBridge}} application.
See "core show function CONFBRIDGE" documentation.
See "core show application ConfBridge" documentation.

By: Rusty Newton (rnewton) 2015-08-03 17:28:08.589-0500

[~jhester] if you feel like documentation is insufficient please feel free to file a documentation improvement issue. Thanks!