[Freeswitch-users] Problem in geting call duration

Anand Kumar kanand81 at gmail.com
Sun Aug 17 12:42:24 PDT 2008


Hi All,

Please help me,

I am trying to find out call answer time duration. i have tested in 2 way..

1. Make one call using FS and call is terminate on pstn and i hangup from
the softphone that time i got answer time using ..

var callduration=session.getVariable("duration");

console_log() Your call Answer time :4

2. when i disconnect the call from pstn site that time i am not get answer
time duration...

Your call Answer time :false
same code is return ""*false*" why ?

please help me..

Thanks
Anand Dayal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080817/de77f07b/attachment-0002.html 


More information about the FreeSWITCH-users mailing list