From fcb7d3df26d8aced465e2f9a32dbe39515448a3a Mon Sep 17 00:00:00 2001
From: Christian Richter <christian.richter@beronet.com>
Date: Fri, 9 Jun 2006 10:31:30 +0000
Subject: [PATCH] when we don't want the call we need to release_complete it..
 ignoring it breaks the ETSI rules ..

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/misdn/isdn_lib.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/channels/misdn/isdn_lib.c b/channels/misdn/isdn_lib.c
index 4d6b0a3892..3544184b49 100644
--- a/channels/misdn/isdn_lib.c
+++ b/channels/misdn/isdn_lib.c
@@ -2389,6 +2389,9 @@ int handle_frm(msg_t *msg)
 					break;
 				case RESPONSE_IGNORE_SETUP:
 					/* I think we should send CC_RELEASE_CR, but am not sure*/
+
+					bc->out_cause=16;
+					misdn_lib_send_event(bc,EVENT_RELEASE_COMPLETE);
 					empty_chan_in_stack(stack, bc->channel);
 					empty_bc(bc);
 					bc_state_change(bc,BCHAN_CLEANED);
-- 
GitLab