mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@73004 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -4783,11 +4783,6 @@ static int misdn_facility_exec(struct ast_channel *chan, void *data)
|
|||||||
|
|
||||||
static int misdn_check_l2l1(struct ast_channel *chan, void *data)
|
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_DECLARE_APP_ARGS(args,
|
||||||
AST_APP_ARG(grouppar);
|
AST_APP_ARG(grouppar);
|
||||||
AST_APP_ARG(timeout);
|
AST_APP_ARG(timeout);
|
||||||
|
|||||||
Reference in New Issue
Block a user