Stasis: Convey transfer information to applications
authorKinsey Moore <kmoore@digium.com>
Thu, 7 Aug 2014 15:30:19 +0000 (15:30 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 7 Aug 2014 15:30:19 +0000 (15:30 +0000)
commit0ac7f96057fb9fc0d012515f47bfea8d63eb5199
tree8f807ace812c5d8d1cccb01b021ae050e975e550
parenta8829490b6b9891b352e39f3846de1f274ca632c
Stasis: Convey transfer information to applications

This fixes a class of issues where Stasis applications were not made
aware that their channels were being manipulated or replaced by
external entitiessuch as transfers, AMI commands, or dialplan
applications such as Bridge(). Inconsistent information such as
StasisEnd events with unknown channels as a result of masquerades has
also been corrected. To accomplish these fixes, several new fields
were added to blind and attended transfer messages as well as
StasisStart and BridgeAttendedTransfer Stasis events.

ASTERISK-23941 #close
Review: https://reviewboard.asterisk.org/r/3865/
Review: https://reviewboard.asterisk.org/r/3857/
Review: https://reviewboard.asterisk.org/r/3852/
Review: https://reviewboard.asterisk.org/r/3816/
Review: https://reviewboard.asterisk.org/r/3731/
Review: https://reviewboard.asterisk.org/r/3729/
Review: https://reviewboard.asterisk.org/r/3728/
........

Merged revisions 420325 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
22 files changed:
apps/app_queue.c
include/asterisk/bridge_features.h
include/asterisk/datastore.h
include/asterisk/stasis_app.h
include/asterisk/stasis_bridges.h
main/bridge.c
main/bridge_basic.c
main/cel.c
main/channel.c
main/stasis_bridges.c
res/ari/ari_model_validators.c
res/ari/ari_model_validators.h
res/res_stasis.c
res/stasis/app.c
res/stasis/app.h
res/stasis/command.c
res/stasis/command.h
res/stasis/control.c
res/stasis/control.h
res/stasis/stasis_bridge.c
rest-api/api-docs/events.json
tests/test_cel.c