<p>dexter <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19102">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_trunk: pick trunk by number and type<br><br>The function mgcp_trunk_by_num() is used to directly pick a specific<br>trunk that is known by its id number (sometimes called "index").<br>Traditionally the virtual trunk will reside under id number 0 and all<br>consecutively created E1 trunks will be created under number 1 to 64.<br>This works fine, but puts a limitation on us should we ever introduce an<br>aditional trunk type (e.g. T1). Since the numbers must be unique<br>regardless of the trunk type one could not have an E1 trunk number 1 and<br>e.g. a T1 trunk number 1 at the same time. So we should pick the trunk<br>not only by its number, but also by its type to allow different trunk<br>types to carry the same number. The trunks will still be distinguishable<br>by its type along with the respective endpoint prefix.<br><br>Change-Id: I7af1e9ce601babd4a51e88201a98319e03945f83<br>Related: OS#2659<br>---<br>M include/osmocom/mgcp/mgcp_trunk.h<br>M src/libosmo-mgcp/mgcp_osmux.c<br>M src/libosmo-mgcp/mgcp_trunk.c<br>M src/libosmo-mgcp/mgcp_vty.c<br>M tests/mgcp/mgcp_test.c<br>5 files changed, 49 insertions(+), 47 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/02/19102/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/19102">change 19102</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/+/19102"/><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: I7af1e9ce601babd4a51e88201a98319e03945f83 </div>
<div style="display:none"> Gerrit-Change-Number: 19102 </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: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>