summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-08-29 15:43:23 +0000
committerMark Michelson <mmichelson@digium.com>2013-08-29 15:43:23 +0000
commit0bc2a773657fd2d3d8841e2421ca99b486311204 (patch)
treef085737c3b114fea03b337ddbe9c043811a0e929 /apps/app_queue.c
parent72cf2779e8a35c1bfc5cc63a7991c8900a712d5c (diff)
Multiple revisions 397921-397922
........ r397921 | mmichelson | 2013-08-29 10:42:10 -0500 (Thu, 29 Aug 2013) | 6 lines Resolve assumptions that bridge snapshots would be non-NULL for transfer stasis events. Attempting to transfer an unbridged call would result in crashes in either CEL code or in the conversion to AMI messages. ........ r397922 | mmichelson | 2013-08-29 10:42:29 -0500 (Thu, 29 Aug 2013) | 3 lines Remove extra debug message. ........ Merged revisions 397921-397922 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@397923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 9471c6eca..694527e4f 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -5431,7 +5431,7 @@ static void handle_blind_transfer(void *userdata, struct stasis_subscription *su
return;
}
- if (ast_json_integer_get(result_blob) == AST_BRIDGE_TRANSFER_FAIL) {
+ if (ast_json_integer_get(result_blob) != AST_BRIDGE_TRANSFER_SUCCESS) {
return;
}
@@ -5490,7 +5490,7 @@ static void handle_attended_transfer(void *userdata, struct stasis_subscription
return;
}
- if (atxfer_msg->result == AST_BRIDGE_TRANSFER_FAIL ||
+ if (atxfer_msg->result != AST_BRIDGE_TRANSFER_SUCCESS ||
atxfer_msg->dest_type == AST_ATTENDED_TRANSFER_DEST_THREEWAY) {
return;
}