[Freeswitch-users] Identify billable calls

John Nash john.nash778 at gmail.com
Fri Jan 22 16:34:33 MSK 2016


OK.. so if a cdr has billsec=0 but billmsec=30(lets say) it will not be
logged by cdr csv module but will be logged in xml cdr?

On Fri, Jan 22, 2016 at 9:46 AM, Stanislav Sinyagin <ssinyagin at gmail.com>
wrote:

> there are also two additional variables at the closure of a channel:
> billmsec (milliseconds) and billusec (microseconds).
>
> They may not be present in CSV CDR, so you need to choose some other
> CDR format: for example, XML CDR delivers all available variables.
> Also you can catch the channel closing event via ESL and queue it for
> further processing in real time.
>
>
>
> On Fri, Jan 22, 2016 at 5:01 AM, John Nash <john.nash778 at gmail.com> wrote:
> > I am already filtering when importing these calls to mysql on the
> criteria
> > where billsec>0. My question is will I miss some of the connected calls
> > which were connected for less than 1 second and may be freeswitch is
> > rounding up to 0.
> >
> > On Fri, Jan 22, 2016 at 9:24 AM, Sergey Safarov <s.safarov at gmail.com>
> wrote:
> >>
> >> Use grep command with regex to filter not answered calls.
> >>
> >>
> >> On Fri, Jan 22, 2016, 06:50 John Nash <john.nash778 at gmail.com> wrote:
> >>>
> >>> I am using bridge application to connect to carrier gateways and using
> >>> CDR csv module for billing.
> >>>
> >>> In my logic I am only billing calls which have billsec>0 now I wonder
> if
> >>> this is correct way to find what calls are connected I mean may be some
> >>> calls I am ignoring which were connected for less than 1 second?..Is
> that
> >>> possible?...what is the sure shot way to filter connected calls?
> >>>
> _________________________________________________________________________
> >>> Professional FreeSWITCH Consulting Services:
> >>> consulting at freeswitch.org
> >>> http://www.freeswitchsolutions.com
> >>>
> >>> Official FreeSWITCH Sites
> >>> http://www.freeswitch.org
> >>> http://confluence.freeswitch.org
> >>> http://www.cluecon.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
> >>
> >>
> >>
> _________________________________________________________________________
> >> Professional FreeSWITCH Consulting Services:
> >> consulting at freeswitch.org
> >> http://www.freeswitchsolutions.com
> >>
> >> Official FreeSWITCH Sites
> >> http://www.freeswitch.org
> >> http://confluence.freeswitch.org
> >> http://www.cluecon.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
> >
> >
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://confluence.freeswitch.org
> > http://www.cluecon.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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160122/2ff7237d/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list