Confbridge Options

Home » Asterisk Users » Confbridge Options
Asterisk Users 2 Comments

Hi,

I’m doing an evaluation of Confbridge (migrating from Meetme). Looking at: https://wiki.asterisk.org/wiki/display/AST/ConfBridge+10
Under the heading “User Profile Configuration Options” the option announce_only_user is present. The sample config looks like this:

2 thoughts on - Confbridge Options

  • 2014-04-04 22:01, Johan Wilfer skrev:

    Looked at the wrong file for config parsing, sorry for the noise. But the option is not respected thought.

    Reading the source I get the impression that the intended behavior is:

    1. Read “sound_only_person” if not flags “quiet” or “announce_only_user”
    is set. (apps/app_confbridge.c:1099)
    2. No join sounds if flag “quiet” is set. (apps/app_confbridge.c:1714)

    But this is not what happens with 11.8.1, this is the bridge/user:

    [conference_bridge]
    type=bridge

    [conference_user]
    type=user admin=no marked=no startmuted=no announce_only_user=no quiet=yes

    With this I get join sounds played, and only_user is announced as well..

  • 2014-04-04 23:33, Johan Wilfer skrev:

    I should have gone to sleep I think, my brain doesn’t work. I think I
    get it now however.

    Short version:
    With dynamic user profiles, CONFBRIDGE(user,template)=user_profile) must be used. The profile supplied in ConfBridge is ignored and I missed that. The end.

    Long version:

    This works:
    ConfBridge(1,conference_bridge,conference_user);

    dev02*CLI> confbridge list 1
    Channel User Profile Bridge Profile Menu
    CallerID Muted
    ============================== ================ =============================== ================ ====SIP/jttech_sip2-00000004 conference_user conference_bridge
    No

    But this does not:
    Set(CONFBRIDGE(user,startmuted)=no);
    ConfBridge(1,conference_bridge,conference_user);

    dev02*CLI> confbridge list 1
    Channel User Profile Bridge Profile Menu
    CallerID Muted
    ============================== ================ =============================== ================ ====SIP/jttech_sip2-00000005 conference_bridge
    No

    I expected Confbridge to use the supplied user_profile as a template and overlay the specific settings I set with CONFBRIDGE(user) on top of that profile. But instead it seems like the default profile is used.

    This however works (I should have read the docs more carefully):

    Set(CONFBRIDGE(user,template)=conference_user);
    Set(CONFBRIDGE(user,startmuted)=no);
    ConfBridge(1,conference_bridge);

    dev02*CLI> confbridge list 1
    Channel User Profile Bridge Profile Menu
    CallerID Muted
    ============================== ================ =============================== ================ ====SIP/jttech_sip2-00000007 conference_user conference_bridge
    Yes

    With dynamic user profiles, CONFBRIDGE(user,template)=user_profile) must be used. The profile supplied in ConfBridge is ignored if one is present.

    I didn’t expect that…