<p>laforge <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-hlr/+/21211">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">doc/manuals: re-organize description of internal USSD handlers<br><br>Change-Id: Ieddde02f3f41e0eb05b7223026da4252c17c3712<br>---<br>M doc/manuals/chapters/ussd.adoc<br>1 file changed, 14 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/doc/manuals/chapters/ussd.adoc b/doc/manuals/chapters/ussd.adoc</span><br><span>index 1d962b7..3ab587f 100644</span><br><span>--- a/doc/manuals/chapters/ussd.adoc</span><br><span>+++ b/doc/manuals/chapters/ussd.adoc</span><br><span>@@ -52,13 +52,25 @@</span><br><span> `ussd route prefix *#100# internal own-msisdn` installs a prefix route</span><br><span> to the named internal USSD handler.  The above command will restore</span><br><span> the old behavior, in which *#100# will return a text message containing</span><br><span style="color: hsl(0, 100%, 40%);">-the subscribers own phone number.  There is one other handler called</span><br><span style="color: hsl(0, 100%, 40%);">-`own-imsi` which will return the IMSI instead of the MSISDN.</span><br><span style="color: hsl(120, 100%, 40%);">+the subscribers own phone number.  More information on internal USSD</span><br><span style="color: hsl(120, 100%, 40%);">+handlers can be found in <<iuse_handlers>>.</span><br><span> </span><br><span> `ussd default-route external foobar-00-00-00-00-00-00` installs a</span><br><span> default route to the named EUSE.  This means that all USSD codes for</span><br><span> which no more specific route exists will be routed to the named EUSE.</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+[[iuse_handlers]]</span><br><span style="color: hsl(120, 100%, 40%);">+=== Built-in USSD handlers</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+OsmoHLR has an Internal USSD Entity (IUSE) that allows to handle some</span><br><span style="color: hsl(120, 100%, 40%);">+USSD requests internally.  It features a set of simple handlers, which</span><br><span style="color: hsl(120, 100%, 40%);">+can be assigned to one or more USSD request prefixes:</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+* `own-msisdn` returns subscriber's MSISDN (if assigned);</span><br><span style="color: hsl(120, 100%, 40%);">+* `own-imsi` returns subscriber's IMSI.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+Additional handlers can be added on request.</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> === Example EUSE program</span><br><span> </span><br><span> We have provided an example EUSE developed in C language using existing</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-hlr/+/21211">change 21211</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/+/21211"/><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: Ieddde02f3f41e0eb05b7223026da4252c17c3712 </div>
<div style="display:none"> Gerrit-Change-Number: 21211 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>