summaryrefslogtreecommitdiffstats
path: root/dss1.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg2010-01-15 21:55:25 +0100
committerAndreas Eversberg2010-01-15 21:55:25 +0100
commit473d6569efcad130f9a5044b182b75a1c07a1eee (patch)
tree6bb2fdb9f19624f56afe87c7f55fa7dc6d06c24a /dss1.cpp
parentNew version 1.7 (diff)
downloadlcr-473d6569efcad130f9a5044b182b75a1c07a1eee.tar.gz
lcr-473d6569efcad130f9a5044b182b75a1c07a1eee.tar.xz
lcr-473d6569efcad130f9a5044b182b75a1c07a1eee.zip
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
Diffstat (limited to 'dss1.cpp')
-rw-r--r--dss1.cpp7
1 files changed, 7 insertions, 0 deletions
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;