aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn/isdn_lib.c
diff options
context:
space:
mode:
authorcrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-09 10:31:30 +0000
committercrichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-09 10:31:30 +0000
commitc916ddbc4f7a73bd25aba3ce6f6d5bc9eb8d62e6 (patch)
treeb47287603514982ab1f4b91bf4302eff89b6056d /channels/misdn/isdn_lib.c
parent17480dc3e1b7ed0e0b4a1673e6c257708005018e (diff)
when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33195 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn/isdn_lib.c')
-rw-r--r--channels/misdn/isdn_lib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/misdn/isdn_lib.c b/channels/misdn/isdn_lib.c
index 4d6b0a389..3544184b4 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);