Hello,
I have setup Yeti on a new server and the calls are running fine without any issue but when i checked the balance of the customers it is not being deducted. any suggestions ?
Hello,
I have setup Yeti on a new server and the calls are running fine without any issue but when i checked the balance of the customers it is not being deducted. any suggestions ?
pgqd is not running or cdr_billing is not running.
how do i check that ? I am sorry i am new to postgres. i have worked with mysql but not postgresql
ps aux | grep pgq
ps aux | grep cdr_billing
Below is what i see, should i open any ports on the firewall ?
I was right - pgqd is not running. See https://yeti-switch.org/docs/en/installation/cdr-database.html#pgqd-ticker
is this correct ? I also enabled pgqd at startup and rebooted.
yes.
show tail /var/log/yeti-cdr-billing.log
Billing queue contains 1069038 events, you should wait until they will be processed.
I just checked the log again and still there are 1069038 events, Should i wait or something is stuck ?
Now i get blank. The Balance is still not decreasing, I have set reverse billing as false in Destination rates.
It depends on process cdr_billing. If cdr_billing is running - wait.
I checked the logs, it is blank now, but the balance is still not decreasing.
does this has something to do with the balance ?
I am really confused as i have shifted a client on yeti and since yesterday i dont have a track of their usage.
Looks like you have no enough RAM and cdr_billing process crashed(killed by OOM killer) when tried to load batch with 1M events. In normal situation pgqd create batches with 10-100 events.
There are few solutions: