https://projects.osmocom.org/https://projects.osmocom.org/favicon.ico?16647414092020-03-08T09:29:25ZOpen Source Mobile CommunicationsOsmoMGW - Bug #4034: Bad default value for number of endpointshttps://projects.osmocom.org/issues/4034?journal_id=176542020-03-08T09:29:25Zlaforge
<ul><li><strong>Assignee</strong> set to <i>laforge</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul> OsmoMGW - Bug #4034: Bad default value for number of endpointshttps://projects.osmocom.org/issues/4034?journal_id=176562020-03-08T09:52:20Zlaforge
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>80</i></li></ul><p>I can confirm this bug is still present. It's a bit odd, as we seem to do initialize tcfg->vty_number_endpoints to 33 in <code>mgcp_trunk_alloc()</code> and then subsequently set tcfg->number_endpoints to tcfg->vty_number_endpoints in <code>mgcp_endpoints_allocate()</code></p>
<p>The problem arises from the fact that the 'default trunk' is statically allocated and has some special treatment - hence it never goes through that path :(</p>
<p>Patch in <a class="external" href="https://gerrit.osmocom.org/c/osmo-mgw/+/17422">https://gerrit.osmocom.org/c/osmo-mgw/+/17422</a></p> OsmoMGW - Bug #4034: Bad default value for number of endpointshttps://projects.osmocom.org/issues/4034?journal_id=176572020-03-08T09:53:38Zlaforge
<ul></ul><p>For the record, this bug was introduced in change-id I3994af016fb96427263edbba05f560743f85fdd4 in November 2017 while fixing <a class="issue tracker-1 status-5 priority-4 priority-high2 closed" title="Bug: osmo-mgw's VTY config modifies the length used for internal endpoints array without reallocating ... (Closed)" href="https://projects.osmocom.org/issues/2632">#2632</a></p> OsmoMGW - Bug #4034: Bad default value for number of endpointshttps://projects.osmocom.org/issues/4034?journal_id=176582020-03-08T09:54:12Zlaforge
<ul></ul><p>Affected versions 1.3.0-1.7.0</p> OsmoMGW - Bug #4034: Bad default value for number of endpointshttps://projects.osmocom.org/issues/4034?journal_id=176592020-03-08T12:00:16Zlaforge
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>80</i> to <i>100</i></li></ul><p>patch merged.</p>