CONFBRIDGE(type,option)
A custom profile uses the default profile type settings defined in confbridge.conf as defaults if the profile template is not explicitly specified first.
For bridge profiles the default template is default_bridge.
For menu profiles the default template is default_menu.
For user profiles the default template is default_user.
---- Example 1 ----
In this example the custom user profile set on the channel will automatically be used by the ConfBridge application.
exten => 1,1,Answer()
; In this example the effect of the following line is
; implied:
same => n,Set(CONFBRIDGE(user,template)=default_user)
same => n,Set(CONFBRIDGE(user,announce_join_leave)=yes)
same => n,Set(CONFBRIDGE(user,startmuted)=yes)
same => n,ConfBridge(1)
---- Example 2 ----
This example shows how to use a predefined user profile in confbridge.conf as a template for a dynamic profile. Here we make an admin/marked user out of the my_user profile that you define in confbridge.conf.
exten => 1,1,Answer()
same => n,Set(CONFBRIDGE(user,template)=my_user)
same => n,Set(CONFBRIDGE(user,admin)=yes)
same => n,Set(CONFBRIDGE(user,marked)=yes)
same => n,ConfBridge(1)
typerequired - To what type of conference profile the option applies.bridgemenuuser
optionrequired - Option refers to aconfbridge.confoption that is being set dynamically on this channel, orclearto remove already applied profile options from the channel.
User Notes
Know a tip or gotcha for this topic? Share it below and help others.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.