<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/+/19118">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-mgw/+/19118/2/src/libosmo-mgcp/mgcp_endp.c">File src/libosmo-mgcp/mgcp_endp.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/+/19118/2/src/libosmo-mgcp/mgcp_endp.c@527">Patch Set #2, Line 527:</a> <code style="font-family:monospace,monospace"> const int8_t interlock_tab[MGCP_ENDP_E1_SUBSLOTS][16] =</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">s/16/MGCP_ENDP_E1_SUBSLOTS + 1 […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">16 is wrong. When counting out the length of the row I see its only 15. However, using MGCP_ENDP_E1_SUBSLOTS there would be wrong either because it is by coincidence and does not really relate to the number of possible subslot combinations.</p></li></ul></li><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19118/4/src/libosmo-mgcp/mgcp_endp.c">File src/libosmo-mgcp/mgcp_endp.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/+/19118/4/src/libosmo-mgcp/mgcp_endp.c@527">Patch Set #4, Line 527:</a> <code style="font-family:monospace,monospace">15</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Now you fixed it from 16 to 15, but I meant rather use the MGCP_ENDP_E1_SUBSLOTS constant here? […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">16 was wrong, its a 15x15 array. This bug was unrelated. However, the 16 I fixed to 15 is still unrelated to MGCP_ENDP_E1_SUBSLOTS</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19118/4/src/libosmo-mgcp/mgcp_endp.c@528">Patch Set #4, Line 528:</a> <code style="font-family:monospace,monospace"> { { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, -1 },</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Looking at it now, the alignment you use here is pretty weird. Simply move the first { up.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">I have fixed it in a separate patch.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19118">change 19118</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/+/19118"/><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: If7cb74e486946aff09e22abf8a8885bf0693f34e </div>
<div style="display:none"> Gerrit-Change-Number: 19118 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </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-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 10 Jul 2020 13:26:07 +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: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Comment-In-Reply-To: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>