Dear All,
I'm disable all CDR and use nibble_bill (modify) and
odbc_query for create CDR and dedcut balance. but i found many zombie
channel and can't kill
Like a
51555b02-c5ba-11de-af77-774e15238dbe,outbound,2009-10-30
18:11:38,1256951498,sofia/external/66848087...@xxx.xxx.xx.191:7050,CS
I believe this means you are hung up in CDR reporting. You can get a
core of the running system and look at the stack traces to see where
exactly it is hung up.
Try using:
support-d/fscore_pb gcore yourname
This will put a copy of the stacktrace on the pastebin for poeple (or
you) to look at.
So you're doing your billing INLINE with the session using the OSBC
Query app? Not the most optimal way!
/b
On Oct 31, 2009, at 10:59 AM, Rupa Schomaker wrote:
I believe this means you are hung up in CDR reporting. You can get a
core of the running system and look at the stack traces to se
I use odbc_query for retrive balance and get LCR from my billing DB.
and use nibble_bill
Dome C.
2009/10/31 Brian West :
> So you're doing your billing INLINE with the session using the OSBC Query
> app? Not the most optimal way!
> /b
> On Oct 31, 2009, at 10:59 AM, Rupa Schomaker wrote:
>
> I
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.
___
Free
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 aro
2009/10/31 Brian West :
> You should never do billing inline with the session thread is all I'm
> saying.
Sorry I don't understand. This is my example dialplan
Dome C.
>
> /b
>
> On Oct 31, 2009, a
Thanks JM.
So mod_nibblebill not good for running with high traffic. so we
can't do realtime billing ?
Dome C.
2009/10/31 João Mesquita :
> 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, fo
I think once you get the backtrace like rupa said we can see that
maybe odbc_query is really hanging or something similar.
/b
On Oct 31, 2009, at 12:05 PM, Dome Charoenyost wrote:
2009/10/31 Brian West :
You should never do billing inline with the session thread is all I'm
saying.
___
No, mod_nibblebill definetely needs to be enhanced but it is not the problem
and it can be used with high load traffic.
The one I am not sure about is odbc_query since it was not developed for
that.
Do what Rupa said, please.
Regards,
JM
On Sat, Oct 31, 2009 at 3:11 PM, Brian West wrote:
> I
i try
support-d/fscore_pb gcore root
but only get
[New Thread 0xb7656b90 (LWP 28445)]
[New Thread 0xb77bbb90 (LWP 28444)]
0xb7a5e007 in select () from /lib/libc.so.6
Saved corefile core.28443
i got core file but no more file
Dome C.
2009/11/1 Brian West :
> I think once you get the backtrace li
I found bug in fscore_pb $pwd should be $mypwd
Now i post already. please help me check.
Dome C.
2009/11/1 João Mesquita :
> No, mod_nibblebill definetely needs to be enhanced but it is not the problem
> and it can be used with high load traffic.
>
> The one I am not sure about is odbc_query
fscore_pb has been updated.
Next time put in the pastebin url. This one was 10911.
Ok, a suspicious thread looks below. If I read it right, you are
doing an originate from within the hangup handler. That doesn't look
normal or sane to me.
Thread 41 (process 30732):
#0 0xb7a5e007 in select ()
I also got some zombie channels, if someone can help me take a look that's
really nice.
http://pastebin.freeswitch.org/10912
I only loaded mod_cdr_csv
Is it ok to use mod_xml_cdr?
Thanks.
2009/11/1 Dome Charoenyost
> I found bug in fscore_pb $pwd should be $mypwd
>
> Now i post already. pl
Nothing jumps out at me on this one.
mod_cdr_csv and/or mod_xml_cdr should be fine.
On Sat, Oct 31, 2009 at 1:24 PM, Seven Du wrote:
> I also got some zombie channels, if someone can help me take a look that's
> really nice.
>
> http://pastebin.freeswitch.org/10912
>
> I only loaded mod_cdr_csv
app assumes it does.
-Michael
-Original Message-
From: freeswitch-users-boun...@lists.freeswitch.org
[mailto:freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Rupa
Schomaker
Sent: Saturday, October 31, 2009 1:28 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-
.
>
> -Michael
>
> -Original Message-
> From: freeswitch-users-boun...@lists.freeswitch.org [mailto:
> freeswitch-users-boun...@lists.freeswitch.org] On Behalf Of Rupa Schomaker
> Sent: Saturday, October 31, 2009 1:28 PM
> To: freeswitch-users@lists.freeswitch.org
> Subject:
Yes. i user api_hangup_hook for do callback.
may be need originate_timeout
Dome C.
2009/11/1 Rupa Schomaker :
> fscore_pb has been updated.
>
> Next time put in the pastebin url. This one was 10911.
>
> Ok, a suspicious thread looks below. If I read it right, you are
> doing an originate fro
Use bgapi originate ...
On Oct 31, 2009 9:09 PM, "Dome Charoenyost" wrote:
Yes. i user api_hangup_hook for do callback.
may be need originate_timeout
Dome C.
2009/11/1 Rupa Schomaker :
> fscore_pb has been updated. > > Next time put in the pastebin url. This
one was 10911. > > Ok, a ...
_
How to use bgapi in my flow.
1. user call did
2. FS send ringing and check balance, LCR from DB (by mod_odbc_quey)
3. Hangup (by use or timeout)
4. FS callback to user and bridge to IVR
I'm not sure bgapi can do after channel hangup.
Dome C.
2009/11/1 Anthony Minessale :
> Use bgapi originate
#4 makes no sense to me.
Are you just trying to create a call that the channel does not participate
in?
Then for sure you want to use bgapi to cause the originate to happen in the
background.
Also your gcore report has to be taken while you have the stuck channels to
see why they are stuck.
I can
2009/11/2 Anthony Minessale :
> #4 makes no sense to me.
This solution call "miss callback". some contry cost for toll free
number is so high. but call to user cheaper. so when user want to
use international call. they call to my DID and my system callback to them.
> Are you just trying to create
if you set the variable to:
"originate foo bar baz"
"bgapi originate foo bar baz"
bgapi is itself an api command that takes the argument string and runs it in
a separate thread and returns instantly.
This will stop it from hanging at that point.
On Sun, Nov 1, 2009 at 1:53 PM, Dome Charoenyo
23 matches
Mail list logo