[asterisk-dev] Introducing the new ConfBridge
Michael L. Young
myoung at acsacc.com
Wed Feb 23 15:37:13 CST 2011
----- Original Message -----
> From: "David Vossel" <dvossel at digium.com>
> To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
> Sent: Wednesday, February 23, 2011 3:04:03 PM
> Subject: [asterisk-dev] Introducing the new ConfBridge
> --- Sample Configuration exercising these concepts.
> ; The general section is used to build the default bridge and user
> profile. Both bridge
> ; and user options can be declared here under this section. When
> ConfBridge is called without
> ; any bridge or user profile arguments, the options in this section
> are exercised.
> mix_sample_rate=dynamic ;adjust to best quality sample rate for the
> channels joined.
> denoise=yes ; denoise every channel that joins the bridge
> ; Custom Bridge profiles can be made. These options take precedence
> over the general section when
> ; this profile is used.
> mix_sample_rate=32khz ;fixed 32khz internal sample rate for mixing.
> ; Custom user profile can be made as well. All users who join
> ; with this profile will be muted by default.
> ; Custom Menus are created by mapping DTMF sequences to ConfBridge
> ; actions. This is a custom menu for the silent users so they can
> ; adjust their listening volume.
> ; Any number of user profiles can be created and applied to a
> ; single bridge. Channels joining the bridge with this
> ; user profile will be asked for a pin and be marked as
> ; a moderator.
> ; This menu is not that useful and is just for example purposes.
> ; It shows how more complex menu structures can be created.
> '*'=playback_continue(conf-menu) ;play a prompt while continuing to
> gather DTMF sequence
> '*3'=toggle_deaf, toggle_mute ;notice multiple actions can be
> associated with a single DTMF sequence
> '*5'=playback_continue(conf-menu2) ;play another prompt while
> collecting more of the DTMF sequence
> --- Using the sample configuration in the dialplan with the
> ConfBridge app.
> ; users who can only listen to the conference call this extension
> exten => muted_listener,1,Answer()
> exten => muted_listener,n,ConfBridge(1111, custom_bridge,
> silent_user, silent_menu)
> ;Moderators call this extension but have to put in a pin because they
> are a moderator_user.
> exten => moderator,1,Answer()
> exten => moderator,n,Conf(1111, custom_bridge, moderator_user,
I would suggest changing the menu around:
type = menu
playback_continue = '*'(conf-menu) ;play a prompt while continuing to gather DTMF sequence
toggle_mute = '*1'
toggle_deaf = '*2'
toggle_deaf, toggle_mute = '*3' ;notice multiple actions can be associated with a single DTMF sequence
dialplan_exec = '*4'(context,priority)
playback_continue = '*5'(conf-menu2) ;play another prompt while collecting more of the DTMF sequence
increase_tx_volume = '*51'
decrease_tx_volume = '*52'
increase_rx_volume = '*53'
decrease_rx_volume = '*54'
This just feels more natural.
Michael L. Young
More information about the asterisk-dev