<p>Neels Hofmeyr <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/13612">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">GSUP: include terminating nul in inter-MSC source/destination name<br><br>Before, I was testing with osmo-hlr patch<br>I01a45900e14d41bcd338f50ad85d9fabf2c61405 applied, but that patch is currently<br>in an abandoned state.<br><br>This is the counterpart implemented in osmo-msc: always include the terminating<br>nul char in the "blob" that is the MSC IPA name.<br><br>The dualities in the formats of routing between MSCs is whether to handle it as<br>a char*, or as a uint8_t* with explicit len (a blob).<br><br>In the VTY config to indicate target MSCs for inter-MSC handover, we have<br>strings. We currently even completely lack a way of configuring any blob-like<br>data as a VTY config item.<br><br>In osmo-hlr, the IPA names used for routing are currently received as a char*<br>which *includes* the terminating nul char. So in osmo-msc, if we also always<br>include the nul char, it works.<br><br>Instead, we could just send the char* part without the nul char, and apply<br>above mentioned osmo-hlr patch. That patch would magically match a name that<br>lacks a nul with a name that includes one. I think it is better to agree on one<br>format on the GSUP wire now, instead of making assumptions in osmo-hlr on the<br>format of the source/target names for routing. This format, from the way GSUP<br>so far transmits the IPA SERNO tag when a client attaches to osmo-hlr, happens<br>to include the terminating nul char.<br><br>Change-Id: I9ca8c9eef104519ed1ea46e2fef46dcdc0d554eb<br>---<br>M src/libmsc/e_link.c<br>1 file changed, 14 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/12/13612/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/13612">change 13612</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/13612"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-msc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: I9ca8c9eef104519ed1ea46e2fef46dcdc0d554eb </div>
<div style="display:none"> Gerrit-Change-Number: 13612 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </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>