[Freeswitch-users] mod_nibblebill question
diego.viola at gmail.com
Fri May 8 11:34:28 PDT 2009
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"/>
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.
More information about the FreeSWITCH-users