<p>Vadim Yanitskiy <strong>uploaded patch set #12</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/11069">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">GSUP/SMS: introduce MO-/MT-FORWARD-SM messages<br><br>According to 3GPP TS 29.002, there are two services:<br><br>  - MAP-MO-FORWARD-SHORT-MESSAGE (see 12.2),<br>  - MAP-MT-FORWARD-SHORT-MESSAGE (see 12.9),<br><br>which are used to forward MO/MT short messages.<br><br>This change replicates both services as GSUP messages:<br><br>  - OSMO_GSUP_MSGT_MO_FORWARD_SM_*,<br>  - OSMO_GSUP_MSGT_MT_FORWARD_SM_*.<br><br>Please note, that only the 'must-have' IEs are introduced<br>by this change, in particular the following:<br><br>  - OSMO_GSUP_SM_RP_MR_IE (see note below),<br>  - OSMO_GSUP_SM_RP_DA_IE (see 7.6.8.1),<br>  - OSMO_GSUP_SM_RP_OA_IE (see 7.6.8.2),<br>  - OSMO_GSUP_SM_RP_UI_IE (see 7.6.8.4),<br>  - OSMO_GSUP_SM_RP_MMS_IE (see 7.6.8.7),<br>  - OSMO_GSUP_SM_RP_CAUSE_IE (see GSM TS 04.11, 8.2.5.4),<br><br>where both SM_RP_DA and SM_RP_OA IEs basically contain<br>a single nested TV of the following format:<br><br>  - T: identity type (see 'osmo_gsup_sms_sm_rp_oda_t'),<br>  - V: encoded identity itself (optional).<br><br>According to GSM TS 04.11, every single message on the SM-RL has<br>an unique message reference (see 8.2.3), that is used to link<br>an RP-ACK or RP-ERROR message to the associated (preceding)<br>RP-DATA or RP-SMMA message transfer attempt.<br><br>In case of TCAP/MAP, this message reference is being mapped to the<br>Invoke ID. But since GSUP has no 'Invoke ID' IE, and it is not<br>required for other applications (other than SMS), this change<br>introduces a special 'SM_RP_MR' IE that doesn't exist in MAP.<br><br>Change-Id: Ibe325c64ae2d6c626b232533bb4cbc65fc2b5d71<br>Related Change-Id: (docs) Ie0150756c33c1352bc4eb49421824542c711175c<br>Related Change-Id: (TTCN) Ibf49474a81235096c032ea21f217170f523bd94e<br>Related: OS#3587<br>---<br>M TODO-RELEASE<br>M include/Makefile.am<br>M include/osmocom/gsm/gsup.h<br>A include/osmocom/gsm/gsup_sms.h<br>M src/gsm/Makefile.am<br>M src/gsm/gsup.c<br>A src/gsm/gsup_sms.c<br>M src/gsm/libosmogsm.map<br>M tests/gsup/gsup_test.c<br>M tests/gsup/gsup_test.err<br>M tests/gsup/gsup_test.ok<br>11 files changed, 527 insertions(+), 15 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/11069/12</pre><p>To view, visit <a href="https://gerrit.osmocom.org/11069">change 11069</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/11069"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ibe325c64ae2d6c626b232533bb4cbc65fc2b5d71 </div>
<div style="display:none"> Gerrit-Change-Number: 11069 </div>
<div style="display:none"> Gerrit-PatchSet: 12 </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: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Stefan Sperling <stsp@stsp.name> </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>