From 473d6569efcad130f9a5044b182b75a1c07a1eee Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Fri, 15 Jan 2010 21:55:25 +0100 Subject: Added new option to interface.conf: "nonotify" to disable notify messages. modified: README modified: dss1.cpp modified: interface.c modified: interface.h modified: mISDN.cpp modified: mISDN.h --- dss1.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'dss1.cpp') diff --git a/dss1.cpp b/dss1.cpp index e318aa3..75ff448 100644 --- a/dss1.cpp +++ b/dss1.cpp @@ -2240,6 +2240,13 @@ void Pdss1::message_notify(unsigned int epoint_id, int message_id, union paramet int notify; int plan = 0, type = -1, present = 0; + if (p_m_mISDNport->ifport->nonotify) { + l1l2l3_trace_header(p_m_mISDNport, this, L3_NOTIFY_REQ, DIRECTION_OUT); + add_trace("info", NULL, "blocked by config"); + end_trace(); + return; + } + // printf("if = %d\n", param->notifyinfo.notify); if (param->notifyinfo.notify>INFO_NOTIFY_NONE) notify = param->notifyinfo.notify & 0x7f; -- cgit v1.2.3-55-g7522