Asterisk func CONFBRIDGE

CONFBRIDGE

Synopsis:

Set a custom dynamic bridge and user profile on a channel for the ConfBridge application using the same options defined in confbridge.conf.

Syntax:

CONFBRIDGE_INFO(type,option)

Arguments:

  • type: Type refers to which type of profile the option belongs to. Type can be 'bridge' or 'user'.
  • option: Option refers to "confbridge.conf" option that is being set dynamically on the current channel.

Return value

Returns the resulting value.

Examples

In this example the custom set user profile on this channel will automatically be used by the ConfBridge app.
exten => 1,1,Answer()
same => n,Set(CONFBRIDGE(user,announce_join_leave)=yes)
same => n,Set(CONFBRIDGE(user,startmuted)=yes)
same => n,ConfBridge(1)

This example shows how to use a predefined user or bridge profile in confbridge.conf as a template for a dynamic profile. Here we make a admin/marked user out of the default_user profile that is already defined in confbridge.conf.
exten => 1,1,Answer()
same => n,Set(CONFBRIDGE(user,template)=default_user)
same => n,Set(CONFBRIDGE(user,admin)=yes)
same => n,Set(CONFBRIDGE(user,marked)=yes)
same => n,ConfBridge(1)

See also


CONFBRIDGE

Synopsis:

Set a custom dynamic bridge and user profile on a channel for the ConfBridge application using the same options defined in confbridge.conf.

Syntax:

CONFBRIDGE_INFO(type,option)

Arguments:

  • type: Type refers to which type of profile the option belongs to. Type can be 'bridge' or 'user'.
  • option: Option refers to "confbridge.conf" option that is being set dynamically on the current channel.

Return value

Returns the resulting value.

Examples

In this example the custom set user profile on this channel will automatically be used by the ConfBridge app.
exten => 1,1,Answer()
same => n,Set(CONFBRIDGE(user,announce_join_leave)=yes)
same => n,Set(CONFBRIDGE(user,startmuted)=yes)
same => n,ConfBridge(1)

This example shows how to use a predefined user or bridge profile in confbridge.conf as a template for a dynamic profile. Here we make a admin/marked user out of the default_user profile that is already defined in confbridge.conf.
exten => 1,1,Answer()
same => n,Set(CONFBRIDGE(user,template)=default_user)
same => n,Set(CONFBRIDGE(user,admin)=yes)
same => n,Set(CONFBRIDGE(user,marked)=yes)
same => n,ConfBridge(1)

See also


Created by: bcnit, Last modification: Fri 17 of Feb, 2012 (13:09 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+