diff options
author | Joshua Colp <jcolp@digium.com> | 2014-02-01 16:26:57 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2014-02-01 16:26:57 +0000 |
commit | e5899852cc61a3f0a53707c2099ba35380198c69 (patch) | |
tree | 1e666f922e49c58044bf4288789d544bcdbc3b7d /res/res_stasis.c | |
parent | ccf8b48f14ffdf535de465c7b1d8e2dc7779fc00 (diff) |
res_stasis: Enable transfers and provide events when they occur.
This change enables transfers within ARI created bridges and adds events
for when they occur. Unlike other events these will be received if *any*
subscribed object is involved in the transfer.
(closes issue ASTERISK-22984)
Reported by: David M. Lee
Review: https://reviewboard.asterisk.org/r/3120/
........
Merged revisions 407153 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_stasis.c')
-rw-r--r-- | res/res_stasis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_stasis.c b/res/res_stasis.c index 32de9a041..f6fc0ac6e 100644 --- a/res/res_stasis.c +++ b/res/res_stasis.c @@ -591,7 +591,7 @@ struct ast_bridge *stasis_app_bridge_create(const char *type, const char *name) int capabilities; int flags = AST_BRIDGE_FLAG_MERGE_INHIBIT_FROM | AST_BRIDGE_FLAG_MERGE_INHIBIT_TO | AST_BRIDGE_FLAG_SWAP_INHIBIT_FROM | AST_BRIDGE_FLAG_SWAP_INHIBIT_TO - | AST_BRIDGE_FLAG_TRANSFER_PROHIBITED; + | AST_BRIDGE_FLAG_TRANSFER_BRIDGE_ONLY; if (ast_strlen_zero(type) || !strcmp(type, "mixing")) { capabilities = AST_BRIDGE_CAPABILITY_1TO1MIX | |