<p><a href="https://gerrit.osmocom.org/12398">View Change</a></p><p>2 comments:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/12398/3/src/libmsc/msc_mgcp.c">File src/libmsc/msc_mgcp.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12398/3/src/libmsc/msc_mgcp.c@964">Patch Set #3, Line 964:</a> <code style="font-family:monospace,monospace">return 0;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Maybe it's a good idea to print some NOTICE here?</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">No: if we've already done the Assignment step before, subsequent attempts should just silently not do anything. No use to keep logging "Assignment happened some time ago" over and over. The msc_mgcp_try_call_assignment() is called three or four times during call establishing, only one will trigger an Assignment.</p></li><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/12398/3/src/libmsc/msc_mgcp.c@966">Patch Set #3, Line 966:</a> <code style="font-family:monospace,monospace">trans->assignment_done = true;</code></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Ah, ok. The following commit renames this flag, so it's much cleaner.</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">exactly; 'assignment_done' also confused me, it will be renamed to 'assignment_started'.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/12398">change 12398</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/12398"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I11c0b7dc3f1a747028629b48e522bb3b864884ba </div>
<div style="display:none"> Gerrit-Change-Number: 12398 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </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>
<div style="display:none"> Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 04 Jan 2019 01:45:58 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>