<p style="white-space: pre-wrap; word-wrap: break-word;">comment added. :)</p><p><a href="https://gerrit.asterisk.org/10747">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10747/2/main/cdr.c">File main/cdr.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.asterisk.org/#/c/10747/2/main/cdr.c@1627">Patch Set #2, Line 1627:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">       if ((!cdr->start.tv_sec) && (!cdr->start.tv_usec)) {<br>            cdr->start = ast_tvnow();<br>  }<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">I don't think doing this without exploring (and defining) the CDR state machine for the scenario is  […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Yes, I was thinking about that too. I wasn't happy to changing the code without deep understanding of the CDR. So I choose the smallest code fix as can as possible.</p><p style="white-space: pre-wrap; word-wrap: break-word;">To me, cdr transit to single_state_fn_table() is make sense, but without initiating. But without adding a new flag/parameter, it was not possible. So I just use the existing variables.</p><p style="white-space: pre-wrap; word-wrap: break-word;">And the single_state_fn_table used only when the cdr just generated and all the start time was set to 0. So, it was looks good, that's why I fixed this like this way. :)</p><p style="white-space: pre-wrap; word-wrap: break-word;">Anyways, is there something that I can do, or get more detail what to do? I'm not clear what's next..</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10747">change 10747</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/10747"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I921bc04064b6cff1deb2eea56a94d86489561cdc </div>
<div style="display:none"> Gerrit-Change-Number: 10747 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: sungtae kim <pchero21@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Thu, 06 Dec 2018 12:31:34 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>