Merged revisions 73005 via svnmerge from
authorChristian Richter <christian.richter@beronet.com>
Tue, 3 Jul 2007 08:22:13 +0000 (08:22 +0000)
committerChristian Richter <christian.richter@beronet.com>
Tue, 3 Jul 2007 08:22:13 +0000 (08:22 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73005 | crichter | 2007-07-03 10:17:06 +0200 (Di, 03 Jul 2007) | 9 lines

Merged revisions 73004 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r73004 | crichter | 2007-07-03 10:04:35 +0200 (Di, 03 Jul 2007) | 1 line

fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449
........

................

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_misdn.c

index 67922f4..d29cfe8 100644 (file)
@@ -4942,11 +4942,6 @@ static int misdn_check_l2l1(struct ast_channel *chan, void *data)
                        AST_APP_ARG(timeout);
        );
 
-       if (strcasecmp(chan->tech->type, "mISDN")) {
-               ast_log(LOG_WARNING, "misdn_check_l2l1 makes only sense with chan_misdn channels!\n");
-               return -1;
-       }
-
        if (ast_strlen_zero((char *)data)) {
                ast_log(LOG_WARNING, "misdn_check_l2l1 Requires arguments\n");
                return -1;