<p style="white-space: pre-wrap; word-wrap: break-word;">Could you give an example of such a wildcard DLCX command?<br>Like, is it "DLCX rtpbridge/*"?<br>and it removes all 1@mgw, 2@mgw, ... endpoints, each releasing two RTP conns?</p><p style="white-space: pre-wrap; word-wrap: break-word;">So does such a wildcarded DLCX clear out the entire MGW state?<br>In practice we would then damage the use case of multiple programs using the same osmo-mgw.</p><p style="white-space: pre-wrap; word-wrap: break-word;">E.g. if one osmo-mgw is shared between MSC and BSC, a wildcard DLCX from the BSC would also clear the MSC's conns?</p><p style="white-space: pre-wrap; word-wrap: break-word;">Or imagine two BSCs are using the same osmo-mgw.<br>If one crashes and restarts, the other also gets all calls dumped.</p><p style="white-space: pre-wrap; word-wrap: break-word;">For a while now I've been having the idea on my mind that osmo-mgw should have an inactivity timeout on endpoints.<br>When we didn't see any RTP nor MGCP for a long long time (one hour?) then we discard the endpoint implicitly. That would not need a clean wipe from any client program.<br>one hour: I'd pick a really long time for cases where a call is on hold / mute, or with local-call-local-switch, so that an endpoint can remain inactive for some time to support those use cases.</p><p style="white-space: pre-wrap; word-wrap: break-word;">As I'm writing I'm also getting another idea: we already support using distinct domain names from MGCP clients. For example, I often configure my osmo-msc to use "1@msc" and the osmo-bsc to use "1@bsc" domain names in endpoints. If each client of an osmo-mgw has a distinct name (say "@bsc1" and "@bsc2"), it could clear out all its own endpoints like "DLCX *@bsc2" and leave the others intact.</p><p style="white-space: pre-wrap; word-wrap: break-word;">...<br>Is there a redmine issue describing this? (add "Related:" to commit log?)</p><p style="white-space: pre-wrap; word-wrap: break-word;">...<br>code wise i'm confused about the role of 'endp' in this patch.<br>Isn't 'endp' one single "123@mgw" endpoint? Why does MGCP like "DLCX *@mgw" then go through an 'endp'?</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24823">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24823/2//COMMIT_MSG">Commit Message:</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-mgw/+/24823/2//COMMIT_MSG@9">Patch Set #2, Line 9:</a> <code style="font-family:monospace,monospace">At the moment osmo-mgw does not support wildcarded DLCX requests that</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">oh wow, i thought we were already using them</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24823/2/src/libosmo-mgcp/mgcp_protocol.c">File src/libosmo-mgcp/mgcp_protocol.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-mgw/+/24823/2/src/libosmo-mgcp/mgcp_protocol.c@1341">Patch Set #2, Line 1341:</a> <code style="font-family:monospace,monospace">trank</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">trunk</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/24823">change 24823</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/+/24823"/><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: I0770cf46d93ab09efe9cafdd56d2e3f1132db189 </div>
<div style="display:none"> Gerrit-Change-Number: 24823 </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-CC: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 05 Jul 2021 22:13:52 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>