hi everyone, i am trying to impalement increment billing using Mod_nibblebill as : like for mexico rate is 60/60 means minimum duration is 60 sec and next increment duration is also 60 sec or like for Austria Rate is 60/30 means minimum duration is 60 sec and next increment duration is 30 so if call to mexico duration is 15 sec then it cost for 60 sec and id duration is 61 sec then it cost for 120 sec. but in Austria case if call duration is 15 sec then cost it for 60 sec and if duration is 61 sec then it cost 90 sec so while reading wiki i found that i can use <variable name="nibble_increment" value="30" /> for second problem but want to know how i can set for the 1st case that if call duration is 15 second then call cost for 60 seconds. i read here https://wiki.freeswitch.org/wiki/Mod_nibblebill#Billing_a_Call as Billing of minimums does not exist (yet) so i want to know how that i can implement that or tell me how anyone manage that issue. Regards Shahzad Bhatti
I've made a patch for that about 2 years ago that got completely ignored on the Jira, when I get to the office I will update the patch file for head and post it here. On 22 Apr 2014 17:21, "Shahzad Bhatti" <shahzad.bhatti@g-r-v.com> wrote:
hi everyone, i am trying to impalement increment billing using Mod_nibblebill as : like for mexico rate is 60/60 means minimum duration is 60 sec and next increment duration is also 60 sec or like for Austria Rate is 60/30 means minimum duration is 60 sec and next increment duration is 30 so if call to mexico duration is 15 sec then it cost for 60 sec and id duration is 61 sec then it cost for 120 sec. but in Austria case if call duration is 15 sec then cost it for 60 sec and if duration is 61 sec then it cost 90 sec
so while reading wiki i found that i can use
<variable name="nibble_increment" value="30" />
for second problem but want to know how i can set for the 1st case that if call duration is 15 second then call cost for 60 seconds.
i read here
https://wiki.freeswitch.org/wiki/Mod_nibblebill#Billing_a_Call
as Billing of minimums does not exist (yet)
so i want to know how that i can implement that or tell me how anyone manage that issue.
Regards
Shahzad Bhatti
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Your solution may be to use cgrates, it is open source and uses the event socket, it will do all you need and much more. _____ From: Nelson Luiz Ferraz de Camargo Penteado [mailto:bigx333@gmail.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] Sent: Tue, 22 Apr 2014 17:35:39 +0000 Subject: Re: [Freeswitch-users] Minimum Billing using Nibblebill I've made a patch for that about 2 years ago that got completely ignored on the Jira, when I get to the office I will update the patch file for head and post it here. On 22 Apr 2014 17:21, "Shahzad Bhatti" <shahzad.bhatti@g-r-v.com> wrote: hi everyone, i am trying to impalement increment billing using Mod_nibblebill as : like for mexico rate is 60/60 means minimum duration is 60 sec and next increment duration is also 60 sec or like for Austria Rate is 60/30 means minimum duration is 60 sec and next increment duration is 30 so if call to mexico duration is 15 sec then it cost for 60 sec and id duration is 61 sec then it cost for 120 sec. but in Austria case if call duration is 15 sec then cost it for 60 sec and if duration is 61 sec then it cost 90 sec so while reading wiki i found that i can use <variable name="nibble_increment" value="30" /> for second problem but want to know how i can set for the 1st case that if call duration is 15 second then call cost for 60 seconds. i read here https://wiki.freeswitch.org/wiki/Mod_nibblebill#Billing_a_Call as Billing of minimums does not exist (yet) so i want to know how that i can implement that or tell me how anyone manage that issue. Regards Shahzad Bhatti _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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 (3)
-
Nelson Luiz Ferraz de Camargo Penteado
-
Shahzad Bhatti
-
Support