Hello,
On 26.03.25 17:21, Sergio Charrua via sr-users wrote:
Hi all!
I haveĀ been googling, and reading documentation, but I could not find any solution. How can I implement intermediate CDRs with Kamailio ACC module (or any other module) ? For example, on long duration calls, I 'm required to save call status on a CDR, resulting in intermediate CDR lines for the call (which will result in multiple CDR lines per long duration calls).
Any clue on how to implement this? Did anyone achieved that with Kamailio ACC module?
If one of the parties in the call sends re-INVITE requests (session timer/refresh), then you can get accounting records for them. See the RF4028, it is mainly about two headers that have to be present in the INVITE and/or 200ok, for example:
Session-Expires: 1800 Min-SE: 90
The headers can be added by proxy if originating UA does not set them, in the hope that the target UA has support for this feature. Usually gateways and media servers have support for it.
Cheers, Daniel