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 <[email protected]>

Reply via email to