VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
diego.viola at gmail.com Guest
|
Posted: Fri May 08, 2009 12:23 pm Post subject: [Freeswitch-users] 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
_______________________________________________
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 |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Fri May 08, 2009 1:42 pm Post subject: [Freeswitch-users] mod_nibblebill question |
|
|
Oh I see that it has it already
<!--
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:
Quote: | 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 |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Fri May 08, 2009 2:12 pm Post subject: [Freeswitch-users] mod_nibblebill question |
|
|
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:
Quote: | Oh I see that it has it already
<!--
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:
Quote: | 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 |
|
Back to top |
|
|
diego.viola at gmail.com Guest
|
Posted: Sun May 10, 2009 2:10 pm Post subject: [Freeswitch-users] mod_nibblebill question |
|
|
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:
Quote: | 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:
Quote: | Oh I see that it has it already
<!--
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:
Quote: | 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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|