[Asterisk-code-review] core unreal: Fix hangupcauses not getting set on Local/ chan... (asterisk[master])
Jaco Kroon
asteriskteam at digium.com
Mon Apr 11 14:29:48 CDT 2016
Jaco Kroon has uploaded a new change for review.
https://gerrit.asterisk.org/2569
Change subject: core_unreal: Fix hangupcauses not getting set on Local/ channels
......................................................................
core_unreal: Fix hangupcauses not getting set on Local/ channels
ASTERISK-25912 #close
Change-Id: I8e72e6894feaf36c9450f2788d205d07baec23aa
---
M main/core_unreal.c
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/69/2569/1
diff --git a/main/core_unreal.c b/main/core_unreal.c
index 1f5c202..92b0441 100644
--- a/main/core_unreal.c
+++ b/main/core_unreal.c
@@ -568,6 +568,9 @@
break;
default:
res = unreal_queue_indicate(p, ast, condition, data, datalen);
+ if (condition == AST_CONTROL_PVT_CAUSE_CODE) {
+ res = -1;
+ }
break;
}
--
To view, visit https://gerrit.asterisk.org/2569
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e72e6894feaf36c9450f2788d205d07baec23aa
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>
More information about the asterisk-code-review
mailing list