Asterisk bridge: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
(Created page with "== Overview == Asterisk bridge 내용정리. == Basic == 하나의 Bridge 에 여러개의 channel 이 Ringing 상태로 있는 상태에서 category:asterisk")
 
Line 3: Line 3:


== Basic ==
== Basic ==
하나의 Bridge 에 여러개의 channel 이 Ringing 상태로 있는 상태에서
In Asterisk, bridges can be thought of as a container for channels that form paths of communication between the channels contained within them. They can be used to pass media back and forth between the channels, as well as to play media to the various channels in a variety of ways.
 
== Bridges in a Stasis Application ==
=== Types ===
When a bridge is created through ARI, there are a number of attributes that can be specified that determine how the bridge mixes media between its participants.
 
* mixing: Specify that media should be passed between all channels in the bridge. This attribute cannot be used with holding.
* dtmf_events: Specify that media should be decoded within Asterisk so that DTMF can be recognized. If this is not specified, then DTMF events may not be raised due to the media being passed directly between the channels in the bridge. This attribute only impacts how media is mixed when the mixing attribute is used.
* proxy_media: Specify that media should always go through Asterisk, even if it could be redirected between clients. This attribute only impacts how media is mixed when the mixing attribute is used.
* holding: Specify that the channels in the bridge should be entertained with some media. Channels in the bridge have two possible roles(a participant or an announcer). Media between participant channels is not shared; media from an announcer channel is played to all participant channels.
 
== See also ==
* https://wiki.asterisk.org/wiki/display/AST/Introduction+to+ARI+and+Bridges


[[category:asterisk]]
[[category:asterisk]]

Revision as of 12:13, 4 May 2020

Overview

Asterisk bridge 내용정리.

Basic

In Asterisk, bridges can be thought of as a container for channels that form paths of communication between the channels contained within them. They can be used to pass media back and forth between the channels, as well as to play media to the various channels in a variety of ways.

Bridges in a Stasis Application

Types

When a bridge is created through ARI, there are a number of attributes that can be specified that determine how the bridge mixes media between its participants.

  • mixing: Specify that media should be passed between all channels in the bridge. This attribute cannot be used with holding.
  • dtmf_events: Specify that media should be decoded within Asterisk so that DTMF can be recognized. If this is not specified, then DTMF events may not be raised due to the media being passed directly between the channels in the bridge. This attribute only impacts how media is mixed when the mixing attribute is used.
  • proxy_media: Specify that media should always go through Asterisk, even if it could be redirected between clients. This attribute only impacts how media is mixed when the mixing attribute is used.
  • holding: Specify that the channels in the bridge should be entertained with some media. Channels in the bridge have two possible roles(a participant or an announcer). Media between participant channels is not shared; media from an announcer channel is played to all participant channels.

See also