[Freeswitch-users] mod_nibblebill question

Diego Viola diego.viola at gmail.com
Sun May 10 12:06:58 PDT 2009


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 <diego.viola at gmail.com> wrote:
> I have set these actions:
>
> <param name="nobal_amt" value="0"/>
> <param name="nobal_action" value="hangup"/>
>
> But when it reaches 0 cash it doesn't hangup :(.
>
> On Fri, May 8, 2009 at 2:34 PM, Diego Viola <diego.viola at gmail.com> wrote:
>> Oh I see that it has it already :D
>>
>> <!--
>>  By default, warn a caller when their balance is at $5.00. You can set
>> this to a negative number.
>> -->
>> <param name="lowbal_amt" value="5"/>
>> <param name="lowbal_action" value="play ding"/>
>> -
>> <!--
>>  By default, terminate a caller when their balance hits $0.00. You can
>> set this to a negative number.
>> -->
>> <param name="nobal_amt" value="0"/>
>> <param name="nobal_action" value="hangup"/>
>>
>> Diego
>>
>> On Fri, May 8, 2009 at 1:20 PM, Diego Viola <diego.viola at gmail.com> 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
>>>
>>
>




More information about the FreeSWITCH-users mailing list