<p>neels <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/16189">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">add osmo_gsup_make_response() and osmo_gsup_message_name_*()<br><br>As I am implementing GSUP proxy forwarding between osmo-hlr instances, it<br>becomes apparent that many code paths omit to copy back essential information<br>in replies to GSUP requests.<br><br>Provide a definitive common function that ensures a response is routed back to<br>the sender with all message fields reflecting the same subscriber, session<br>identification and message realm.<br><br>It is up to osmo-hlr's GSUP server and all clients to use this function in all<br>relevant GSUP message composition. The most important user is osmo-hlr, which<br>for now does all proxy routing tasks for directly attached clients.<br><br>However, if a core network entity other than the home HLR of a subscriber<br>launches an MT request, client programs like osmo-msc should also ensure to use<br>this function, so that responses are sure to reach the requesting peer.<br><br>osmo_gsup_message_name_*() are useful to check the osmo_gsup_make_response()<br>results in gsup_test.c, and are also otherwise useful for debug logging. So far<br>it prints exactly those elements required to be copied to a response.<br><br>Change-Id: Id9692880079ea0f219f52d81b1923a76fc640566<br>---<br>M include/osmocom/gsm/gsup.h<br>M src/gsm/gsup.c<br>M src/gsm/libosmogsm.map<br>M tests/gsup/gsup_test.c<br>M tests/gsup/gsup_test.ok<br>5 files changed, 245 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/89/16189/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/16189">change 16189</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/libosmocore/+/16189"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id9692880079ea0f219f52d81b1923a76fc640566 </div>
<div style="display:none"> Gerrit-Change-Number: 16189 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>