but most of my calls that are not answered are 0 on both A and B legs.

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).

See
answersec
answermsec
answerusec

Try taking the the minimum of the non-zero progress_mediamsec, progressmsec & answermsec values (or -sec or -usec).

-Steve


On 27 November 2013 16:09, Andre <andretodd@verizon.net> wrote:

How do I calculate PDD in the freeswitch CDR’s?

Per http://wiki.freeswitch.org/wiki/PDD

 

 

In Seconds:

  • progress_mediasec
  • progresssec

In milliseconds (1000 = 1 second):

  • progress_mediamsec if there was media
  • progressmsec if there was no media

In MicroSeconds (1000 = 1 millisecond)

  • progress_mediausec
  • progressusec

but most of my calls that are not answered are 0 on both A and B legs.

 


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

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.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