<p style="white-space: pre-wrap; word-wrap: break-word;">Thanks!</p><p style="white-space: pre-wrap; word-wrap: break-word;">Here is a diff that you can join into this patch if you agree. It contains:</p><ul><li>in lchan_fsm.dot, a transition is missing;</li><li>add lchan.msc changes</li><li>add assignment.msc changes</li><li>http://git.osmocom.org/osmo-bsc/commit/?h=neels/mode_modif&id=04aeff09ecad83bbaeaf8def353eb21d375876f4</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">voting -1 because of the missing 'return', see below</p><p>Patch set 2:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792">View Change</a></p><p>3 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792/1/src/osmo-bsc/lchan_fsm.c">File src/osmo-bsc/lchan_fsm.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792/1/src/osmo-bsc/lchan_fsm.c@923">Patch Set #1, Line 923:</a> <code style="font-family:monospace,monospace">                      lchan_rtp_fsm_start(lchan);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I would suppose there are such situations, let's say you start a USSD command just after ending a ca […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I assume it is also possible that the MSC requests a re-assignment to a different voice codec.</p><p style="white-space: pre-wrap; word-wrap: break-word;">At least that could be useful in osmo-msc when we want to avoid transcoding, e.g. after the other call leg handovered to a different codec.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Or actually also when establishing a call, in osmo-msc MO currently determines a voice codec and does Assignment, and only later does the MT side communicate its codec capabilities. We may want to modify the codec again before bridging the call legs.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792/2/src/osmo-bsc/lchan_fsm.c">File src/osmo-bsc/lchan_fsm.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792/2/src/osmo-bsc/lchan_fsm.c@803">Patch Set #2, Line 803:</a> <code style="font-family:monospace,monospace">      else {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">( else if (...)  )</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792/2/src/osmo-bsc/lchan_fsm.c@1011">Patch Set #2, Line 1011:</a> <code style="font-family:monospace,monospace">                       lchan_fail("MODE MODIFY not implemented when RTP voice stream is already active (VOICE => SIGNALLING?)\n");</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">missing 'return;' !</p><p style="white-space: pre-wrap; word-wrap: break-word;">it could be voice => voice too, to change the codec</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/19792">change 19792</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-bsc/+/19792"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I2c5a283b1ee33745cc1fcfcc09a0f9382224e2eb </div>
<div style="display:none"> Gerrit-Change-Number: 19792 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: fixeria <vyanitskiy@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 02 Sep 2020 14:42:38 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: Yes </div>
<div style="display:none"> Comment-In-Reply-To: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>