[Freeswitch-users] Get actual duration of the call after hangup

Alexandru Covalschi 568691 at gmail.com
Sat Feb 13 04:11:54 MSK 2016


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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160213/72044a97/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list