<p>neels has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25072">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">SMPP_Emulation: replace previous entries in f_create_smpp_expect()<br><br>Will be used by MSC_Tests.TC_call_re_establishment_auth in<br>I8110a6b432de734d53b111c7b69aabca12129691<br>to re-plug SMPP handling for an imsi to another vc_conn.<br><br>Related: SYS#5130<br>Change-Id: I63856fc158f5db9ced9185c208035b26e7ed7a74<br>---<br>M library/SMPP_Emulation.ttcn<br>1 file changed, 11 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/72/25072/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/library/SMPP_Emulation.ttcn b/library/SMPP_Emulation.ttcn</span><br><span>index fdeed4b..6c808eb 100644</span><br><span>--- a/library/SMPP_Emulation.ttcn</span><br><span>+++ b/library/SMPP_Emulation.ttcn</span><br><span>@@ -362,6 +362,17 @@</span><br><span> private function f_create_expect(charstring dest_number, SMPP_ConnHdlr hdlr)</span><br><span> runs on SMPP_Emulation_CT {</span><br><span>       for (var integer i := 0; i < sizeof(ExpectTable); i := i+1) {</span><br><span style="color: hsl(120, 100%, 40%);">+              if (ExpectTable[i].dst_addr == dest_number) {</span><br><span style="color: hsl(120, 100%, 40%);">+                 ExpectTable[i] := {</span><br><span style="color: hsl(120, 100%, 40%);">+                           dst_ton := omit,</span><br><span style="color: hsl(120, 100%, 40%);">+                              dst_npi := omit,</span><br><span style="color: hsl(120, 100%, 40%);">+                              dst_addr := dest_number,</span><br><span style="color: hsl(120, 100%, 40%);">+                              vc_conn := hdlr</span><br><span style="color: hsl(120, 100%, 40%);">+                       }</span><br><span style="color: hsl(120, 100%, 40%);">+                     return;</span><br><span style="color: hsl(120, 100%, 40%);">+               }</span><br><span style="color: hsl(120, 100%, 40%);">+     }</span><br><span style="color: hsl(120, 100%, 40%);">+     for (var integer i := 0; i < sizeof(ExpectTable); i := i+1) {</span><br><span>             if (ExpectTable[i].vc_conn == null) {</span><br><span>                        ExpectTable[i] := {</span><br><span>                          dst_ton := omit,</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/25072">change 25072</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/osmo-ttcn3-hacks/+/25072"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ttcn3-hacks </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I63856fc158f5db9ced9185c208035b26e7ed7a74 </div>
<div style="display:none"> Gerrit-Change-Number: 25072 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: neels <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>