On my ASTPP instance I’ve noticed something very strange. Out of 10 customers, two cutomers are not being billed when they make calls. In the CDRs, these calls are logged on the Admin portal however it doesnt show these CDRs on the customer portal.
When I dig further, I noticed these calls are billed on the the outgoing trunk (called leg) which is very strange.
These customers are configured exactly the same as those working fine (double checked).
Please help.
Thanks for the detailed description, this is a useful clue.
The fact that calls are being billed on the trunk leg rather than the customer leg suggests the system is not associating those calls with the customer account at the origination stage. A few things would help us narrow this down:
-
What is the account type for the two affected customers: prepaid or postpaid?
-
How are these customers authenticating: SIP username/password or IP based?
-
Can you share the relevant section from the FreeSWITCH CDR for one of the affected calls, specifically the accountcode field? You can find this in fs_cli by running
show callsor checking the CDR log. -
Do the affected customers have a rate group assigned, and is there an origination rate that covers the destination they are calling?
-
Are these two customers under the admin directly or under a reseller?
The fact that it works for 8 customers and not 2 with identical configuration usually points to something subtle at the account level rather than a global issue.