http://www.kamailio.org/docs/modules/stable/modules/acc.html
account transactions 資訊到 syslog、SQL、RADIUS、或 DIAMETER 後端,只需要 setflag() 符合特定後端的 accounting flag,transaction 結束後就會回報。
也可以產生基於 dialog 的 Call Data Record (CDR),包括 start time、end time、及 duration 等,需要啟用 CDR 設定及載入 dialog 模組。因為錯誤而造成 dialog 最後訊息沒收到而 expire 也可以紀錄。
需要 tm (Transaction Manager),資料庫模組如有使用的話,rr (Record Route) 模組如果參數 detect_direction enabled,dialog 模組如果要支援 CDR。