<p>pespin <strong>submitted</strong> this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20033">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  laforge: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgw: Allow setting udp ip/port with wildcard osmux in f_flow_create_osmux()<br><br>This will be needed once IPv4+IPv6 support is used, since we want to set<br>the remote IP addr in CRCX for convinience to get an IP adr from ther<br>same family during CRCX, while still allowing for testing Osmux CID<br>wildcard value.<br><br>Change-Id: I3abd80b1c0053004aab3d03e09fada1129a59765<br>---<br>M mgw/MGCP_Test.ttcn<br>1 file changed, 7 insertions(+), 4 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/mgw/MGCP_Test.ttcn b/mgw/MGCP_Test.ttcn</span><br><span>index 24bfdaf..deb9f3e 100644</span><br><span>--- a/mgw/MGCP_Test.ttcn</span><br><span>+++ b/mgw/MGCP_Test.ttcn</span><br><span>@@ -417,10 +417,13 @@</span><br><span>                        * part that tells the MGW where we are listening for Osmux streams</span><br><span>                   * that come from the MGW. We get a fully working connection in</span><br><span>                       * one go. */</span><br><span style="color: hsl(0, 100%, 40%);">-                   rx_hdl := c_OsmuxemDefaultRxHandle;</span><br><span style="color: hsl(0, 100%, 40%);">-                     rx_hdl.cid := flow.osmux_cid;</span><br><span style="color: hsl(0, 100%, 40%);">-                   f_osmuxem_register_rxhandle(pt, rx_hdl);</span><br><span style="color: hsl(0, 100%, 40%);">-                        flow.osmux_cid_sent := true;</span><br><span style="color: hsl(120, 100%, 40%);">+                  if (flow.osmux_cid != -1) {</span><br><span style="color: hsl(120, 100%, 40%);">+                           /* We may still want to negotiate osmux CID later at MDCX */</span><br><span style="color: hsl(120, 100%, 40%);">+                          rx_hdl := c_OsmuxemDefaultRxHandle;</span><br><span style="color: hsl(120, 100%, 40%);">+                           rx_hdl.cid := flow.osmux_cid;</span><br><span style="color: hsl(120, 100%, 40%);">+                         f_osmuxem_register_rxhandle(pt, rx_hdl);</span><br><span style="color: hsl(120, 100%, 40%);">+                              flow.osmux_cid_sent := true;</span><br><span style="color: hsl(120, 100%, 40%);">+                  }</span><br><span>                    cmd := ts_CRCX_osmux(get_next_trans_id(), ep, mode, call_id, flow.osmux_cid);</span><br><span>                        cmd.sdp := ts_SDP(flow.em.hostname, flow.em.hostname, "23", "42",</span><br><span>                                          flow.em.portnr, { int2str(flow.pt) }, attributes);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20033">change 20033</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-ttcn3-hacks/+/20033"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I3abd80b1c0053004aab3d03e09fada1129a59765 </div>
<div style="display:none"> Gerrit-Change-Number: 20033 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@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: fixeria <vyanitskiy@sysmocom.de> </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: merged </div>