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@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@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


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