Re: [Freeswitch-users] Questions regarding to mod_nibble
I am testing the latest version of nibblebill so let me see if I can help you with your questions. jm On Fri, Oct 9, 2009 at 12:39 AM, Ahmed Munir ahmedmunir...@gmail.comwrote: I want to ask three questions related to mod_nibble bills, as I'm listing down below; 1- Can we select/use dynamic tables for billing using nibble bill? What do you mean for dynamic tables? Like LCR does that you can specify your own SQL statement to be executed? If that's what you are asking, no, but it would be a nice todo. 2- Can we define more than two tables and attributes in nibblebill.conf.xml? What else do you want to define and how do you imagine it to behave? 3- As Nibble bill is use to deduct amount of user account, Can we deduct minutes instead of cash? Because my case is, if a user buy a package and I only want to deducts his/her minutes. How we can resolve it by nibble bill? / What other way we can resolve it? When we say cash on the column, we are really saying just a number that is being deducted, that's it. If you deduct 1 every 60 seconds, you will have your cash converted to minutes, won't you? Kindly advise soon. -- Regards, Ahmed Munir ___ 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
Re: [Freeswitch-users] Questions regarding to mod_nibble
2009/10/9 Ahmed Munir ahmedmunir...@gmail.com: I want to ask three questions related to mod_nibble bills, as I'm listing down below; 1- Can we select/use dynamic tables for billing using nibble bill? 2- Can we define more than two tables and attributes in nibblebill.conf.xml? 3- As Nibble bill is use to deduct amount of user account, Can we deduct minutes instead of cash? Because my case is, if a user buy a package and I only want to deducts his/her minutes. How we can resolve it by nibble bill? / What other way we can resolve it? My solution (Postgresql 8.4 with postgresql-prefix). 1. modify mod_nibblebill.c change sqlupdate command to update duration in my cdr table (insert blank data when start billing) 2. create trigger to deduct balance. Dome C. Kindly advise soon. -- Regards, Ahmed Munir ___ 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
[Freeswitch-users] Questions regarding to mod_nibble
I want to ask three questions related to mod_nibble bills, as I'm listing down below; 1- Can we select/use dynamic tables for billing using nibble bill? 2- Can we define more than two tables and attributes in nibblebill.conf.xml? 3- As Nibble bill is use to deduct amount of user account, Can we deduct minutes instead of cash? Because my case is, if a user buy a package and I only want to deducts his/her minutes. How we can resolve it by nibble bill? / What other way we can resolve it? Kindly advise soon. -- Regards, Ahmed Munir ___ 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