[Freeswitch-users] Many CS_REPORTING state Zombie session
João Mesquita
jmesquita at freeswitch.org
Sat Oct 31 09:56:17 PDT 2009
Dome, just to explain what Brian is saying:
Doing billing inline in this case means that the session thread (what you
see in show channels). If, for whatever reason, something goes wrong on the
DB connection or task for the billing, this session thread will be stuck
with it leaving it dangling around the system. This is what most likely is
happening to you. The right way to do it is to let the session thread go
(which mod_cdr_csv does) and then process the billing.
None of the methods you have described do that. You might consider
post-processing your CDR/billing information to avoid coming up with this
kind of problem that are very hard to predict.
Hope that helps,
JM
PS: Nonetheless, I still think it is valid to get a core dump like Rupa
metioned.
On Sat, Oct 31, 2009 at 2:44 PM, Brian West <brian at freeswitch.org> wrote:
> You should never do billing inline with the session thread is all I'm
> saying.
>
> /b
>
> On Oct 31, 2009, at 11:32 AM, Dome Charoenyost wrote:
>
> > I use odbc_query for retrive balance and get LCR from my billing DB.
> > and use nibble_bill
> >
> > Dome C.
>
>
> _______________________________________________
> 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/20091031/eac26705/attachment-0002.html
More information about the FreeSWITCH-users
mailing list