<p>osmith <strong>uploaded patch set #2</strong> to the change originally created by Vadim Yanitskiy.</p><p><a href="https://gerrit.osmocom.org/13713">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Create subscribers on demand<br><br>Add a new vty option and allow to optionally generate a random msisdn,<br>as well as setting the default NAM:<br><br>subscriber-create-on-demand <3-15> (none|cs|ps|both)<br>subscriber-create-on-demand no-extension<br><br>I thought about using an enum or bitfield to store nam_cs and nam_ps,<br>but I have used booleans instead, to match how it is stored in the<br>database. Thanks to Vadim for the random MSISDN patch [1], which was<br>squashed into this one.<br><br>[1] Change-Id: I475c71f9902950fa7498855a616e1ec231fad6ac<br><br>Related: OS#2542<br>Change-Id: I0c9fe93f5c24b5e9fefb513c4d049fb7ebd47ecd<br>---<br>M src/hlr.c<br>M src/hlr.h<br>M src/hlr_vty.c<br>M tests/test_nodes.vty<br>A tests/test_subscriber_on_demand.vty<br>5 files changed, 182 insertions(+), 0 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/13/13713/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/13713">change 13713</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/13713"/><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-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I0c9fe93f5c24b5e9fefb513c4d049fb7ebd47ecd </div>
<div style="display:none"> Gerrit-Change-Number: 13713 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>