<p style="white-space: pre-wrap; word-wrap: break-word;">I would argue the solution to the problem - if I understand it correctly - would be to not terminate the mgcp_endpoint_fsm when sending the DLCX.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The proper course of action would be to</p><ul><li>send the DLCX</li><li>enter some WAIT_DLCX state (with timer)</li><li>destroy FSM on receipt of DLCX_ACK or timer expiration</li></ul><p style="white-space: pre-wrap; word-wrap: break-word;">I don't like adding another timer to work around what looks like a bug in the FSM logic.</p><p style="white-space: pre-wrap; word-wrap: break-word;">What do you think?<br></p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18881">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/18881">change 18881</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-mgw/+/18881"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ia2e89f31685a0822e5cb147a06cc1fc68efc1ec4 </div>
<div style="display:none"> Gerrit-Change-Number: 18881 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </div>
<div style="display:none"> Gerrit-Owner: fixeria <vyanitskiy@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: fixeria <vyanitskiy@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-Comment-Date: Wed, 15 Jul 2020 08:39:59 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>