[Freeswitch-users] How to calculate PDD for a call

shehzad p pmhshz at gmail.com
Wed Oct 22 09:19:51 PDT 2008


Hi Minessale,

I got problem with those variables:
all the variables you have suggested remain 0 .
means i get the PDD in 0 seconds or microseconds which is not possible.

Thanks again..


shehzad p wrote:
> 
> Thanks a lot Minessale, Its great.
> "FS rocks"
> 
> 
> Anthony Minessale-2 wrote:
>> 
>> The value is calculated for you and is available as a channel variable
>> that
>> can be used
>> in the cdr template or in your script.
>> 
>> at any time in a current call you have the variables progress_time and
>> progress_media_time
>> which is a microsecond epoch timestamp (divide it by 1000000 to get
>> regular
>> epoch time)
>> 
>> 
>> once the channel has been hungup you have the variables
>> progresssec pdd to 180 in seconds
>> progressmsec pdd to 180 in microsec
>> progress_mediasec pdd to 183 in sec
>> profress_mediamsec pdd to 183 in microsec
>> 
>> 
>> 
>> On Wed, Oct 22, 2008 at 7:55 AM, shehzad p <pmhshz at gmail.com> wrote:
>> 
>>>
>>> I want to calculate PDD (Post Dial Delay) for a call starting from when
>>> the
>>> call was originated from fs upto the time when the number starts
>>> ringing.
>>> (When fs receives 180 ringing from receiver side).
>>>
>>> I am originating call from js script. So how can I calculate PDD for a
>>> call.
>>> Any help would be appreciated.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/How-to-calculate-PDD-for-a-call-tp20110120p20110120.html
>>> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>>>
>>>
>>> _______________________________________________
>>> Freeswitch-users mailing list
>>> Freeswitch-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>> 
>> 
>> 
>> -- 
>> Anthony Minessale II
>> 
>> FreeSWITCH http://www.freeswitch.org/
>> ClueCon http://www.cluecon.com/
>> 
>> AIM: anthm
>> MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
>> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
>> IRC: irc.freenode.net #freeswitch
>> 
>> FreeSWITCH Developer Conference
>> sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
>> iax:guest at conference.freeswitch.org/888
>> googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
>> pstn:213-799-1400
>> 
>> _______________________________________________
>> Freeswitch-users mailing list
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-calculate-PDD-for-a-call-tp20110120p20114475.html
Sent from the Freeswitch-users mailing list archive at Nabble.com.





More information about the FreeSWITCH-users mailing list