I just installed a2billing 2.0.16 and I noticed that the balanced goes to negative, and the calls continued even if the balance reaches 0 dollar. I browse the forum and everyone is saying to look into the dialcommand_param. Below is my configuration on the three areas where there is a dialcommand_param under the Global_list: dialcommand_param_call_2did - |60|HiL(%timeout%:61000:30000); dialcommand_param - |60|HRrL(%timeout%:61000:30000); dialcommand_param_sipiax_friend - |60|HiL(%timeout%:61000:30000);
I debug the call flow and the computation of the %timeout% is correct, but for some reason it doesn't hangup the call even if the balance of the credit reaches 0: AGI Script Executing Application: (DIAL) Options: (IAX2/SIPGATE_211/15142942365,60,HRrL(60000:61000:30000)) > Limit Data for this call: > timelimit = 60000 ms (60.000 s) > play_warning = 31000 ms (31.000 s) > play_to_caller = yes > play_to_callee = no > warning_freq = 30000 ms (30.000 s) > start_sound = > warning_sound = timeleft > end_sound =
Is there anything that I need to look at and check on my configuration? Thank you.
PS. I am using PIAF with Freepbx 2.11.
|