[asterisk-commits] crichter: branch 1.2 r65767 - /branches/1.2/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 24 02:20:01 MST 2007


Author: crichter
Date: Thu May 24 04:19:58 2007
New Revision: 65767

URL: http://svn.digium.com/view/asterisk?view=rev&rev=65767
Log:
we should only activate the generator in chan_misdn, when asterisk hask not yet taken the call (WAITING4DIGS state). Alerting audio will be generated fomr asterisk for example.

Modified:
    branches/1.2/channels/chan_misdn.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=65767&r1=65766&r2=65767
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Thu May 24 04:19:58 2007
@@ -2531,6 +2531,8 @@
 	chan_misdn_log(3,cl->bc->port," --> None\n");
 	misdn_lib_tone_generator_stop(cl->bc);
 	ast_playtones_stop(ast);
+
+	cl->ts=NULL;
 	/*ast_deactivate_generator(ast);*/
 	
 	return 0;



More information about the asterisk-commits mailing list