[Asterisk-code-review] core unreal: Fix hangupcauses not getting set on Local/ chan... (asterisk[13])

Jaco Kroon asteriskteam at digium.com
Mon Apr 11 14:36:22 CDT 2016


Jaco Kroon has uploaded a new change for review.

  https://gerrit.asterisk.org/2570

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/70/2570/1

diff --git a/main/core_unreal.c b/main/core_unreal.c
index fc311ec..f8f020e 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/2570
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8e72e6894feaf36c9450f2788d205d07baec23aa
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Jaco Kroon <jaco at uls.co.za>



More information about the asterisk-code-review mailing list