Change in osmo-hlr[master]: Allow both CS and PS by default for subscribers created on demand

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/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Sat Apr 20 09:35:18 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/13716


Change subject: Allow both CS and PS by default for subscribers created on demand
......................................................................

Allow both CS and PS by default for subscribers created on demand

Change-Id: I6668171f17eeec9f483f6cdd981d5b8b81b09cb0
---
M src/hlr.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/16/13716/1

diff --git a/src/hlr.c b/src/hlr.c
index 882362d..2cd6789 100644
--- a/src/hlr.c
+++ b/src/hlr.c
@@ -155,7 +155,7 @@
 		return;
 
 	LOGP(DMAIN, LOGL_INFO, "IMSI='%s': Creating subscriber on demand\n", imsi);
-	rc = db_subscr_create(g_hlr->dbc, imsi, 0, 0);
+	rc = db_subscr_create(g_hlr->dbc, imsi, 1, 1); /* Allow both CS and PS domains by default */
 	if (rc)
 		LOGP(DMAIN, LOGL_ERROR, "Failed to create subscriber on demand (rc=%d): IMSI='%s'\n", rc, imsi);
 }

-- 
To view, visit https://gerrit.osmocom.org/13716
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6668171f17eeec9f483f6cdd981d5b8b81b09cb0
Gerrit-Change-Number: 13716
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190420/b5895024/attachment.htm>


More information about the gerrit-log mailing list