Hello folks!

I have a problem - I need to get actual duration of the call - I mean from ANSWER to HANGUP, without the time user waited being parked on the bridge. The thing is I need to write that info into a custom table which belongs to a custom database where I have leg_a uuid.
How can I achieve that in case of:
1. Outoing origination via bridge()
2. Connecting two customers which are already inside a freeswitch via bridge()
I've read about mod_cdr_csv but it afaik doesn't allow to connect to a custom db.
Would mod_odbc_cdr allow me to do that? And if yes - can you tell me "chan-var-name"?

And don't be afraid - such slow method is not for billing :) Just to provide customer more detailed calls history.

Thanks!
--
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
phone: +37367398493
web: http://abs-telecom.com/