[OpenSIPS-Users] Dialog duration accounting question

Apostolos Pantsiopoulos regs at kinetix.gr
Thu Jan 20 11:35:36 CET 2011


Hi Bogdan,

Unfortunately this is not what I have.
I have an acc file (I falsely called it the CDRs file) which is in
"/var/log/acc/acc_5.log" due to the fact that I configured it like this 
in acc :

modparam("acc", "db_url", "flatstore:/var/log/acc")

and the contents do not follow the "scripts/dbtext/opensips/acc" 
description.

All it contains is this (after a call) :

ACK|22078SIPpTag001|15280SIPpTag0114|1-22078 at 192.168.253.55|200|OK|1295519625|
BYE|22078SIPpTag001|15280SIPpTag0114|1-22078 at 192.168.253.55|200|OK|1295519626|

Regards,


-- 
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: regs at kinetix.gr
-------------------------------------------

On 20/1/2011 11:18 πμ, Bogdan-Andrei Iancu wrote:
> Hi Apostolos,
>
> There is no CDR file, only the ACC file (where the CDRs are generated by
> acc + dialog modules). The description of the file (with 1.6.4):
>
> scripts/dbtext/opensips/acc
>
> is:
>
> id(int,auto) method(string) from_tag(string) to_tag(string)
> callid(string) sip_code(string) sip_reason(string) time(int)
> duration(int) setuptime(int) created(int)
>
>
> Is what you have ?
>
> Regards,
> Bogdan
>
> Apostolos Pantsiopoulos wrote:
>> Hi,
>>
>> Thanks for the prompt reply.
>>
>> This is a sample of my CDRs file :
>> ...
>> ACK|21912SIPpTag001|15280SIPpTag0113|1-21912 at 192.168.253.55|200|OK|1295513771|
>>
>> BYE|21912SIPpTag001|15280SIPpTag0113|1-21912 at 192.168.253.55|200|OK|1295513772|
>>
>>
>> I don't think the duration is in there.
>>
>>
>> Regards,
>>
>
>



More information about the Users mailing list