Hi!
I am experiencing difficulties configuring Connect Fee. For some reason, i need to charge a fixed fee for every call attempt:
FAILURE, duration = 0 –> charge Connect Fee
SUCCESS, duration = 0 –> charge Connect Fee
SUCCESS, duration > 0 –> charge Connect Fee + traffic
According to the documentation ( Routing | Yeti Switch )
“Change Customer’s and Vendor’s balance … in case of successful call with non-zero length (Step 12.4)”
So balance is changed only for successful calls with non-zero duration, and Connect Fee is never applied to failed or zero-duration calls.
I tried to force failed attempts to be treated as successful by updating disconnect codes, but with no effect.
UPDATE class4.disconnect_code
SET
success = true,
stop_hunting = true
WHERE code = 603;
Questions:
Is this a design limitation of Yeti billing?
Is there any way to charge a fixed fee per attempt (including FAILURE)?
Thank you!