VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
dftoro at yahoo.com Guest
|
Posted: Sun May 10, 2009 11:08 pm Post subject: [Freeswitch-users] get call durantion |
|
|
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 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Sun May 10, 2009 11:28 pm Post subject: [Freeswitch-users] get call durantion |
|
|
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 (dftoro@yahoo.com)> wrote:
|
|
Back to top |
|
|
dftoro at yahoo.com Guest
|
Posted: Mon May 11, 2009 6:57 pm Post subject: [Freeswitch-users] get call durantion |
|
|
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. -MCSent from my iPhone On May 10, 2009, at 6:17 PM, Diego Toro <dftoro@yahoo.com (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 _______________________________________________Freeswitch-users mailing listFreeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)http://lists.freeswitch.org/mailman/listinfo/freeswitch-usersUNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org |
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Tue May 12, 2009 12:38 am Post subject: [Freeswitch-users] get call durantion |
|
|
Those variables are only set on hangup. You can have a look at the caller profile to get the answered time if you want to process that before hangup.
Math
On 11-May-09, at 7:56 PM, Diego Toro wrote:
|
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Tue May 12, 2009 12:46 am Post subject: [Freeswitch-users] get call durantion |
|
|
You can do /event list all on the CLI, and on hangup you will see that
the billsec, duration and other variables are set.
Regards,
Diego
On Tue, May 12, 2009 at 1:35 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Quote: | Those variables are only set on hangup. You can have a look at the caller
profile to get the answered time if you want to process that before hangup.
Math
On 11-May-09, at 7:56 PM, Diego Toro wrote:
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
_______________________________________________
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
-----Inline Attachment Follows-----
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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
|
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|