<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9356">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">client: do not start connections in loopback mode<br><br>Starting connections in loopback bode may cause confusion at the<br>receiving end when the connection is switched from looback into<br>an actual send-receive connection. The reason for this is by this<br>the SSRC of the RTP stream will suddenly change. For the majority<br>of usecases it is not necessary to loopback the incomming packets<br>back to the receiver in the beginning. So lets use receive-only<br>as a safe default.<br><br>- use MGCP_CONN_RECV_ONLY instead of MGCP_CONN_RECV_LOOPBACK<br><br>Change-Id: I44178434ee497bc1d5e9d5f6d92c13c1a09ae241<br>Related: OS#3104<br>---<br>M src/libosmo-mgcp-client/mgcp_client_fsm.c<br>1 file changed, 1 insertion(+), 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/56/9356/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/libosmo-mgcp-client/mgcp_client_fsm.c b/src/libosmo-mgcp-client/mgcp_client_fsm.c</span><br><span>index 6e1e7b8..07a65e6 100644</span><br><span>--- a/src/libosmo-mgcp-client/mgcp_client_fsm.c</span><br><span>+++ b/src/libosmo-mgcp-client/mgcp_client_fsm.c</span><br><span>@@ -112,7 +112,7 @@</span><br><span>            .verb = MGCP_VERB_CRCX,</span><br><span>              .presence = (MGCP_MSG_PRESENCE_ENDPOINT | MGCP_MSG_PRESENCE_CALL_ID | MGCP_MSG_PRESENCE_CONN_MODE),</span><br><span>          .call_id = mgcp_ctx->conn_peer_local.call_id,</span><br><span style="color: hsl(0, 100%, 40%);">-                .conn_mode = MGCP_CONN_LOOPBACK,</span><br><span style="color: hsl(120, 100%, 40%);">+              .conn_mode = MGCP_CONN_RECV_ONLY,</span><br><span>    };</span><br><span>   osmo_strlcpy(mgcp_msg.endpoint, mgcp_ctx->conn_peer_local.endpoint, MGCP_ENDPOINT_MAXLEN);</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9356">change 9356</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/9356"/><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: I44178434ee497bc1d5e9d5f6d92c13c1a09ae241 </div>
<div style="display:none"> Gerrit-Change-Number: 9356 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>