CDRTool will take the data from where you tell it (inside global.inc) and it is able to work with Cisco style cdr format already, so all you need to do is to instruct yate or radius to put the cdrs where you need them. I would not insist with yate support on this channel since we are using openser mailing list for yate related questions (for more detailed info, feel free to mail me directly or use yate mailing list).<br>
<br>&gt;By accouting packet are you referring to the radius accouting packets?<br>&gt;If you say Yate puts session times in the accouting packets how does this<br>&gt;all stick<br>&gt;together? <br><br>&nbsp;Yes I was speaking about radius accounting packets, although yate can also put the cdrs directly inside database.<br>
As I have told you, it is just a recommendation, I usually use openser cdrs just for my info due to missed calls and sip-sip calls which I don&#39;t pass through yate, and ask CDRTool to display them (you can configure more datasources inside cdrtool).<br>
<br><br>DanB<br><br><div class="gmail_quote">On Feb 13, 2008 1:30 PM, A.smith &lt;<a href="mailto:a.smith@ukgrid.net">a.smith@ukgrid.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Dan,<br><br> &nbsp;Thanks for the all the info! Ok, question on this part:<br><div class="Ih2E3d"><br>3. Accounting it is bit more accurate (you have the session total duration<br>inside the accounting packets), so radius will be no longer responsible of<br>
calculating the session durations from timestaps.<br><br></div>To interoperate with CDRTool you still need the data in the radacct table<br>formatted<br>as per normal by Freeradius, right?<br>By accouting packet are you referring to the radius accouting packets?<br>
If you say Yate puts session times in the accouting packets how does this<br>all stick<br>together? Does OpenSER still do the radius accouting part, or do I need to<br>configure<br>Yate to do it instead?<br><br>thanks a lot! Andy.<br>
<div class="Ih2E3d"><br>--------- Original Message --------<br>From: Dan-Cristian Bogos &lt;<a href="mailto:danb.lists@googlemail.com">danb.lists@googlemail.com</a>&gt;<br>To: A.smith &lt;<a href="mailto:a.smith@ukgrid.net">a.smith@ukgrid.net</a>&gt;<br>
Cc: <a href="mailto:users@lists.openser.org">users@lists.openser.org</a><br>Subject: Re: [OpenSER-Users] FreeRADIUS-CDRTool Prepaid Connector 1.1<br>Released<br>Date: 13/02/08 12:15<br><br>&gt; Hi Andy,The original config was built with Yate in mind due to openser<br>
incapacity (before release 1.3) of disconnecting the calls. Since 1.3.0 the<br>dialog module should be able to timeout the calls, in theory you should no<br>longer need extra software like Yate.<br>&gt; I would still recommend using Yate combined with OpenSER in the case you<br>
</div>are doing some sort of &amp;quot;Carrier business&amp;quot;, for&amp;nbsp; the following<br><div class="Ih2E3d">reasons:1. It creates two different legs for your call (in and out) same as<br>Cisco does, and hides one side from the other (eg. removes the via headers<br>
and any revealing ip information inside SDP - so your partners should not<br>know where the traffic comes from).<br>&gt; 2. You have more protocols available in.3. Accounting it is bit more<br>accurate (you have the session total duration inside the accounting<br>
packets), so radius will be no longer responsible of calculating the session<br>durations from timestaps.<br>&gt; 4. Yate can work in rtp_forward mode, therefore no extra overhead given by<br>rtp processing.So basically what the connector does (as specified in the<br>
documentation), for each call which is authorized by radius, the connector<br>will ask permission from cdrtool. If permission is granted, it will return<br>in a avp to openser the maximum duration allowed for the call (timeout<br>
value) plus credit available, for the case of special uas able to display<br>that.<br>&gt; By receiving accounting stop packet, the connector will inform cdrtool<br>about call disconnection therefore clearing the lock and debiting the<br>
balance inside cdrtool. The rtp stream has nothing to do with this scenario,<br></div>so you don&amp;#39;t need to touch your NAT support configuration, it&amp;#39;s all<br>in the signaling.<br>&gt; Let me know if you need further info.Cheers,DanBOn Feb 13, 2008 12:53 PM<br>
<div><div></div><div class="Wj3C7c"><br>________________________________________________<br>Message sent using UK Grid Webmail 2.7.9<br><br><br></div></div></blockquote></div><br>