qasimloay left a comment (kamailio/kamailio#4495)

Thanks for your response!

The issue is that the system reserved 60 seconds from OCS, but then returns 61 
seconds back to OCS in the CCR-STOP.
When the returned seconds are MORE than the reserved seconds, the OCS 
calculates a negative balance (especially when the call ends with "out of 
credit"). This negative value then becomes 71582788 when calculated as an 
unsigned integer.

>From the logs:
- Line 1033: "Final used number of seconds for session is 60" ← This is what 
was reserved
- Line 1057: "Sending stop CCR request for (usage) [61] seconds" ← This is what 
gets sent to OCS


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4495#issuecomment-3584702527
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/4495/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to