[Freeswitch-users] get call durantion

Diego Toro dftoro at yahoo.com
Mon May 11 16:56:25 PDT 2009


Hi,
 
I need get call duration after bridge application using mod_managed, my code:

 Session.Execute("bridge", sbNewOutBoundNum);
   

   Debug("billsec :" + _Session.GetVariable("billsec"));
   Debug("duration :" + _Session.GetVariable("duration"));
  
The bridge is ok, but the variable value duration and billsec is zero (0).
 
Diego

--- On Sun, 5/10/09, Michael S Collins <msc at freeswitch.org> wrote:






Do you mean from the CDR? I recommend XML CDRs because they give tons of information. If you are talking about gathering this stuff midcall then you'll need to supply more information about your setup. 


-MC

Sent from my iPhone

On May 10, 2009, at 6:17 PM, Diego Toro <dftoro at yahoo.com> wrote:









Hi,
How can I get call durantion after bridge application ?  I tried with billsec and duration but I don't get any value.
 
Thank you


_______________________________________________
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

-----Inline Attachment Follows-----


_______________________________________________
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



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090511/409878a6/attachment-0002.html 


More information about the FreeSWITCH-users mailing list