Hello,
I'm new to CDR-Stats and i just successfully integrated FreeSWITCH with it.
However whenever a CDRs is pushed from cdr-pusher to CDR-Stats, the cost is always 0.
Here is what i have done and configured:
PREFIX_LIMIT_MIN = 2
PREFIX_LIMIT_MAX = 5
LOCAL_DIALCODE = 1
PN_MIN_DIGITS = 6
PN_MAX_DIGITS = 10
PREFIX_TO_IGNORE = "+,0,00,000,0000,00000,011,55555,99999"
INTERNAL_CALL = 5
2) Create 2 customers that use the VOIPPlan Default, thus using also the default carrier and retail plans as well as provider and gateway
Both CDR records have:
Buy Rate = 0
Buy Cost = 0
Sell Rate = 0
Sell Cost = 0
Based on the results, the dial code is incorrect. The dial code should have been 1 for it to match US right? Please do correct me if i'm wrong.
Could you provide some steps to do or other configurations that need to be set in order to have the calls rated please?
Any help would be greatly appreciated.
Thank you