<div>I think I don'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> "intAccessCode" => "011", </div>
<div> "natAccessCode" => "1",</div>
<div> </div>
<div> </div>
<div>When an internal customer to internal customer call is "in progress" the call shows up as On-Net, yet when the call is over it shows up as "outgoing". 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 "1" to the US numbers.</div>
<div> </div>
<div>After the call is not "in progress" 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 "diverted-off-net" when a call comes from the PSTN to an internal customer and once again my "To (dialed URI)" and "Canonical URI" numbers change from having a "1" prefix to a "0111" when the call is over.</div>
<div> </div>
<div>I'm sure this is something simple.</div>