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 <[email protected]> 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 > [email protected] > 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 [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
