ConfBridge Function Slight Change From 11 To 13

Home » Asterisk Users » ConfBridge Function Slight Change From 11 To 13
Asterisk Users 1 Comment

Hi,

I have been using ConfBridge since Asterisk 11, and I recently upgraded a server to 13. While everything that needed fixing seems fixed, I have an issue that does not seem documented anywhere.

The way I used ConfBridge is that I have a standard bridge profile, user profile and menu that (almost) everyone uses. I call the ConfBridge this way:

exten => s,1,Confbridge(some_id,bridge_basic,user_basic,admin_menu_basic)

But, even though everyone uses the same basic config, each conference has a different NIP to get it. So what I USED to do is this:

exten => s,1,Set(CONFBRIDGE(user,pin)=123456)

exten => s,2,Confbridge(some_id,bridge_basic,user_basic,admin_menu_basic)

This, as far as I could tell on Asterisk 11, meant that the user_basic profile was used, but whatever default PIN present in confbridge.conf was

One thought on - ConfBridge Function Slight Change From 11 To 13

  • You have to explicitly create your dynamic user profile based upon the desired user profile first. Otherwise, it uses the “default_user” profile as the basis of the dynamic profile.

    ; Use a non-default user profile as the basis of the dynamic user profile exten = 1111,1,NoOp()
    same = n,Set(CONFBRIDGE(user,template)=user_basic)
    same = n,Set(CONFBRIDGE(user,pin)=123456)
    same = n,ConfBridge(some_id,bridge_basic,,admin_menu_basic)

    ; Use the default “default_user” profile as the basis of the dynamic user profile exten = 2222,1,NoOp()
    same = n,Set(CONFBRIDGE(user,pin)=123456)
    same = n,ConfBridge(some_id,bridge_basic,,admin_menu_basic)

    If you explicitly specify a bridge, user, or menu profile to ConfBridge then that is what gets used regardless of any dynamic profile you created.

    See the online documentation:
    core show application ConfBridge or https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_ConfBridge

    config show help app_confbridge user_profile template or https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Configuration_app_confbridge

    Richard