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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 3 03:04:36 CDT 2007


Author: crichter
Date: Tue Jul  3 03:04:35 2007
New Revision: 73004

URL: http://svn.digium.com/view/asterisk?view=rev&rev=73004
Log:
fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449

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=73004&r1=73003&r2=73004
==============================================================================
--- branches/1.2/channels/chan_misdn.c (original)
+++ branches/1.2/channels/chan_misdn.c Tue Jul  3 03:04:35 2007
@@ -4783,11 +4783,6 @@
 
 static int misdn_check_l2l1(struct ast_channel *chan, void *data)
 {
-	if (strcasecmp(chan->tech->type,"mISDN")) {
-		ast_log(LOG_WARNING, "misdn_check_l2l1 makes only sense with chan_misdn channels!\n");
-		return -1;
-	}
-
 	AST_DECLARE_APP_ARGS(args,
 			AST_APP_ARG(grouppar);
 			AST_APP_ARG(timeout);




More information about the asterisk-commits mailing list