summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith <keith@rhizomatica.org>2016-12-22 19:18:18 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-24 17:12:34 +0000
commit80abe522e2ddc979d994530f21b103808fc465d7 (patch)
treebabceebcd10cc1381be5508f09557c878839b39d
parent532480a705726452ace30b1a914640d984dd0418 (diff)
Pass actual smpp_avail_status through to smpp in alert_all_esme()
-rw-r--r--openbsc/src/libmsc/smpp_openbsc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/libmsc/smpp_openbsc.c b/openbsc/src/libmsc/smpp_openbsc.c
index 0269f4b3b..228e61dfe 100644
--- a/openbsc/src/libmsc/smpp_openbsc.c
+++ b/openbsc/src/libmsc/smpp_openbsc.c
@@ -263,11 +263,11 @@ static void alert_all_esme(struct smsc *smsc, struct gsm_subscriber *subscr,
if (esme->acl && esme->acl->deliver_src_imsi) {
smpp_tx_alert(esme, TON_Subscriber_Number,
NPI_Land_Mobile_E212,
- subscr->imsi, 0);
+ subscr->imsi, smpp_avail_status);
} else {
smpp_tx_alert(esme, TON_Network_Specific,
NPI_ISDN_E163_E164,
- subscr->extension, 0);
+ subscr->extension, smpp_avail_status);
}
}
}