<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/14777">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">manuals: improve subscribers create on demand<br><br>Write all VTY commands in monospace and add configuration example<br>blocks.<br><br>Realted: OS#2542<br>Change-Id: I54f80810db3dac7a4a56ad42c5d2154b6006108c<br>---<br>M doc/manuals/chapters/subscribers.adoc<br>1 file changed, 25 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-hlr refs/changes/77/14777/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/doc/manuals/chapters/subscribers.adoc b/doc/manuals/chapters/subscribers.adoc</span><br><span>index 9f87131..a1b5fac 100644</span><br><span>--- a/doc/manuals/chapters/subscribers.adoc</span><br><span>+++ b/doc/manuals/chapters/subscribers.adoc</span><br><span>@@ -72,19 +72,40 @@</span><br><span> Usually a HLR will only allow mobile equipment (ME) on the network, if the HLR</span><br><span> has a subscriber entry with the ME's IMSI. But OsmoHLR can also be configured to</span><br><span> automatically create new entries for new IMSIs, with the</span><br><span style="color: hsl(0, 100%, 40%);">-subscriber-create-on-demand VTY option. The obvious use case is creating the</span><br><span style="color: hsl(120, 100%, 40%);">+`subscriber-create-on-demand` VTY option. The obvious use case is creating the</span><br><span> new subscriber entry and then allowing the ME to use both the CS</span><br><span> (Circuit Switched) and PS (Packet Switched) NAM (Network Access Mode).</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+hlr</span><br><span style="color: hsl(120, 100%, 40%);">+ subscriber-create-on-demand 5 cs+ps</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> On the other hand, operators might only want to give network access to IMSIs, of</span><br><span> which they know the owner. In order to do that, one can set the default NAM to</span><br><span style="color: hsl(0, 100%, 40%);">-"none" and manually approve new subscribers by enabling their nam_cs and nam_ps</span><br><span style="color: hsl(120, 100%, 40%);">+`none` and manually approve new subscribers by enabling their `nam_cs` and `nam_ps`</span><br><span> parameters (e.g. over the VTY).</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+hlr</span><br><span style="color: hsl(120, 100%, 40%);">+ subscriber-create-on-demand 5 none</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> Oftentimes it is hard to know, which IMSI belongs to which ME, but the IMEI is</span><br><span> readily available. If you configure your MSC to send IMEI checking requests to</span><br><span> the HLR, before sending location update requests, the subscribers created on</span><br><span> demand can also have the IMEI stored in the HLR database. With OsmoMSC, this</span><br><span style="color: hsl(0, 100%, 40%);">-is done by writing "check-imei-rqd early" in the "msc" section of osmo-msc.cfg.</span><br><span style="color: hsl(120, 100%, 40%);">+is done by writing `check-imei-rqd early` in the `msc` section of osmo-msc.cfg.</span><br><span> Then enable storing the IMEI when receiving check IMEI requests with</span><br><span style="color: hsl(0, 100%, 40%);">-"store-imei" in the OsmoHLR configuration.</span><br><span style="color: hsl(120, 100%, 40%);">+`store-imei` in the OsmoHLR configuration.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+msc</span><br><span style="color: hsl(120, 100%, 40%);">+ check-imei-rqd early</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span style="color: hsl(120, 100%, 40%);">+hlr</span><br><span style="color: hsl(120, 100%, 40%);">+ subscriber-create-on-demand 5 none</span><br><span style="color: hsl(120, 100%, 40%);">+ store-imei</span><br><span style="color: hsl(120, 100%, 40%);">+----</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/14777">change 14777</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-hlr/+/14777"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-hlr </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I54f80810db3dac7a4a56ad42c5d2154b6006108c </div>
<div style="display:none"> Gerrit-Change-Number: 14777 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>