<div>I think I don&#39;t have something configured correctly.  When I do a search on the CDRs page my Flow info is not always correct.  So I am not sure what all I am doing wrong.</div>
<div> </div>
<div>On my cdrtool global.inc config I have the following configured</div>
<div>                    &quot;intAccessCode&quot;      =&gt; &quot;011&quot;,                    </div>
<div>                    &quot;natAccessCode&quot;      =&gt; &quot;1&quot;,</div>
<div> </div>
<div> </div>
<div>When an internal customer to internal customer call is &quot;in progress&quot; the call shows up as On-Net, yet when the call is over it shows up as &quot;outgoing&quot;.  For the following fields I am sending this from OpenSIPS</div>

<div> </div>
<div>To (dialed URI): <a href="mailto:19**33*9**8@irock.com">19**33*9**8@irock.com</a></div>
<div>Canonical URI: <a href="mailto:19**33*9**8@irock.com">19**33*9**8@irock.com</a></div>
<div>Billing Party: <font color="#a52a2a"><a href="mailto:19**27*2**4@coolbeans.com">19**27*2**4@coolbeans.com</a></font></div>
<div>From: <table><td></td> <td><a href="mailto:19**27*2**4@coolbeans.com">19**27*2**4@coolbeans.com</a></td></table></div>
<div> </div>
<div>You can see that I am prefixing the &quot;1&quot; to the US numbers.</div>
<div> </div>
<div>After the call is not &quot;in progress&quot; I see that the following changed</div>
<div> </div>
<div><table><tr><tr><td>To (dialed URI):</td> <td><a href="mailto:01119**33*9**8@irock.com">01119**33*9**8@irock.com</a></td> </tr></tr></table></div>
<div><table><tr><td></td><td>Canonical URI: </td><td><a href="mailto:01119**33*9**8@irock.com">01119**33*9**8@irock.com</a></td></tr></table></div>
<div> </div>
<div> </div>
<div> </div>
<div>I also get a flow of &quot;diverted-off-net&quot; when a call comes from the PSTN to an internal customer and once again my &quot;To (dialed URI)&quot; and &quot;Canonical URI&quot; numbers change from having a &quot;1&quot; prefix to a &quot;0111&quot; when the call is over.</div>

<div> </div>
<div>I&#39;m sure this is something simple.</div>