<p>Neels Hofmeyr <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/10585">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add X-Osmo-IGN MGCP header to ignore CallID<br><br>The format is<br><br>  CRCX ...<br>  C: ...<br>  M: ...<br>  X-Osmo-IGN: C<br><br>So far the only ignorable element is C, i.e. the CallID. Any other items may be<br>added in the future.<br><br>(I initially intended to also add '@' to ignore the endpoint name's domain<br>part, but in the osmo-mgw code base the domain part is verified long before any<br>additional headers are even parsed, so sparing that refactoring for now.)<br><br>The intention is that osmo-bsc will issue "X-Osmo-IGN: C" for all SCCPlite<br>calls, because we are unable to retrieve the CallID that the MSC sends to<br>osmo-mgw for the network side of the endpoint.<br><br>Testing with a specific SCCPlite MSC, I actually observe that all CallIDs are<br>1, even for concurrent calls. So, an alternative hacky solution would have been<br>to always pass CallID == 1 for SCCPlite connections from osmo-bsc.<br><br>Related: I257ad574d8060fef19afce9798bd8a5a7f8c99fe (osmo-bsc)<br>Change-Id: Id7ae275ffde8ea9389270cfe3db087ee8db00b51<br>---<br>M include/osmocom/mgcp/mgcp_common.h<br>M include/osmocom/mgcp/mgcp_endp.h<br>M include/osmocom/mgcp_client/mgcp_client.h<br>M include/osmocom/mgcp_client/mgcp_client_fsm.h<br>M src/libosmo-mgcp-client/mgcp_client.c<br>M src/libosmo-mgcp-client/mgcp_client_fsm.c<br>M src/libosmo-mgcp-client/mgcp_client_vty.c<br>M src/libosmo-mgcp/mgcp_msg.c<br>M src/libosmo-mgcp/mgcp_protocol.c<br>M tests/mgcp/mgcp_test.c<br>M tests/mgcp/mgcp_test.ok<br>M tests/mgcp_client/mgcp_client_test.c<br>M tests/mgcp_client/mgcp_client_test.ok<br>13 files changed, 132 insertions(+), 7 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/85/10585/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/10585">change 10585</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/10585"/><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: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Id7ae275ffde8ea9389270cfe3db087ee8db00b51 </div>
<div style="display:none"> Gerrit-Change-Number: 10585 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>