[OpenSIPS-Users] call duration problem

Francisco Franco francisco.franco at recargaexpress.com
Thu Jul 26 13:50:53 CEST 2012


I know that media-proxy is accounting early media  and it isnt valid for 
billing.

I dont know how to solve it. I have to comparte timestamp from ACC table 
to extract the real duration until solve its

Please, help

El 26/07/12 10:27, Stefano Pisani escribió:
> StartTime and StopTime are equal??
>
> Il 26/07/2012 10:19, Francisco Franco ha scritto:
>> Yes, i am using this time as call duration. It is stored in a radius 
>> db as AcctSessionTime
>>
>> +----------+---------------------+---------------------+-----------------+-------------------------+-----------------------------+--------------------------------+---------------+
>> | UserName | AcctStartTime       | AcctStopTime        | 
>> AcctSessionTime | CallingStationId        | 
>> CalledStationId             | SipTranslatedRequestURI        | 
>> SourceIP      |
>> +----------+---------------------+---------------------+-----------------+-------------------------+-----------------------------+--------------------------------+---------------+
>>
>> |          | 2012-07-25 16:26:08 | 2012-07-25 16:26:08 |              
>> 10 | 9229***13 at 62.175.***.50 | 0034637****38 at 62.175.***.59 | 
>> 34637510038 at 213.27.***.69 | 62.175.***.50 |
>>
>>
>> El 26/07/12 09:58, Stefano Pisani escribió:
>>> 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.
>>>
>>> s
>>>
>>>
>>> Il 26/07/2012 09:32, Francisco Franco ha scritto:
>>>> /Jul 25 16:26:13 server2 media-dispatcher[25512]: debug: Got 
>>>> statistics: {'start_time': 0,  'end_time': 10, 'duration': 10}/
>>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120726/98f01ca7/attachment.htm>


More information about the Users mailing list