[PATCH] openbsc[master]: Pass actual smpp_avail_status through to smpp in alert_all_e...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

keith gerrit-no-reply at lists.osmocom.org
Thu Dec 22 18:19:18 UTC 2016


Review at  https://gerrit.osmocom.org/1491

Pass actual smpp_avail_status through to smpp in alert_all_esme()

Change-Id: I4b00d8821c1688ca0c990b6042607f4ded0f80e3
---
M openbsc/src/libmsc/smpp_openbsc.c
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/91/1491/1

diff --git a/openbsc/src/libmsc/smpp_openbsc.c b/openbsc/src/libmsc/smpp_openbsc.c
index 0269f4b..228e61d 100644
--- a/openbsc/src/libmsc/smpp_openbsc.c
+++ b/openbsc/src/libmsc/smpp_openbsc.c
@@ -263,11 +263,11 @@
 		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);
 		}
 	}
 }

-- 
To view, visit https://gerrit.osmocom.org/1491
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4b00d8821c1688ca0c990b6042607f4ded0f80e3
Gerrit-PatchSet: 1
Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-Owner: keith <keith at rhizomatica.org>



More information about the gerrit-log mailing list