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

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Mar 4 03:39:51 MST 2007


Author: crichter
Date: Sun Mar  4 04:39:50 2007
New Revision: 57753

URL: http://svn.digium.com/view/asterisk?view=rev&rev=57753
Log:
fixed another place where the out_cause was hardcoded to 16

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=57753&r1=57752&r2=57753
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Sun Mar  4 04:39:50 2007
@@ -3890,8 +3890,6 @@
 	
 	case EVENT_RELEASE:
 		{
-			bc->out_cause=16;
-			
 			hangup_chan(ch);
 			release_chan(bc);
 		

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=57753&r1=57752&r2=57753
==============================================================================
--- branches/1.2/channels/misdn/isdn_lib.c (original)
+++ branches/1.2/channels/misdn/isdn_lib.c Sun Mar  4 04:39:50 2007
@@ -3305,8 +3305,10 @@
 			if (bc->channel>0)
 				empty_chan_in_stack(stack,bc->channel);
 			int tmpcause=bc->cause;	
+			int tmp_out_cause=bc->out_cause;	
 			empty_bc(bc);
 			bc->cause=tmpcause;
+			bc->out_cause=tmp_out_cause;
 			clean_up_bc(bc);
 		}
 		break;



More information about the svn-commits mailing list