mod_nibblebill question
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
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@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
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@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@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
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@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@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@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
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_... Thanks Darren :). Regards, Diego On Sun, May 10, 2009 at 3:06 PM, Diego Viola <diego.viola@gmail.com> 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 <diego.viola@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@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@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
Sorry, this is the link. http://wiki.freeswitch.org/wiki/Mod_nibblebill#Hangup_the_call_when_the_bala... Diego On Tue, May 26, 2009 at 9:06 PM, Diego Viola <diego.viola@gmail.com> 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_...
Thanks Darren :).
Regards,
Diego
On Sun, May 10, 2009 at 3:06 PM, Diego Viola <diego.viola@gmail.com> 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 <diego.viola@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@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@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
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_bala...
Diego
On Tue, May 26, 2009 at 9:06 PM, Diego Viola <diego.viola@gmail.com> 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_...
Thanks Darren :).
Regards,
Diego
On Sun, May 10, 2009 at 3:06 PM, Diego Viola <diego.viola@gmail.com> 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 <diego.viola@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@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@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
_______________________________________________ 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
participants (2)
-
Diego Viola
-
Even André Fiskvik