<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">I know that media-proxy is accounting
early media and it isnt valid for billing.<br>
<br>
I dont know how to solve it. I have to comparte timestamp from ACC
table to extract the real duration until solve its<br>
<br>
Please, help<br>
<pre class="moz-signature" cols="72">
</pre>
El 26/07/12 10:27, Stefano Pisani escribió:<br>
</div>
<blockquote cite="mid:5010FF8A.5040201@omniavoip.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
StartTime and StopTime are equal??<br>
<br>
<div class="moz-cite-prefix">Il 26/07/2012 10:19, Francisco Franco
ha scritto:<br>
</div>
<blockquote cite="mid:5010FD96.6070201@recargaexpress.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Yes, i am using this time as call
duration. It is stored in a radius db as AcctSessionTime<br>
<br>
+----------+---------------------+---------------------+-----------------+-------------------------+-----------------------------+--------------------------------+---------------+<br>
| UserName | AcctStartTime | AcctStopTime |
AcctSessionTime | CallingStationId |
CalledStationId | SipTranslatedRequestURI |
SourceIP |<br>
+----------+---------------------+---------------------+-----------------+-------------------------+-----------------------------+--------------------------------+---------------+<br>
<br>
| | 2012-07-25 16:26:08 | 2012-07-25 16:26:08
| 10 | <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:9229***13@62.175.***.50">9229***13@62.175.***.50</a>
| <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:0034637****38@62.175.***.59">0034637****38@62.175.***.59</a>
| <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:34637510038@213.27.***.69">34637510038@213.27.***.69</a>
| 62.175.***.50 |<br>
<br>
<br>
El 26/07/12 09:58, Stefano Pisani escribió:<br>
</div>
<blockquote cite="mid:5010F897.8070101@omniavoip.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
This is the time for media proxy. Are you using that for call
duration? I think you can get the duration of call getting the
events form account db and making the difference between start
and end time. Just a simple query.<br>
<br>
s<br>
<br>
<br>
<div class="moz-cite-prefix">Il 26/07/2012 09:32, Francisco
Franco ha scritto:<br>
</div>
<blockquote cite="mid:5010F281.9090205@recargaexpress.com"
type="cite"><i>Jul 25 16:26:13 server2
media-dispatcher[25512]: debug: Got statistics:
{'start_time': 0, 'end_time': 10, 'duration': 10}</i></blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>