<div dir="ltr"><div><div><div>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.<br><br></div>Other than that you could write a variable like so at the start<br><br></div>&lt;action application=&quot;set&quot; data=&quot;ivr_${destination_number}_start=${strepoch()}&quot;/&gt;<br><br>and this at the end<br><br>&lt;action application=&quot;set&quot; data=&quot;ivr_${destination_number}_end=${strepoch()}&quot;/&gt;<br><br></div>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.<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 22, 2015 at 1:01 PM, Vishal Kakkar <span dir="ltr">&lt;<a href="mailto:vishal.kakkar@gmail.com" target="_blank">vishal.kakkar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi all,<br><br></div>I got requirement to capture details about-<br></div>how much time caller spent with each menu item in IVR, during his call.<br><br></div>Any one please help, how can we capture this?<br></div>I am already using mod-xml-cdr for call record capturing.<br><br></div>Thanks<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Vishal.<br></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>