<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/10188">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_client: use IETF source port as for MGCP<br><br>At the moment the mgcp client uses an arbitrary port as sourceport to<br>exchange MGCP messages with the MGW. However, IETF has designated a<br>specific port as sourceport for MGCP clients (Call agents), which is<br>2727. See also RFC3435, capter 3.5 Transmission over UDP.<br><br>- Change MGCP_CLIENT_LOCAL_PORT_DEFAULT from 0 to 2727<br><br>Change-Id: I96de84df3a3bf623d98b057ec3f3f621a3330a8a<br>Closes:     OS#2874<br>---<br>M include/osmocom/mgcp_client/mgcp_client.h<br>1 file changed, 2 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/88/10188/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/mgcp_client/mgcp_client.h b/include/osmocom/mgcp_client/mgcp_client.h</span><br><span>index 19c684d..ed2dfb0 100644</span><br><span>--- a/include/osmocom/mgcp_client/mgcp_client.h</span><br><span>+++ b/include/osmocom/mgcp_client/mgcp_client.h</span><br><span>@@ -5,8 +5,9 @@</span><br><span> </span><br><span> #include <osmocom/mgcp_client/mgcp_common.h></span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* See also: RFC 3435, chapter 3.5 Transmission over UDP */</span><br><span> #define MGCP_CLIENT_LOCAL_ADDR_DEFAULT "0.0.0.0"</span><br><span style="color: hsl(0, 100%, 40%);">-#define MGCP_CLIENT_LOCAL_PORT_DEFAULT 0</span><br><span style="color: hsl(120, 100%, 40%);">+#define MGCP_CLIENT_LOCAL_PORT_DEFAULT 2727</span><br><span> #define MGCP_CLIENT_REMOTE_ADDR_DEFAULT "127.0.0.1"</span><br><span> #define MGCP_CLIENT_REMOTE_PORT_DEFAULT 2427</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/10188">change 10188</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/10188"/><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-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I96de84df3a3bf623d98b057ec3f3f621a3330a8a </div>
<div style="display:none"> Gerrit-Change-Number: 10188 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>