Hi all,
I just would like to share something that I discovered last weekend about the ringback generation and max call time calculation.
Due to a long post dial delay (due to operators processing the call - looking for new ones) I decided to play a false ringback to my voip customers. I did it by adding the "r" letter to the Dial command: dialcommand_param = ,60,HLr(%timeout%:61000). Doing that I assumed that the max call time is still going calculated before the call is progressed (based on the dest prefix and the tarif, SIMULTANEOUS ACCESS = INDIVIDUAL). I could not be more wrong.
Few customers (I assume not intentionally) ended up with a negative balance in their accounts.
I did a bit of research and discovered that the "r" letter made a huge difference; it should be as the first option - ,60,
rHL(%timeout%:61000:30000); I also added the low balance warning so 30 before the call is going to be cut off an announcement is played.
I hope this will save some time whoever experiences similar issue...
Marcin