Hi Guys, I'm looking to migrate my billing platform to use FS. So far so good, however, if a user is low on credit I need to limit the call length. In other words, from the rate card, prior to connecting the call, I know they are going to call a mobile at say $0.10/min, but they only have $2 of credit, so I want to terminate the call after 20 mins, preferably with a message to the originator saying they only have X mins left. Is there a way of achieving this with the originate command? Regards
See sched_hangup dialplan application. On Tuesday 05 January 2010, Nik Middleton wrote:
Hi Guys,
I'm looking to migrate my billing platform to use FS. So far so good, however, if a user is low on credit I need to limit the call length. In other words, from the rate card, prior to connecting the call, I know they are going to call a mobile at say $0.10/min, but they only have $2 of credit, so I want to terminate the call after 20 mins, preferably with a message to the originator saying they only have X mins left. Is there a way of achieving this with the originate command?
Regards
Look at using mod_nibblebill On Tue, Jan 5, 2010 at 5:02 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
I’m looking to migrate my billing platform to use FS. So far so good, however, if a user is low on credit I need to limit the call length. In other words, from the rate card, prior to connecting the call, I know they are going to call a mobile at say $0.10/min, but they only have $2 of credit, so I want to terminate the call after 20 mins, preferably with a message to the originator saying they only have X mins left. Is there a way of achieving this with the originate command?
Regards
_______________________________________________ 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
-- -Rupa
Unfortunalely, mod_nibblebill doesn't take billing increments into account. On Tuesday 05 January 2010, Rupa Schomaker wrote:
Look at using mod_nibblebill
On Tue, Jan 5, 2010 at 5:02 PM, Nik Middleton <
nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
I’m looking to migrate my billing platform to use FS. So far so good, however, if a user is low on credit I need to limit the call length. In other words, from the rate card, prior to connecting the call, I know they are going to call a mobile at say $0.10/min, but they only have $2 of credit, so I want to terminate the call after 20 mins, preferably with a message to the originator saying they only have X mins left. Is there a way of achieving this with the originate command?
Regards
_______________________________________________ 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
Hey Sergey, But nibblebill will transfer to an extension of your choice when the balance reaches $0. So if you set the nibble heartbeat to 60 seconds or whatever, nibblebill will deduct the appropriate amount every <heartbeat> seconds. So after about 20 minutes, the call will execute the nobal_action specified in nibblebill.conf.xml. So that should meet your needs. Bill W. Sergey Okhapkin wrote:
Unfortunalely, mod_nibblebill doesn't take billing increments into account.
On Tuesday 05 January 2010, Rupa Schomaker wrote:
Look at using mod_nibblebill
nibblebill has no concept of billing blocks. What if I want to bill customer 30 seconds minimum and 6 seconds increment thereafter? On Tuesday 05 January 2010, Bill W. wrote:
Hey Sergey,
But nibblebill will transfer to an extension of your choice when the balance reaches $0. So if you set the nibble heartbeat to 60 seconds or whatever, nibblebill will deduct the appropriate amount every <heartbeat> seconds. So after about 20 minutes, the call will execute the nobal_action specified in nibblebill.conf.xml.
So that should meet your needs.
Bill W.
Sergey Okhapkin wrote:
Unfortunalely, mod_nibblebill doesn't take billing increments into account.
On Tuesday 05 January 2010, Rupa Schomaker wrote:
Look at using mod_nibblebill
_______________________________________________ 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
True, there is no inherent support for that, but you might be able to get close by doing it in the dialplan. Establish the call, pause nibblebill, deduct a specific amount (nibblebill adjust), and when 30 seconds are up, unpause nibblebill. More than likely you'd have to do this in a script rather than in XML. The issue would be the last interval after the last heartbeat. Nibblebill won't round up to the next 6 seconds. It will just bill for the actual call time. (If I understand things correctly). Or you could put in a bounty to have billing block support added to nibblebill. Hope this helps. Bill Sergey Okhapkin wrote:
nibblebill has no concept of billing blocks. What if I want to bill customer 30 seconds minimum and 6 seconds increment thereafter?
This is open source, you can create a patch to add this functionality and contribute it back. Mike On Jan 6, 2010, at 6:20 AM, Sergey Okhapkin wrote:
nibblebill has no concept of billing blocks. What if I want to bill customer 30 seconds minimum and 6 seconds increment thereafter?
2010/1/6 Sergey Okhapkin <sos@sokhapkin.dyndns.org>:
nibblebill has no concept of billing blocks. What if I want to bill customer 30 seconds minimum and 6 seconds increment thereafter?
I have billing (in house develop) and customize nibble_bill update cdr table (in my billing) i use postgresql trigger to update account balance. i have many increment rule 1/1 30/6 60/60 It's work well for me :) BG Dome C.
On Tuesday 05 January 2010, Bill W. wrote:
Hey Sergey,
But nibblebill will transfer to an extension of your choice when the balance reaches $0. So if you set the nibble heartbeat to 60 seconds or whatever, nibblebill will deduct the appropriate amount every <heartbeat> seconds. So after about 20 minutes, the call will execute the nobal_action specified in nibblebill.conf.xml.
So that should meet your needs.
Bill W.
Sergey Okhapkin wrote:
Unfortunalely, mod_nibblebill doesn't take billing increments into account.
On Tuesday 05 January 2010, Rupa Schomaker wrote:
Look at using mod_nibblebill
_______________________________________________ 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
Why can't someone just sponsor some love to the module? The author has his email on the header or open a Jira asking stuff so we have nibblebill more mature. João Mesquita FreeSWITCH™ Solutions t: +1 (646) 4959927 On Wed, Jan 6, 2010 at 2:59 PM, Dome Charoenyost <dome@tel.co.th> wrote:
2010/1/6 Sergey Okhapkin <sos@sokhapkin.dyndns.org>:
nibblebill has no concept of billing blocks. What if I want to bill customer 30 seconds minimum and 6 seconds increment thereafter?
I have billing (in house develop) and customize nibble_bill update cdr table (in my billing) i use postgresql trigger to update account balance. i have many increment rule 1/1 30/6 60/60
It's work well for me :)
BG
Dome C.
On Tuesday 05 January 2010, Bill W. wrote:
Hey Sergey,
But nibblebill will transfer to an extension of your choice when the balance reaches $0. So if you set the nibble heartbeat to 60 seconds or whatever, nibblebill will deduct the appropriate amount every <heartbeat> seconds. So after about 20 minutes, the call will execute the nobal_action specified in nibblebill.conf.xml.
So that should meet your needs.
Bill W.
Sergey Okhapkin wrote:
Unfortunalely, mod_nibblebill doesn't take billing increments into account.
On Tuesday 05 January 2010, Rupa Schomaker wrote:
Look at using mod_nibblebill
_______________________________________________ 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
_______________________________________________ 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
Or better yet take over the maint. of the module if its making you money give back by providing some help to the project... its the ultimate way to give back. /b On Jan 6, 2010, at 4:16 PM, João Mesquita wrote:
Why can't someone just sponsor some love to the module? The author has his email on the header or open a Jira asking stuff so we have nibblebill more mature.
João Mesquita FreeSWITCH™ Solutions t: +1 (646) 4959927
yeah it will be nice if mod_nibble can do call minimum and rounding, same way opensource a2billing doing for asterisk. I think without this feature the module will not be useful for business use. a common bill minimum/increments should in a form of: 6/6 for US , 6/30 for A-Z and 60/60 for Mexico. 1/1 type is not offered by Tier1 Telecom providers. BTW Freeswitch Rocks Rocks!!!!! It's The best IP telephony App I ever used!! On Wed, Jan 6, 2010 at 5:33 PM, Brian West <brian@freeswitch.org> wrote:
Or better yet take over the maint. of the module if its making you money give back by providing some help to the project... its the ultimate way to give back.
/b
On Jan 6, 2010, at 4:16 PM, João Mesquita wrote:
Why can't someone just sponsor some love to the module? The author has his email on the header or open a Jira asking stuff so we have nibblebill more mature.
João Mesquita FreeSWITCH™ Solutions t: +1 (646) 4959927
_______________________________________________ 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 (10)
-
Bill W
-
Bill W.
-
Brian West
-
Dome Charoenyost
-
João Mesquita
-
Michael Jerris
-
Mouncif Benniane
-
Nik Middleton
-
Rupa Schomaker
-
Sergey Okhapkin