[svn-commits] crichter: branch 1.4 r86598 - in /branches/1.4/channels: ./ misdn/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Oct 22 04:21:17 CDT 2007


Author: crichter
Date: Mon Oct 22 04:21:15 2007
New Revision: 86598

URL: http://svn.digium.com/view/asterisk?view=rev&rev=86598
Log:
we send DISCONNECT instead of RELEASE/RELEASE_COMPLETE if the dialplan does not match after an overlap call. Also added out_cause=1

Modified:
    branches/1.4/channels/chan_misdn.c
    branches/1.4/channels/misdn/isdn_lib.c

Modified: branches/1.4/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/chan_misdn.c?view=diff&rev=86598&r1=86597&r2=86598
==============================================================================
--- branches/1.4/channels/chan_misdn.c (original)
+++ branches/1.4/channels/chan_misdn.c Mon Oct 22 04:21:15 2007
@@ -683,10 +683,8 @@
 		} else {
 misdn_overlap_dial_task_disconnect:
 			hanguptone_indicate(ch);
-			if (ch->bc->nt)
-				misdn_lib_send_event(ch->bc, EVENT_RELEASE_COMPLETE );
-			else
-				misdn_lib_send_event(ch->bc, EVENT_RELEASE);
+			ch->bc->out_cause=1;
+			misdn_lib_send_event(ch->bc, EVENT_DISCONNECT);
 		}
 		ch->overlap_dial_task = -1;
 		return 0;

Modified: branches/1.4/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/misdn/isdn_lib.c?view=diff&rev=86598&r1=86597&r2=86598
==============================================================================
--- branches/1.4/channels/misdn/isdn_lib.c (original)
+++ branches/1.4/channels/misdn/isdn_lib.c Mon Oct 22 04:21:15 2007
@@ -1240,17 +1240,6 @@
 
 		stack->nt=1;
 		break;
-
-#ifndef MISDN_1_2
-	case ISDN_PID_L0_TE_U:
-		break;
-	case ISDN_PID_L0_NT_U:
-		break;
-	case ISDN_PID_L0_TE_UP2:
-		break;
-	case ISDN_PID_L0_NT_UP2:
-		break;
-#endif
 	case ISDN_PID_L0_TE_E1:
 		cb_log(8, port, "TE S2M Stack\n");
 		stack->nt=0;




More information about the svn-commits mailing list