diff options
author | Keith <keith@rhizomatica.org> | 2019-01-17 00:24:19 +0000 |
---|---|---|
committer | Keith <keith@rhizomatica.org> | 2019-01-17 01:29:07 +0100 |
commit | 4365ca3ffd23572286101a28057fc555b0a4a219 (patch) | |
tree | e517157d0cbeda980a661150018f67449aeed4bf /openbsc/src/libmsc/smpp_smsc.c | |
parent | 32ece274bf42880f9e89809c8266aa69f41a44bb (diff) |
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
Diffstat (limited to 'openbsc/src/libmsc/smpp_smsc.c')
-rw-r--r-- | openbsc/src/libmsc/smpp_smsc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |