CONFBRIDGE()
Synopsis
Set a custom dynamic bridge or user profile on a channel for the ConfBridge application using the same options available in confbridge.conf.
Description
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 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)
Syntax
CONFBRIDGE(type,option)
Arguments
type
- To what type of conference profile the option applies.bridge
user
option
- Option refers to aconfbridge.conf
option that is being set dynamically on this channel.
See Also
Import Version
This documentation was imported from Asterisk Version GIT-11-3e0eafa