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

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: update desc of conn-timeout<br><br>It can be used together with LCLS, just make sure to also enable<br>keep-alive packets.<br><br>In OS#3429 it was pointed out, that during LCLS the media path remains<br>active but is not used. Without any traffic flowing, this looks like a<br>timed out connection and so it will be killed if conn-timeout is set.<br><br>However, OsmoBSC and OsmoMSC have an option to enable RTP keep-alive<br>packets (through libosmo-mgcp, originally intended to keep connections<br>behind NAT open). If that option is enabled, the keep-alive packets<br>should also prevent the conn-timeout.<br><br>Related: OS#3783<br>Change-Id: Ib4d19104d558a26a444a80fb36f4b7b33bc5cc59<br>---<br>M src/libosmo-mgcp/mgcp_vty.c<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libosmo-mgcp/mgcp_vty.c b/src/libosmo-mgcp/mgcp_vty.c</span><br><span>index a479b95..5f9853b 100644</span><br><span>--- a/src/libosmo-mgcp/mgcp_vty.c</span><br><span>+++ b/src/libosmo-mgcp/mgcp_vty.c</span><br><span>@@ -1382,7 +1382,8 @@</span><br><span>       "conn-timeout <0-65534>",</span><br><span>       "Set a time after which inactive connections (CIs) are closed. Set to 0 to disable timeout. This can be used to"</span><br><span>       " work around interoperability problems causing connections to stay open forever, and slowly exhausting all"</span><br><span style="color: hsl(0, 100%, 40%);">-      " available ports. Do not enable when LCLS is used (connections in LCLS state appear to be inactive)!\n"</span><br><span style="color: hsl(120, 100%, 40%);">+      " available ports. Enable keep-alive packets in MGW clients when using this option together with LCLS (OsmoBSC,"</span><br><span style="color: hsl(120, 100%, 40%);">+      " OsmoMSC: 'rtp keep-alive')!\n"</span><br><span>       "Timeout value (sec.)\n")</span><br><span> {</span><br><span>  g_cfg->conn_timeout = strtoul(argv[0], NULL, 10);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/14602">change 14602</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/+/14602"/><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: Ib4d19104d558a26a444a80fb36f4b7b33bc5cc59 </div>
<div style="display:none"> Gerrit-Change-Number: 14602 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>