[svn-commits] branch crichter/0.3.0 r34787 - in /team/crichter/0.3.0/channels: ./ misdn/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon Jun 19 02:43:14 MST 2006


Author: crichter
Date: Mon Jun 19 04:43:13 2006
New Revision: 34787

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

Modified:
    team/crichter/0.3.0/channels/chan_misdn.c
    team/crichter/0.3.0/channels/misdn/isdn_lib.c

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

Modified: team/crichter/0.3.0/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.3.0/channels/misdn/isdn_lib.c?rev=34787&r1=34786&r2=34787&view=diff
==============================================================================
--- team/crichter/0.3.0/channels/misdn/isdn_lib.c (original)
+++ team/crichter/0.3.0/channels/misdn/isdn_lib.c Mon Jun 19 04:43:13 2006
@@ -1491,6 +1491,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