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|[email protected]|200|OK|1295519625|
BYE|22078SIPpTag001|15280SIPpTag0114|[email protected]|200|OK|1295519626|

Regards,


--
-------------------------------------------
Apostolos Pantsiopoulos
Kinetix Tele.com R & D
email: [email protected]
-------------------------------------------

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|[email protected]|200|OK|1295513771|

BYE|21912SIPpTag001|15280SIPpTag0113|[email protected]|200|OK|1295513772|


I don't think the duration is in there.


Regards,




_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to