when we don't want the call we need to release_complete it.. ignoring it breaks the...
authorChristian Richter <christian.richter@beronet.com>
Fri, 9 Jun 2006 10:31:30 +0000 (10:31 +0000)
committerChristian Richter <christian.richter@beronet.com>
Fri, 9 Jun 2006 10:31:30 +0000 (10:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33195 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/misdn/isdn_lib.c

index 4d6b0a3..3544184 100644 (file)
@@ -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);