[svn-commits] trunk r34788 - in /trunk/channels: chan_misdn.c misdn/isdn_lib.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jun 19 02:44:05 MST 2006


Author: crichter
Date: Mon Jun 19 04:44:04 2006
New Revision: 34788

URL: http://svn.digium.com/view/asterisk?rev=34788&view=rev
Log:
when we get a disconnect, we should stop the tones on te side..

Modified:
    trunk/channels/chan_misdn.c
    trunk/channels/misdn/isdn_lib.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=34788&r1=34787&r2=34788&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Mon Jun 19 04:44:04 2006
@@ -1971,7 +1971,9 @@
 		return 0;
 	}
 
-	/*stop_bc_tones(p);*/
+	if (!p->bc->nt) 
+		stop_bc_tones(p);
+
 	
 	release_unlock;
 	

Modified: trunk/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn/isdn_lib.c?rev=34788&r1=34787&r2=34788&view=diff
==============================================================================
--- trunk/channels/misdn/isdn_lib.c (original)
+++ trunk/channels/misdn/isdn_lib.c Mon Jun 19 04:44:04 2006
@@ -1495,6 +1495,9 @@
 				cb_log(4, stack->port, " --> lib: CLEANING UP l3id: %x\n",frm->dinfo);
 				empty_chan_in_stack(stack,bc->channel);
 				empty_bc(bc);
+				
+				bc_state_change(bc, BCHAN_EMPTY);
+
 				clean_up_bc(bc);
 				dump_chan_list(stack);
 				bc->pid = 0;



More information about the svn-commits mailing list