<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
The flow is determined by the aNumber and BillingParty. The logic
is the following:<br>
<br>
If the caller is local and aNumber is the same as the BillingPartyID
the flow will be <br>
on-net or outgoing depending on the callee<br>
<br>
If the caller is local and aNumber is not the same as the
BillingPartyID the flow will be <br>
on-net-diverted-on-net or on-net-diverted-off-net depending on the
callee<br>
<br>
If the caller is not local and the BillingParty is local the flow
will be <br>
diverted-on-net or diverted-off-net depending on the callee<br>
<br>
If the caller is not local and the callee is local the flow will be
<br>
incoming<br>
<br>
If the caller is not local and the callee is not local is local the
flow will be <br>
transit<br>
<br>
After the call is done ( not in progress any more) it will be
normalized by the normalization process. This will rewrite the
numbers based on the config settings.<br>
<br>
Hope this clarifies things a bit.<br>
<br>
Best regards,<br>
<br>
--<br>
Tijmen de Mes<br>
AG Projects<br>
<br>
Op 6/2/11 10:23 PM, Duane Larson schreef:
<blockquote
cite="mid:BANLkTinWWNwtS5=yY8JEbk_R67DA0Cf7VQ@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
href="mailto:19**33*9**8@irock.com">19**33*9**8@irock.com</a></div>
<div>Canonical URI: <a moz-do-not-send="true"
href="mailto:19**33*9**8@irock.com">19**33*9**8@irock.com</a></div>
<div>Billing Party: <font color="#a52a2a"><a
moz-do-not-send="true"
href="mailto:19**27*2**4@coolbeans.com">19**27*2**4@coolbeans.com</a></font></div>
<div>From:
<table>
<tbody>
<tr>
<td><br>
</td>
<td><a moz-do-not-send="true"
href="mailto:19**27*2**4@coolbeans.com">19**27*2**4@coolbeans.com</a></td>
</tr>
</tbody>
</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>
<tbody>
<tr>
</tr>
<tr>
<td>To (dialed URI):</td>
<td><a moz-do-not-send="true"
href="mailto:01119**33*9**8@irock.com">01119**33*9**8@irock.com</a></td>
</tr>
</tbody>
</table>
</div>
<div>
<table>
<tbody>
<tr>
<td><br>
</td>
<td>Canonical URI: </td>
<td><a moz-do-not-send="true"
href="mailto:01119**33*9**8@irock.com">01119**33*9**8@irock.com</a></td>
</tr>
</tbody>
</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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>