https://projects.osmocom.org/https://projects.osmocom.org/favicon.ico?16647414092017-04-15T21:09:40ZOpen Source Mobile CommunicationsOsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=35252017-04-15T21:09:40Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-5 priority-2 priority-default closed" href="/issues/1843">Feature #1843</a>: Add SCCP/M3UA signaling transport as alternative to IPA multiplex to osmo-bsc</i> added</li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=45922017-07-17T20:14:36Zdexter
<ul></ul><p>To be 100% sure, this is not about the CTRL-Interface right?</p>
<p>Problem here: I still do not have a working ONW setup. The RTP streams get stuck somewhere, would be nice if we could fix this.</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=50402017-08-17T06:37:10Zlaforge
<ul><li><strong>Priority</strong> changed from <i>Low</i> to <i>High</i></li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=57622017-10-11T08:36:40Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>dexter</i> to <i>laforge</i></li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=67182017-12-10T20:32:12Zlaforge
<ul><li><strong>Category</strong> set to <i>A interface</i></li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=73112018-01-27T19:48:40Zlaforge
<ul></ul><p>During a recent discussion it became aparrent how important this is for deployments behind NAT. There's one IPA/SCCPlite connection between BSC and BSC-NAT, and that connection must handle BSSMAP, CTRL, MGCP and possibly more.</p>
<p>Architecture-wise, we'll have to add some mode in which CTRL (in libosmoctrl) can register/bind to a sub-flow of the libosmonetif IPA stream creted by libosmo-sigtran. Not yet sure how it will look in the end.</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=95102018-05-25T19:11:52Zlaforge
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-3 priority-high3 closed" href="/issues/2544">Bug #2544</a>: IPA/SCCPlite not fully supported from new osmo-bsc.git</i> added</li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=95202018-05-27T16:02:53Zlaforge
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>70</i></li></ul><p><a class="external" href="https://gerrit.osmocom.org/#/c/osmo-bsc/+/9340">https://gerrit.osmocom.org/#/c/osmo-bsc/+/9340</a></p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=95502018-05-28T15:43:18Zlaforge
<ul></ul><p>patch has been merged. TTCN-3 test pending.</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=96182018-05-30T14:14:35Zlaforge
<ul><li><strong>Tags</strong> set to <i>SCCPlite</i></li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=113772018-09-16T10:36:18Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>laforge</i> to <i>neels</i></li></ul><p>Assigning this to neels as he's doing SCCPlite interop testing. After having completed native SCCPLite, it is getting time to test against the osmo-extended IPA multiplex of bsc-nat, where this issue becomes relevant.</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=143672019-05-09T00:28:13Zneelsnhofmeyr@sysmocom.de
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li><li><strong>Assignee</strong> changed from <i>neels</i> to <i>laforge</i></li></ul><p>I am not active in this direction, please reassign...</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=143822019-05-09T14:51:37Zlaforge
<ul><li><strong>Assignee</strong> changed from <i>laforge</i> to <i>pespin</i></li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=147512019-06-06T15:33:37Zpespin
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-2 priority-default closed" href="/issues/2536">Bug #2536</a>: MGCP tunneling missing from IPA support in libosmo-sigtran</i> added</li></ul> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=147552019-06-06T16:35:56Zpespin
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>In Progress</i></li></ul><p>Some related information I gathered so far in order to add some tests in ttcn3-bsc and ttcn3-bscnat:</p>
<p>When the BSC starts and establishes a link to the NAT, trx is (are) in a certain state (usually rf_locked=1). See osmo-bsc VTY "rf_locked" and "rf-lock-exclude".<br />Then, if a GPS is configured, the bsc is supposed to report its position every 5 mn (or what has been configured in place of the default value).<br />Upon location report (see osmo-bsc CTRL TRAP "location-state"), CTRL traps are issued by the BSC and caught by external software running attached to the NAT CTRL iface.<br />The controlling software attached to BSCNAT replies BSC with commands to apply. See VTY command "rf_locked 0"?<br />The identifier for the bsc is always the ‘bsc id' as defined in the NAT.</p>
<p>Manually Triggering "location-state" from BSC:<br /><pre>
$ telnet localhost 4242
enable
generate-location-state-trap 0
exit
</pre></p>
<p>I also found a VTY command "bsc-rf-socket" (src/osmo-bsc/bsc_rf_ctrl.{c,h}) which seems related, but I'm not sure what's about. Seems to be a unix socket from which somebody can query and set "rf-locked" of BSC?</p>
I still need to find how the GPS data is feeded into the BSC. Once I know that, I can add a TTCN3 BSC test by:
<ul>
<li>Faking a position</li>
<li>sending VTY command "generate-location-state-trap 0" </li>
<li>Expect a CTRL trap to be sent on the CTRL IPA conn</li>
<li>Send an "rf-locked 0/1" on it</li>
<li>Somehow check that rf-locked was applied correctly (through VTY or perhaps through TRAP generated by BSC with the information about status changed).</li>
</ul>
<p>On the BSC-NAT, we can do something similar, by sending a "location-state" message through BSC CTRL IPA conn, and make sure BSC-NAT forwards it correctly, as well as answers from TTCN3 on the other side reach the ttcn3 emulated BSC.</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=147662019-06-07T17:52:23Zpespin
<ul></ul><p>Added infrastructure to be able to interact with Muxed CTRL over IPA on the MSC-Side (in BSC tests), and added a test to verify "location" setting and resulting TRAP is sent fine.</p>
next steps:
<ul>
<li>Expand test to lock/unlock the BSC after receiving the TRAP on the MSC side.</li>
<li>Add similar test for BSC-NAT.</li>
</ul>
<p>remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14406">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14406</a> lib/RAN: Introduce CTRL_CLIENT port to access CTRL muxed in RAN IPA conn<br />remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14407">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14407</a> bsc: Introduce test TC_ctrl_location</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=147802019-06-11T14:58:05Zpespin
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Feedback</i></li><li><strong>% Done</strong> changed from <i>70</i> to <i>90</i></li></ul><p>Submitted bunch of patches to have similar stuff in BSC-NAT:</p>
<p>remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14410">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14410</a> bscnat: Move generic code to wait for test into its own function<br />remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14411">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14411</a> bscnat: Refactor BSC_MS side code to allow different actions per test<br />remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14412">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14412</a> bscnat: Refactor MSC side code to allow different actions per test<br />remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14413">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14413</a> bscnat: Add function to run actions on test per BSC component<br />remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14414">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14414</a> bscnat: Introduce test TC_ctrl_location<br />remote: <a class="external" href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14418">https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/14418</a> lib/IPA_Emulation: Build IPA_CTRL conditionally based on define</p>
<p>Once merged we can close this ticket.</p> OsmoBSC - Bug #2012: CTRL interface encapsulation over IPA link is missing when using libosmo-sigtranhttps://projects.osmocom.org/issues/2012?journal_id=148462019-06-18T17:28:10Zpespin
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>90</i> to <i>100</i></li></ul><p>Merged, closing.</p>