I guess this has to be added on top or part of dialog module. This requires also defining how it is going to be sent: what protocol and data format.
An alternative can be that the billing engine is pulling periodically from kamailio via rpc commands. A helper command can be added to fetch dialogs by call-id or internal hash id/label, so only one dialog is returned.