<div dir="ltr"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">but most of my calls that are not answered are 0 on both A and B legs.</span></blockquote>
</div><div><br></div><div>If there's no 183/180 and the call goes straight to 200 then they won't be set. In that case PDD is the time until answer (as it's then the first progress they hear on the call).</div>
<div><br></div><div>See</div><div>answersec<br></div><div>answermsec<br></div><div>answerusec<br></div><div><br></div><div>Try taking the the minimum of the non-zero progress_mediamsec, progressmsec & answermsec values (or -sec or -usec).</div>
<div><br></div><div>-Steve</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 November 2013 16:09, Andre <span dir="ltr"><<a href="mailto:andretodd@verizon.net" target="_blank">andretodd@verizon.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-US" link="#0563C1" vlink="#954F72"><div><div><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">How do I calculate PDD in the freeswitch CDR’s?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Per <a href="http://wiki.freeswitch.org/wiki/PDD" target="_blank">http://wiki.freeswitch.org/wiki/PDD</a> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><i><span lang="EN">In Seconds:</span></i></b><span lang="EN"> <u></u><u></u></span></p><ul type="disc"><li class="MsoNormal"><span lang="EN">progress_mediasec <u></u><u></u></span></li><li class="MsoNormal">
<span lang="EN">progresssec <u></u><u></u></span></li></ul><p class="MsoNormal"><b><i><span lang="EN">In milliseconds (1000 = 1 second):</span></i></b><span lang="EN"> <u></u><u></u></span></p><ul type="disc"><li class="MsoNormal">
<b><span lang="EN">progress_mediamsec</span></b><span lang="EN"> if there was media <u></u><u></u></span></li><li class="MsoNormal"><b><span lang="EN">progressmsec</span></b><span lang="EN"> if there was no media <u></u><u></u></span></li>
</ul><p class="MsoNormal"><b><i><span lang="EN">In MicroSeconds (1000 = 1 millisecond)</span></i></b><span lang="EN"> <u></u><u></u></span></p><ul type="disc"><li class="MsoNormal"><span lang="EN">progress_mediausec <u></u><u></u></span></li>
<li class="MsoNormal"><span lang="EN">progressusec <u></u><u></u></span></li></ul><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">but most of my calls that are not answered are 0 on both A and B legs.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p></div></div></div></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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>
<br></blockquote></div><br></div>