Brett, Gary
2005-Apr-29 05:03 UTC
[Asterisk-Users] Cost field in Call Detail Records (cdr)
Hi there I don't know if this utility is available anywhere at the moment but I thought id ask you guys if you know of one What I would like is a way of adding a field to my cdr records (either the Master.csv or a destination mysql table) for cost ! based on some sort of config file (or table) which has a listing of all the tariffs for particular prefixes, ie in the UK, the 0870 prefix is national rate at ?0.04p per minute (don't know if that is exact btw !) so I would like a way of adding a field that determines , for example that extension 7201 made a 4 minute call to an 0870 number and therefore that call has cost ?0.16p. I can then get my reporting software to pull this additional field into the report Is there anything around that does this sort of thing, open source or otherwise ?? Any help would be greatly appreciated Gary