diff options
author | Kinsey Moore <kmoore@digium.com> | 2014-08-20 13:04:30 +0000 |
---|---|---|
committer | Kinsey Moore <kmoore@digium.com> | 2014-08-20 13:04:30 +0000 |
commit | 04f478212cf0a87e38bf1ad1369836116c7ca9f1 (patch) | |
tree | aeabd49f2f169fa09a231b193ab89311202d4c3e /tests | |
parent | bc588985878c8d5a4b9b634aa5c86a6a5947659e (diff) |
Stasis: Add information to blind transfer event
When a blind transfer occurs that is forced to create a local channel
pair to satisfy the transfer request, information about the local
channel pair is not published. This adds a field to describe that
channel to the blind transfer message struct so that this information
is conveyed properly to consumers of the blind transfer message.
This also fixes a bug in which Stasis() was unable to properly identify
the channel that was replacing an existing Stasis-controlled channel
due to a blind transfer.
Reported by: Matt Jordan
Review: https://reviewboard.asterisk.org/r/3921/
........
Merged revisions 421537 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@421538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_cel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cel.c b/tests/test_cel.c index b2a1fd3e5..017c48b47 100644 --- a/tests/test_cel.c +++ b/tests/test_cel.c @@ -1257,7 +1257,7 @@ AST_TEST_DEFINE(test_cel_blind_transfer) pair.channel = chan_alice; ast_bridge_lock(bridge); ast_bridge_publish_blind_transfer(1, AST_BRIDGE_TRANSFER_SUCCESS, - &pair, "transfer_context", "transfer_extension", NULL); + &pair, "transfer_context", "transfer_extension", NULL, NULL); ast_bridge_unlock(bridge); BLINDTRANSFER_EVENT(chan_alice, bridge, "transfer_extension", "transfer_context"); |