From 4365ca3ffd23572286101a28057fc555b0a4a219 Mon Sep 17 00:00:00 2001 From: Keith Date: Thu, 17 Jan 2019 00:24:19 +0000 Subject: Make alert notifications vty configurable per ESME OSMO-MSC backport Adds (no) alert-notifications as a per-esme vty command, in order to allow some ESMEs to be excluded from alerts. The default is still to send alert notifications to all esme, so no changes are required to the config file to maintain identical operation after this patch. Change-Id: I2b52f2778b24eebc82b2e5e2fb3c2250b1f9e5b0 --- openbsc/src/libmsc/smpp_smsc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc/src/libmsc/smpp_smsc.c') diff --git a/openbsc/src/libmsc/smpp_smsc.c b/openbsc/src/libmsc/smpp_smsc.c index e4acd3ab7..35097b40d 100644 --- a/openbsc/src/libmsc/smpp_smsc.c +++ b/openbsc/src/libmsc/smpp_smsc.c @@ -148,6 +148,7 @@ struct osmo_smpp_acl *smpp_acl_alloc(struct smsc *smsc, const char *sys_id) acl->smsc = smsc; strcpy(acl->system_id, sys_id); + acl->alert_notifications = 1; INIT_LLIST_HEAD(&acl->route_list); llist_add_tail(&acl->list, &smsc->acl_list); -- cgit v1.2.3