https://osmocom.org/https://osmocom.org/favicon.ico?16647414092016-11-18T21:26:25ZOpen Source Mobile CommunicationsOpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=24702016-11-18T21:26:25Zlaforge
<ul><li><strong>Target version</strong> deleted (<del><i>120</i></del>)</li></ul> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=24712016-11-18T21:27:11Zlaforge
<ul><li><strong>Project</strong> changed from <i>Cellular Network Infrastructure</i> to <i>OpenBSC</i></li><li><strong>Target version</strong> set to <i>A-over-IP interface as per 3GPP</i></li></ul> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=28022017-01-12T14:25:43Zlaforge
<ul><li><strong>Assignee</strong> set to <i>laforge</i></li></ul> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=28112017-01-12T20:20:37Zlaforge
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=29612017-01-28T09:09:31Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-2 priority-default closed" href="/issues/1930">Feature #1930</a>: Clean up and merge the Iu branch (SUA and SCCP User primitives)</i> added</li></ul> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=30452017-02-13T03:25:43Zlaforge
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>50</i></li></ul><p>see gerrit patches <a class="external" href="https://gerrit.osmocom.org/#/c/1803/">https://gerrit.osmocom.org/#/c/1803/</a> till <a class="external" href="https://gerrit.osmocom.org/#/c/1811/">https://gerrit.osmocom.org/#/c/1811/</a> for some preparatory work. The actual M3UA and SCCP code is following up to that, currently in a <code>laforge/sigtran</code> branch of libosmo-sccp.git (see <a class="external" href="http://git.osmocom.org/libosmo-sccp/log/?h=laforge/sigtran">http://git.osmocom.org/libosmo-sccp/log/?h=laforge/sigtran</a>)</p>
The general idea is:
<ul>
<li>use osmo_prim to formally implement the SAP specified between protocol layers, e.g. MTP-SAP between M3UA and SCCP, or SCU-SAP between SCCP User and application</li>
<li>use osmo_fsm to implement the state machines, e.g. ASP and AS FSM of M3UA</li>
<li>use osmo_fsm to implement SCCP SCOC (connection oriented) per-connection state machine</li>
<li>migrate existing SUA code to new SCOC FSM</li>
<li>use parsed SUA (struct xua_msg) representation by default in all code, transcode from SCCP wire format to this for incoming messages, and from xua_msg to SCCP on outgoign messages. This helps keep the code more simple.</li>
</ul>
Various bits and pieces already exist in my branch
<ul>
<li>untested but fairly complete osmo_fsm for SCOC</li>
<li>definition for MTP SAP</li>
<li>xUA ASP and AS osmo_fsm implementation</li>
<li>SCCP <-> SUA transcoding with preliminary unit tests</li>
</ul>
<p>More work is needed to pull the strings together and fix missing gaps.</p> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=34762017-04-01T16:29:02Zlaforge
<ul><li><strong>% Done</strong> changed from <i>50</i> to <i>80</i></li></ul><p>I've been making significant progress over the last weeks here. The current status is very promising.</p>
<ul>
<li>M3UA is supported for both ASP and SG role</li>
<li>point-code routing is implemented</li>
<li>SCCP connectionless and connection-oriented is implemented
<ul>
<li>Connection Oriented FSM uses strict state machine based on osmo_fsm</li>
</ul>
</li>
<li>MTP-USER and SCCP-USER SAP has been formalized/specified</li>
<li>ASP and AS FSMs implemented</li>
<li>Example server and client can exchange SCCP user data as expected</li>
</ul>
<p>I've lately been looking into correct handling of the various error paths, T(ias) expiration, ...</p>
What's missing so far:
<ul>
<li>routing key management</li>
<li>SCCP Global Title routing</li>
<li>SCCP Global Title Translation</li>
<li>more unit tests</li>
<li>T(r) in ASP and associated queueing of signaling messages</li>
<li>SCCPlite support</li>
</ul> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=34792017-04-03T20:25:19Zlaforge
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>80</i> to <i>90</i></li></ul><p>See gerrit review Id 2196 through 2220, the patchset has been published and is undergoing review.</p>
<p>The implementation is much more complete than required at first sight for this ticket/topic, but I wanted to visit this topic once and not have three more generations of SCCP or SIGTRAN related code.</p> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=34942017-04-10T07:41:30Zlaforge
<ul></ul><p>M3UA code is ready for merge.</p>
<p>Several dozen of patches in Gerrit for review currently about this.</p>
<p>I found <a class="external" href="https://github.com/nplab/m3ua-testtool">https://github.com/nplab/m3ua-testtool</a> implementing the ETSI M3UA test suite from <a class="external" href="http://www.etsi.org/deliver/etsi_ts/102300_102399/102381/01.01.01_60/ts_102381v010101p.pdf">http://www.etsi.org/deliver/etsi_ts/102300_102399/102381/01.01.01_60/ts_102381v010101p.pdf</a> and ran all relevant tests against my M3UA code in libosmo-sigtran: Almost all "PASS" now.</p> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=35002017-04-10T08:42:12Zlaforge
<ul></ul><p><a class="external" href="https://gerrit.osmocom.org/2191">https://gerrit.osmocom.org/2191</a> till <a class="external" href="https://gerrit.osmocom.org/2280">https://gerrit.osmocom.org/2280</a></p> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=35302017-04-15T21:13:21Zlaforge
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul><p>patches merged, marking as resolved.</p> OpenBSC - Feature #1842: Full M3UA SIGTRAN variant in libosmo-sccphttps://osmocom.org/issues/1842?journal_id=36422017-04-25T13:57:39Zlaforge
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul>