[asterisk-commits] trunk r9882 - in /trunk/channels: misdn/isdn_lib.c misdn_config.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 14 03:44:03 MST 2006


Author: crichter
Date: Tue Feb 14 04:44:00 2006
New Revision: 9882

URL: http://svn.digium.com/view/asterisk?rev=9882&view=rev
Log:
fixed the occasional no audio issue, still need deeper investigation .. echotraining is off by default

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

Modified: trunk/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn/isdn_lib.c?rev=9882&r1=9881&r2=9882&view=diff
==============================================================================
--- trunk/channels/misdn/isdn_lib.c (original)
+++ trunk/channels/misdn/isdn_lib.c Tue Feb 14 04:44:00 2006
@@ -2037,7 +2037,8 @@
 				
 				int i=cb_event( EVENT_BCHAN_DATA, bc, glob_mgr->user_data);
 				if (i<0) {
-					clean_up_bc(bc);
+					cb_log(2,stack->port,"cb_event returned <0\n");
+					/*clean_up_bc(bc);*/
 				}
 			}
 		}

Modified: trunk/channels/misdn_config.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn_config.c?rev=9882&r1=9881&r2=9882&view=diff
==============================================================================
--- trunk/channels/misdn_config.c (original)
+++ trunk/channels/misdn_config.c Tue Feb 14 04:44:00 2006
@@ -105,7 +105,7 @@
 	{ "early_bconnect", MISDN_CFG_EARLY_BCONNECT, MISDN_CTYPE_BOOL, "yes", NONE },
 	{ "echocancel", MISDN_CFG_ECHOCANCEL, MISDN_CTYPE_BOOLINT, "0", 128 },
 	{ "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE },
-	{ "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "1", 1 },
+	{ "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 1 },
 	{ "need_more_infos", MISDN_CFG_NEED_MORE_INFOS, MISDN_CTYPE_BOOL, "0", NONE },
 	{ "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "1000", NONE },
 	{ "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "600", NONE },



More information about the asterisk-commits mailing list