<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-msc/+/15222">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">msc_a: switch RAN type back to SGs when a CSFB-Call is cleared<br><br>When a CSFB call is over the MS changes back to LTE after the call is<br>cleared. However, at the moment the MSC will not change the<br>cs.attached_via_ran flag. This may cause problems with the next call. Lets<br>make sure that if there is an SGs association present, the ran type is<br>set back to SGs when the call is cleared.<br><br>Related: SYS#4624<br>Change-Id: I104adecb0645b81b90ee230c57bf8b463c9e7045<br>---<br>M src/libmsc/msc_a.c<br>1 file changed, 5 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/22/15222/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libmsc/msc_a.c b/src/libmsc/msc_a.c</span><br><span>index bd69eed..553761f 100644</span><br><span>--- a/src/libmsc/msc_a.c</span><br><span>+++ b/src/libmsc/msc_a.c</span><br><span>@@ -754,6 +754,11 @@</span><br><span>             };</span><br><span>           msc_a_get(msc_a, MSC_A_USE_WAIT_CLEAR_COMPLETE);</span><br><span>             msc_a_ran_down(msc_a, MSC_ROLE_I, &msg);</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span style="color: hsl(120, 100%, 40%);">+                /* The connection is cleared. The MS will now go back to 4G,</span><br><span style="color: hsl(120, 100%, 40%);">+             Switch the RAN type back to SGS. */</span><br><span style="color: hsl(120, 100%, 40%);">+                if (vsub && vsub->sgs_fsm->state == SGS_UE_ST_ASSOCIATED)</span><br><span style="color: hsl(120, 100%, 40%);">+                       vsub->cs.attached_via_ran = OSMO_RAT_EUTRAN_SGS;</span><br><span>  }</span><br><span> </span><br><span>        if (vsub)</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-msc/+/15222">change 15222</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-msc/+/15222"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I104adecb0645b81b90ee230c57bf8b463c9e7045 </div>
<div style="display:none"> Gerrit-Change-Number: 15222 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>