Asterisk bridge: Difference between revisions
(→Types) |
|||
Line 18: | Line 18: | ||
== See also == | == See also == | ||
* https://wiki.asterisk.org/wiki/display/AST/Introduction+to+ARI+and+Bridges | * https://wiki.asterisk.org/wiki/display/AST/Introduction+to+ARI+and+Bridges | ||
* https://wiki.asterisk.org/wiki/pages/viewpage.action?pageId=29396294 | |||
[[category:asterisk]] | [[category:asterisk]] |
Revision as of 13:48, 4 July 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.
Depending on the combination of attributes selected when a bridge is created, different mixing technologies may be used for the participants in the bridge. Asterisk will attempt to use the most performant mixing technology that it can based on the channel types in the bridge, subject to the attributes specified when the bridge was created.