projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d442ffd
)
Stasis: Correct blind transfer message generation
author
Kinsey Moore
<kmoore@digium.com>
Thu, 7 Aug 2014 21:17:05 +0000
(21:17 +0000)
committer
Kinsey Moore
<kmoore@digium.com>
Thu, 7 Aug 2014 21:17:05 +0000
(21:17 +0000)
This fixes the json object creation format string and key name for the
BridgeBlindTransfer Stasis event allowing it to be published properly.
........
Merged revisions 420414 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@420415
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
main/stasis_bridges.c
patch
|
blob
|
history
diff --git
a/main/stasis_bridges.c
b/main/stasis_bridges.c
index
ced5c43
..
7b61ce3
100644
(file)
--- a/
main/stasis_bridges.c
+++ b/
main/stasis_bridges.c
@@
-651,10
+651,10
@@
static struct ast_json *blind_transfer_to_json(struct stasis_message *msg,
}
}
- out = ast_json_pack("{s: s, s: o, s: o, s: o, s: s, s: s, s: s, s: o}",
+ out = ast_json_pack("{s: s, s: o, s: o, s: s, s: s, s: s, s: o}",
"type", "BridgeBlindTransfer",
"timestamp", ast_json_timeval(*tv, NULL),
- "transferer", json_transferer,
+ "channel", json_transferer,
"exten", transfer_msg->exten,
"context", transfer_msg->context,
"result", result_strs[transfer_msg->result],