<p style="white-space: pre-wrap; word-wrap: break-word;">(ensure messages are sent)</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19119">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19119/2/src/libosmo-mgcp/mgcp_trunk.c">File src/libosmo-mgcp/mgcp_trunk.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/+/19119/2/src/libosmo-mgcp/mgcp_trunk.c@164">Patch Set #2, Line 164:</a> <code style="font-family:monospace,monospace">                return mgcp_trunk_by_num(cfg, MGCP_TRUNK_E1, trunk_nr);</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">It looks to me like now mgcp_trunk_by_name() no longer works for epname that contain the virtual tru […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I think everything is ok here, also the TTCN3 tests pass fine. Do I miss anything?</p><p style="white-space: pre-wrap; word-wrap: break-word;">If the virtual trunk is requested and the virtual trunk prefix is contained it should if in line 158 should become true, then we return the virtual trunk.</p><p style="white-space: pre-wrap; word-wrap: break-word;">If the trunk is an E1, if in line 163 will become true and we return the E1 trunk.</p><p style="white-space: pre-wrap; word-wrap: break-word;">The check below in line 174 if for legacy requests without trunk prefix. If non of the above applies it is the last chance to get a trunk. However, I would strongly argue to remove this part. Osmo-msc and osmo-bsc do the requests properly for a long time now.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19119">change 19119</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/+/19119"/><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: I91fb8cf6e3b077ba8f18fdbcd071275c6fd7cacd </div>
<div style="display:none"> Gerrit-Change-Number: 19119 </div>
<div style="display:none"> Gerrit-PatchSet: 5 </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: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 10 Jul 2020 13:29:09 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>