Re: [Freeswitch-users] mod_nibblebill and memory problem

2009-10-26 Thread João Mesquita
Why don't you get us more information for debugging? We could use some vg
output, maybe?

JM

On Mon, Oct 26, 2009 at 9:24 AM, Dome Charoenyost  wrote:

> Dear All,
> I'm running mod_nibblebill for my prepaid solution. I
> still have problem with memory. I have 4 GB RAM and runing debian
> squeeze 64 bit and 200 calls concurrent
> Last time nibblebill running with 1 min heartbeat. when i
> check memory by htop FS user memory 2% anf growth to 60-89% in 8-9 hr.
> and then FS crash.
> Now i change hearbeat to 0 it's mean nibble update balance
> when end of call. but everything are same FS start from 2% and growth
> to 20% in 2 days.
>When i unload nibblebill FS running fine.
>My question is when concurrent calls drop to 1-2 calls why FS
> (I think nibblebill) still use memory ? something wrong in nibblebill
> ?
>
> BG
> Dome C.
>
> ___
> 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] mod_nibblebill and memory problem

2009-10-26 Thread Dome Charoenyost
Dear All,
 I'm running mod_nibblebill for my prepaid solution. I
still have problem with memory. I have 4 GB RAM and runing debian
squeeze 64 bit and 200 calls concurrent
 Last time nibblebill running with 1 min heartbeat. when i
check memory by htop FS user memory 2% anf growth to 60-89% in 8-9 hr.
and then FS crash.
 Now i change hearbeat to 0 it's mean nibble update balance
when end of call. but everything are same FS start from 2% and growth
to 20% in 2 days.
When i unload nibblebill FS running fine.
My question is when concurrent calls drop to 1-2 calls why FS
(I think nibblebill) still use memory ? something wrong in nibblebill
?

BG
Dome C.

___
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


Re: [Freeswitch-users] mod_nibblebill

2009-09-23 Thread Michael Jerris
If it is no where in the code I would assume it is not implemented,  
try catching up with pyite on irc to confirm.

Mike

On Sep 20, 2009, at 12:03 AM, João Mesquita wrote:

> Guys, I have been testing mod_nibblebill lately and there are 2  
> params that I could not make work.
>
> 
> 
> 
>
> Looking at code, I could not find a single line that would actually  
> test those.
>
> Is this confirmed to be implemented? If not, this should be removed  
> from the configs so it won't get ppl lured.


___
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] mod_nibblebill

2009-09-19 Thread João Mesquita
Guys, I have been testing mod_nibblebill lately and there are 2 params that
I could not make work.





Looking at code, I could not find a single line that would actually test
those.

Is this confirmed to be implemented? If not, this should be removed from the
configs so it won't get ppl lured.

Regards,

jmesquita
___
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


Re: [Freeswitch-users] Mod_nibblebill for CDR billing

2009-09-08 Thread Rogelio Perez

I love FS! it shows all the info I need.
Thanks guys.

On Sep 4, 2009, at 10:28 PM, Diego Viola wrote:

If you do "event plain all" from the FS CLI you should see the  
variable exported on the CHANNEL_HANGUP_COMPLETE event, with the  
other CDR variables as well. These information should be available  
on mod_xml_cdr and mod_cdr_csv as well.


Diego

On Fri, Sep 4, 2009 at 11:28 PM, Rogelio Perez > wrote:

 From the mod_nibblebill documentation:

At the end of a call, the module sets a variable named
nibble_total_billed. You can use mod_cdr to record this variable to
your CDR log.

Is it possible to do the same with mod_xml_cdr?
I'm looking for a simple way of billing my CDRs and this one looks
like a good solution.
Has anyone tried doing anything similar?

Thanks,
Rogelio

___
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


Re: [Freeswitch-users] Mod_nibblebill for CDR billing

2009-09-04 Thread Diego Viola
If you do "event plain all" from the FS CLI you should see the variable
exported on the CHANNEL_HANGUP_COMPLETE event, with the other CDR variables
as well. These information should be available on mod_xml_cdr and
mod_cdr_csv as well.

Diego

On Fri, Sep 4, 2009 at 11:28 PM, Rogelio Perez wrote:

>  From the mod_nibblebill documentation:
>
> At the end of a call, the module sets a variable named
> nibble_total_billed. You can use mod_cdr to record this variable to
> your CDR log.
>
> Is it possible to do the same with mod_xml_cdr?
> I'm looking for a simple way of billing my CDRs and this one looks
> like a good solution.
> Has anyone tried doing anything similar?
>
> Thanks,
> Rogelio
>
> ___
> 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


Re: [Freeswitch-users] Mod_nibblebill for CDR billing

2009-09-04 Thread Brian West
All the variables are there in XML_CDR too.

/b

On Sep 4, 2009, at 6:28 PM, Rogelio Perez wrote:

> From the mod_nibblebill documentation:
>
> At the end of a call, the module sets a variable named
> nibble_total_billed. You can use mod_cdr to record this variable to
> your CDR log.
>
> Is it possible to do the same with mod_xml_cdr?
> I'm looking for a simple way of billing my CDRs and this one looks
> like a good solution.
> Has anyone tried doing anything similar?
>
> Thanks,
> Rogelio


___
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] Mod_nibblebill for CDR billing

2009-09-04 Thread Rogelio Perez
 From the mod_nibblebill documentation:

At the end of a call, the module sets a variable named  
nibble_total_billed. You can use mod_cdr to record this variable to  
your CDR log.

Is it possible to do the same with mod_xml_cdr?
I'm looking for a simple way of billing my CDRs and this one looks  
like a good solution.
Has anyone tried doing anything similar?

Thanks,
Rogelio 

___
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


Re: [Freeswitch-users] mod_nibblebill not set variablenibble_total_billed

2009-06-17 Thread Yuriy Ivzhenko
Ok, i understand!
This variable sets for event CHANNEL_HANGUP_COMPLETE, not for CHANNEL_HANGUP 
:-)
 

On Tuesday 16 June 2009 19:59:28 you wrote:
> That should not be the case - I will double check this. My apologies if I
> broke it. :-(
>
> Please file a bug on this so I don't forget.
>
>   _
>
> From: Yuriy Ivzhenko [mailto:yivzhe...@mksat.net]
> Sent: Tuesday, June 09, 2009 1:26 AM
> To: freeswitch-users@lists.freeswitch.org
> Subject: [Freeswitch-users] mod_nibblebill not set
> variablenibble_total_billed
>
>
>
> Some time ago mod_nibblebill was set variable nibble_total_billed after
> hangup.
>
> But after last few updates of module this variable is no more sets.
>
> Somebody else have this problem?

___
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


Re: [Freeswitch-users] mod_nibblebill not set variablenibble_total_billed

2009-06-16 Thread Darren Schreiber
That should not be the case - I will double check this. My apologies if I
broke it. :-(
 
Please file a bug on this so I don't forget.

  _  

From: Yuriy Ivzhenko [mailto:yivzhe...@mksat.net] 
Sent: Tuesday, June 09, 2009 1:26 AM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] mod_nibblebill not set
variablenibble_total_billed



Some time ago mod_nibblebill was set variable nibble_total_billed after
hangup.

But after last few updates of module this variable is no more sets.

Somebody else have this problem?

___
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


Re: [Freeswitch-users] mod_nibblebill not set variable nibble_total_billed

2009-06-09 Thread Diego Viola
Open a Jira.

http://jira.freeswitch.org/

On Tue, Jun 9, 2009 at 4:26 AM, Yuriy Ivzhenko  wrote:

>  Some time ago mod_nibblebill was set variable nibble_total_billed after
> hangup.
>
> But after last few updates of module this variable is no more sets.
>
> Somebody else have this problem?
>
>
> ___
> 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] mod_nibblebill not set variable nibble_total_billed

2009-06-09 Thread Yuriy Ivzhenko

Some time ago mod_nibblebill was set variable nibble_total_billed after 
hangup.
But after last few updates of module this variable is no more sets.

Somebody else have this problem?



___
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


Re: [Freeswitch-users] mod_nibblebill question

2009-05-26 Thread Even André Fiskvik
Cool, looking forward to test this :)

Even André

On 27. mai. 2009, at 04.51, Diego Viola wrote:

> Sorry, this is the link.
>
> http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_the_balance_is_depleted
>
> Diego
>
> On Tue, May 26, 2009 at 9:06 PM, Diego Viola   
> wrote:
>> Hi,
>>
>> Darren just added this today, in case if someone is interested.
>>
>> http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_cash_is_depleted
>>
>> Thanks Darren :).
>>
>> Regards,
>>
>> Diego
>>
>> On Sun, May 10, 2009 at 3:06 PM, Diego Viola  
>>  wrote:
>>> Darren Schreiber to me
>>> That won't work. The code isn't written yet. Give mea week or two to
>>> finish that.
>>>
>>>
>>> On Fri, May 8, 2009 at 3:08 PM, Diego Viola  
>>>  wrote:
 I have set these actions:

 
 

 But when it reaches 0 cash it doesn't hangup :(.

 On Fri, May 8, 2009 at 2:34 PM, Diego Viola  
  wrote:
> Oh I see that it has it already :D
>
> 
> 
> 
> -
> 
> 
> 
>
> Diego
>
> On Fri, May 8, 2009 at 1:20 PM, Diego Viola  
>  wrote:
>> Hi everyone,
>>
>> I'm currently developing a calling card application that uses  
>> event
>> socket and mod_nibblebill to bill calls. Well, the question is:  
>> can
>> mod_nibblebill disconnect a call when the balance is depleted,  
>> or when
>> it reaches 0 cash?
>>
>> The wiki says:
>>
>> "Allow for disconnecting or re-routing calls when balance is  
>> depleted."
>>
>> But then at the bottom in "future goals" it says:
>>
>> "We don't yet warn or terminate calls when they've reached  
>> their limits."
>>
>> So I'm confused, I also don't see any options in how to set  
>> that. In
>> case that mod_nibblebill doesn't support this yet, how hard  
>> would it
>> be to add this? I'm willing to do it, I guess it's a variable  
>> on the
>> XML config and then read that from the mod_nibblebill.c, and do  
>> some
>> logic there.
>>
>> Just wondering if anyone had some experience with this, and if  
>> the
>> feature is already there.
>>
>> Thanks,
>>
>> Diego
>>
>

>>>
>>
>
> ___
> 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


Re: [Freeswitch-users] mod_nibblebill question

2009-05-26 Thread Diego Viola
Sorry, this is the link.

http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_the_balance_is_depleted

Diego

On Tue, May 26, 2009 at 9:06 PM, Diego Viola  wrote:
> Hi,
>
> Darren just added this today, in case if someone is interested.
>
> http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_cash_is_depleted
>
> Thanks Darren :).
>
> Regards,
>
> Diego
>
> On Sun, May 10, 2009 at 3:06 PM, Diego Viola  wrote:
>> Darren Schreiber to me
>> That won't work. The code isn't written yet. Give mea week or two to
>> finish that.
>>
>>
>> On Fri, May 8, 2009 at 3:08 PM, Diego Viola  wrote:
>>> I have set these actions:
>>>
>>> 
>>> 
>>>
>>> But when it reaches 0 cash it doesn't hangup :(.
>>>
>>> On Fri, May 8, 2009 at 2:34 PM, Diego Viola  wrote:
 Oh I see that it has it already :D

 
 
 
 -
 
 
 

 Diego

 On Fri, May 8, 2009 at 1:20 PM, Diego Viola  wrote:
> Hi everyone,
>
> I'm currently developing a calling card application that uses event
> socket and mod_nibblebill to bill calls. Well, the question is: can
> mod_nibblebill disconnect a call when the balance is depleted, or when
> it reaches 0 cash?
>
> The wiki says:
>
> "Allow for disconnecting or re-routing calls when balance is depleted."
>
> But then at the bottom in "future goals" it says:
>
> "We don't yet warn or terminate calls when they've reached their limits."
>
> So I'm confused, I also don't see any options in how to set that. In
> case that mod_nibblebill doesn't support this yet, how hard would it
> be to add this? I'm willing to do it, I guess it's a variable on the
> XML config and then read that from the mod_nibblebill.c, and do some
> logic there.
>
> Just wondering if anyone had some experience with this, and if the
> feature is already there.
>
> Thanks,
>
> Diego
>

>>>
>>
>

___
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


Re: [Freeswitch-users] mod_nibblebill question

2009-05-26 Thread Diego Viola
Hi,

Darren just added this today, in case if someone is interested.

http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_cash_is_depleted

Thanks Darren :).

Regards,

Diego

On Sun, May 10, 2009 at 3:06 PM, Diego Viola  wrote:
> Darren Schreiber to me
> That won't work. The code isn't written yet. Give mea week or two to
> finish that.
>
>
> On Fri, May 8, 2009 at 3:08 PM, Diego Viola  wrote:
>> I have set these actions:
>>
>> 
>> 
>>
>> But when it reaches 0 cash it doesn't hangup :(.
>>
>> On Fri, May 8, 2009 at 2:34 PM, Diego Viola  wrote:
>>> Oh I see that it has it already :D
>>>
>>> 
>>> 
>>> 
>>> -
>>> 
>>> 
>>> 
>>>
>>> Diego
>>>
>>> On Fri, May 8, 2009 at 1:20 PM, Diego Viola  wrote:
 Hi everyone,

 I'm currently developing a calling card application that uses event
 socket and mod_nibblebill to bill calls. Well, the question is: can
 mod_nibblebill disconnect a call when the balance is depleted, or when
 it reaches 0 cash?

 The wiki says:

 "Allow for disconnecting or re-routing calls when balance is depleted."

 But then at the bottom in "future goals" it says:

 "We don't yet warn or terminate calls when they've reached their limits."

 So I'm confused, I also don't see any options in how to set that. In
 case that mod_nibblebill doesn't support this yet, how hard would it
 be to add this? I'm willing to do it, I guess it's a variable on the
 XML config and then read that from the mod_nibblebill.c, and do some
 logic there.

 Just wondering if anyone had some experience with this, and if the
 feature is already there.

 Thanks,

 Diego

>>>
>>
>

___
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


Re: [Freeswitch-users] mod_nibblebill question

2009-05-10 Thread Diego Viola
Darren Schreiber to me
That won't work. The code isn't written yet. Give mea week or two to
finish that.


On Fri, May 8, 2009 at 3:08 PM, Diego Viola  wrote:
> I have set these actions:
>
> 
> 
>
> But when it reaches 0 cash it doesn't hangup :(.
>
> On Fri, May 8, 2009 at 2:34 PM, Diego Viola  wrote:
>> Oh I see that it has it already :D
>>
>> 
>> 
>> 
>> -
>> 
>> 
>> 
>>
>> Diego
>>
>> On Fri, May 8, 2009 at 1:20 PM, Diego Viola  wrote:
>>> Hi everyone,
>>>
>>> I'm currently developing a calling card application that uses event
>>> socket and mod_nibblebill to bill calls. Well, the question is: can
>>> mod_nibblebill disconnect a call when the balance is depleted, or when
>>> it reaches 0 cash?
>>>
>>> The wiki says:
>>>
>>> "Allow for disconnecting or re-routing calls when balance is depleted."
>>>
>>> But then at the bottom in "future goals" it says:
>>>
>>> "We don't yet warn or terminate calls when they've reached their limits."
>>>
>>> So I'm confused, I also don't see any options in how to set that. In
>>> case that mod_nibblebill doesn't support this yet, how hard would it
>>> be to add this? I'm willing to do it, I guess it's a variable on the
>>> XML config and then read that from the mod_nibblebill.c, and do some
>>> logic there.
>>>
>>> Just wondering if anyone had some experience with this, and if the
>>> feature is already there.
>>>
>>> Thanks,
>>>
>>> Diego
>>>
>>
>

___
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


Re: [Freeswitch-users] mod_nibblebill question

2009-05-08 Thread Diego Viola
I have set these actions:




But when it reaches 0 cash it doesn't hangup :(.

On Fri, May 8, 2009 at 2:34 PM, Diego Viola  wrote:
> Oh I see that it has it already :D
>
> 
> 
> 
> -
> 
> 
> 
>
> Diego
>
> On Fri, May 8, 2009 at 1:20 PM, Diego Viola  wrote:
>> Hi everyone,
>>
>> I'm currently developing a calling card application that uses event
>> socket and mod_nibblebill to bill calls. Well, the question is: can
>> mod_nibblebill disconnect a call when the balance is depleted, or when
>> it reaches 0 cash?
>>
>> The wiki says:
>>
>> "Allow for disconnecting or re-routing calls when balance is depleted."
>>
>> But then at the bottom in "future goals" it says:
>>
>> "We don't yet warn or terminate calls when they've reached their limits."
>>
>> So I'm confused, I also don't see any options in how to set that. In
>> case that mod_nibblebill doesn't support this yet, how hard would it
>> be to add this? I'm willing to do it, I guess it's a variable on the
>> XML config and then read that from the mod_nibblebill.c, and do some
>> logic there.
>>
>> Just wondering if anyone had some experience with this, and if the
>> feature is already there.
>>
>> Thanks,
>>
>> Diego
>>
>

___
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


Re: [Freeswitch-users] mod_nibblebill question

2009-05-08 Thread Diego Viola
Oh I see that it has it already :D




-




Diego

On Fri, May 8, 2009 at 1:20 PM, Diego Viola  wrote:
> Hi everyone,
>
> I'm currently developing a calling card application that uses event
> socket and mod_nibblebill to bill calls. Well, the question is: can
> mod_nibblebill disconnect a call when the balance is depleted, or when
> it reaches 0 cash?
>
> The wiki says:
>
> "Allow for disconnecting or re-routing calls when balance is depleted."
>
> But then at the bottom in "future goals" it says:
>
> "We don't yet warn or terminate calls when they've reached their limits."
>
> So I'm confused, I also don't see any options in how to set that. In
> case that mod_nibblebill doesn't support this yet, how hard would it
> be to add this? I'm willing to do it, I guess it's a variable on the
> XML config and then read that from the mod_nibblebill.c, and do some
> logic there.
>
> Just wondering if anyone had some experience with this, and if the
> feature is already there.
>
> Thanks,
>
> Diego
>

___
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] mod_nibblebill question

2009-05-08 Thread Diego Viola
Hi everyone,

I'm currently developing a calling card application that uses event
socket and mod_nibblebill to bill calls. Well, the question is: can
mod_nibblebill disconnect a call when the balance is depleted, or when
it reaches 0 cash?

The wiki says:

"Allow for disconnecting or re-routing calls when balance is depleted."

But then at the bottom in "future goals" it says:

"We don't yet warn or terminate calls when they've reached their limits."

So I'm confused, I also don't see any options in how to set that. In
case that mod_nibblebill doesn't support this yet, how hard would it
be to add this? I'm willing to do it, I guess it's a variable on the
XML config and then read that from the mod_nibblebill.c, and do some
logic there.

Just wondering if anyone had some experience with this, and if the
feature is already there.

Thanks,

Diego

___
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


Re: [Freeswitch-users] mod_nibblebill question: DB Error while updating cash!

2009-03-09 Thread Diego Viola
Ok, done.

Thanks.

On Mon, Mar 9, 2009 at 11:18 AM, Anthony Minessale
 wrote:
> that means you should report it to jira not the mailing list.
>
>
> On Sun, Mar 8, 2009 at 1:28 AM, Diego Viola  wrote:
>>
>> Oh, I noticed the billing actually works, it discounts from my credit
>> but I still get that message, even if the update works.
>>
>> "2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
>> while updating cash!"
>>
>> Thanks.
>>
>> On Sun, Mar 8, 2009 at 3:41 AM, Diego Viola  wrote:
>> > Hello,
>> >
>> > I'm trying to give mod_nibblebill a try, I compiled it and created the
>> > DB, set up ODBC, etc. I'm using MySQL.
>> >
>> > This is how I created the db:
>> >
>> >  CREATE TABLE accounts
>> >  (
>> >   id int NOT NULL PRIMARY KEY,
>> >   name VARCHAR(255),
>> >   cash double precision NOT NULL
>> >  );
>> >
>> > However when I try to make a call I get this:
>> >
>> > 2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
>> > while updating cash!
>> >
>> > I have this also on my user directory:
>> >
>> >      
>> >      
>> >
>> >
>> > Any ideas?
>> >
>> > Thanks.
>> >
>>
>> ___
>> 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
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
>
> AIM: anthm
> MSN:anthony_miness...@hotmail.com
> GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:8...@conference.freeswitch.org
> iax:gu...@conference.freeswitch.org/888
> googletalk:conf+...@conference.freeswitch.org
> pstn:213-799-1400
>
> ___
> 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


Re: [Freeswitch-users] mod_nibblebill question: DB Error while updating cash!

2009-03-09 Thread Anthony Minessale
that means you should report it to jira not the mailing list.


On Sun, Mar 8, 2009 at 1:28 AM, Diego Viola  wrote:

> Oh, I noticed the billing actually works, it discounts from my credit
> but I still get that message, even if the update works.
>
> "2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
> while updating cash!"
>
> Thanks.
>
> On Sun, Mar 8, 2009 at 3:41 AM, Diego Viola  wrote:
> > Hello,
> >
> > I'm trying to give mod_nibblebill a try, I compiled it and created the
> > DB, set up ODBC, etc. I'm using MySQL.
> >
> > This is how I created the db:
> >
> >  CREATE TABLE accounts
> >  (
> >   id int NOT NULL PRIMARY KEY,
> >   name VARCHAR(255),
> >   cash double precision NOT NULL
> >  );
> >
> > However when I try to make a call I get this:
> >
> > 2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
> > while updating cash!
> >
> > I have this also on my user directory:
> >
> >  
> >  
> >
> >
> > Any ideas?
> >
> > Thanks.
> >
>
> ___
> 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
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_miness...@hotmail.com 
GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:8...@conference.freeswitch.org 
iax:gu...@conference.freeswitch.org/888
googletalk:conf+...@conference.freeswitch.org
pstn:213-799-1400
___
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


Re: [Freeswitch-users] mod_nibblebill question: DB Error while updating cash!

2009-03-07 Thread Diego Viola
Oh, I noticed the billing actually works, it discounts from my credit
but I still get that message, even if the update works.

"2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
while updating cash!"

Thanks.

On Sun, Mar 8, 2009 at 3:41 AM, Diego Viola  wrote:
> Hello,
>
> I'm trying to give mod_nibblebill a try, I compiled it and created the
> DB, set up ODBC, etc. I'm using MySQL.
>
> This is how I created the db:
>
>  CREATE TABLE accounts
>  (
>   id int NOT NULL PRIMARY KEY,
>   name VARCHAR(255),
>   cash double precision NOT NULL
>  );
>
> However when I try to make a call I get this:
>
> 2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
> while updating cash!
>
> I have this also on my user directory:
>
>      
>      
>
>
> Any ideas?
>
> Thanks.
>

___
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] mod_nibblebill question: DB Error while updating cash!

2009-03-07 Thread Diego Viola
Hello,

I'm trying to give mod_nibblebill a try, I compiled it and created the
DB, set up ODBC, etc. I'm using MySQL.

This is how I created the db:

 CREATE TABLE accounts
 (
   id int NOT NULL PRIMARY KEY,
   name VARCHAR(255),
   cash double precision NOT NULL
 );

However when I try to make a call I get this:

2009-03-08 00:37:02 [CRIT] mod_nibblebill.c:286 bill_event() DB Error
while updating cash!

I have this also on my user directory:

  
  


Any ideas?

Thanks.

___
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