<p>osmith has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/14601">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">vty: add "no conn-timeout"<br><br>VTY command to disable conn-timeout again, after it has been enabled.<br>"conn-timeout" was introduced in [1].<br><br>[1] Change-Id I18886052e090466f73829133c24f011806cc1fe0.<br>Change-Id: I7dee7dafaaf4bb93fd692ea06b52b9e012beac6d<br>---<br>M src/libosmo-mgcp/mgcp_vty.c<br>1 file changed, 10 insertions(+), 0 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/01/14601/1</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 06aa7c8..944d936 100644</span><br><span>--- a/src/libosmo-mgcp/mgcp_vty.c</span><br><span>+++ b/src/libosmo-mgcp/mgcp_vty.c</span><br><span>@@ -1389,6 +1389,15 @@</span><br><span>   return CMD_SUCCESS;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+DEFUN(cfg_mgcp_no_conn_timeout,</span><br><span style="color: hsl(120, 100%, 40%);">+      cfg_mgcp_no_conn_timeout_cmd,</span><br><span style="color: hsl(120, 100%, 40%);">+      "no conn-timeout",</span><br><span style="color: hsl(120, 100%, 40%);">+      NO_STR "Disable inactive connections (CIs) timeout\n")</span><br><span style="color: hsl(120, 100%, 40%);">+{</span><br><span style="color: hsl(120, 100%, 40%);">+     g_cfg->conn_timeout = 0;</span><br><span style="color: hsl(120, 100%, 40%);">+   return CMD_SUCCESS;</span><br><span style="color: hsl(120, 100%, 40%);">+}</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span> int mgcp_vty_init(void)</span><br><span> {</span><br><span>     install_element_ve(&show_mgcp_cmd);</span><br><span>@@ -1456,6 +1465,7 @@</span><br><span>      install_element(MGCP_NODE, &cfg_mgcp_no_allow_transcoding_cmd);</span><br><span>  install_element(MGCP_NODE, &cfg_mgcp_domain_cmd);</span><br><span>        install_element(MGCP_NODE, &cfg_mgcp_conn_timeout_cmd);</span><br><span style="color: hsl(120, 100%, 40%);">+   install_element(MGCP_NODE, &cfg_mgcp_no_conn_timeout_cmd);</span><br><span> </span><br><span>   install_element(MGCP_NODE, &cfg_mgcp_trunk_cmd);</span><br><span>         install_node(&trunk_node, config_write_trunk);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/14601">change 14601</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/+/14601"/><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: I7dee7dafaaf4bb93fd692ea06b52b9e012beac6d </div>
<div style="display:none"> Gerrit-Change-Number: 14601 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: osmith <osmith@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>