[svn-commits] crichter: branch 1.2 r70672 - in /branches/1.2/channels: ./ misdn/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jun 21 08:11:29 CDT 2007


Author: crichter
Date: Thu Jun 21 08:11:29 2007
New Revision: 70672

URL: http://svn.digium.com/view/asterisk?view=rev&rev=70672
Log:
we activate the bchannels in TE mode on incoming calls only when we want to connect the call.

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

Modified: branches/1.2/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/chan_misdn.c?view=diff&rev=70672&r1=70671&r2=70672
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Thu Jun 21 08:11:29 2007
@@ -4997,7 +4997,6 @@
 				chan_misdn_log(1, ch->bc->port, "SETOPT: HDLC \n");
 				if (!ch->bc->hdlc) {
 					ch->bc->hdlc=1;
-					misdn_lib_setup_bc(ch->bc);
 				}
 			}  
 			ch->bc->capability=INFO_CAPABILITY_DIGITAL_UNRESTRICTED;

Modified: branches/1.2/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/channels/misdn/isdn_lib.c?view=diff&rev=70672&r1=70671&r2=70672
==============================================================================
--- branches/1.2/channels/misdn/isdn_lib.c (original)
+++ branches/1.2/channels/misdn/isdn_lib.c Thu Jun 21 08:11:29 2007
@@ -3266,6 +3266,8 @@
 	case EVENT_ALERTING:
 	case EVENT_PROCEEDING:
 	case EVENT_SETUP_ACKNOWLEDGE:
+		if (!stack->nt) break;
+
 	case EVENT_CONNECT:
 	case EVENT_RETRIEVE_ACKNOWLEDGE:
 




More information about the svn-commits mailing list