Vishal you should be able to look at the transfer stamps between when they were transferred to the IVR extension and when they were transferred away inside your mod_xml_cdr.

Other than that you could write a variable like so at the start

<action application="set" data="ivr_${destination_number}_start=${strepoch()}"/>

and this at the end

<action application="set" data="ivr_${destination_number}_end=${strepoch()}"/>

But this makes it add more items to the XML-CDR and i think the best way is probably to just use the transfer times.


On Wed, Apr 22, 2015 at 1:01 PM, Vishal Kakkar <vishal.kakkar@gmail.com> wrote:
Hi all,

I got requirement to capture details about-
how much time caller spent with each menu item in IVR, during his call.

Any one please help, how can we capture this?
I am already using mod-xml-cdr for call record capturing.

Thanks
Vishal.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org