Project ICT VoIP – Real-Time VoIP Billing for Current WHMCS version
ICT VoIP Billing Panel addition (existing)
VoIP Extended Rates Package Rates Extended
New* - Enable/Disable toggle for Real-time Billing (just below VoIP Product/Package) (update table)
New CDR table to collect all CDRs from [login to view URL] CRON
All fields are the same as GetCDRs in [login to view URL] .
New column fields
UniqueID and Cost
[login to view URL] (new - PHP7 compatible)
Run from CRONS every 2 minutes
Check PackageRatesExtended table if VoIP package has enable, if enabled then execute real-time billing logic with client package rate and remove credit from credit balance. If client’s package has free minutes, check if over minutes then execute real-time process. Issue remarks in Manage Credit/Client Description field within table as follows: (you may change your variable names to suite but please place remarks or provide this type of info.) e.g.
VoIP Call | $calltime | $calltype | $uniqueID | $duration
$calltime = is time of call outbound or inbound as in [login to view URL]
$calltype = inbound or outbound as in [login to view URL]
$uniqueID = uniqueID field from client’s CDR for call
$duration = rounded up time to calculate cost based on Package Rate inbound or outbound as in [login to view URL]
$realtimecost = calculation of call to remove from credit with Tax associated with Client.
Client 10563101 (from Prevost, Quebec) Tax Rule rate = 14.98%
2min outbound call on SIP Canuk 200 plan 0.020 = 6sec increment 120sec
2min * 0 .020 * 1.1498 = 0.045992 (round up to 0.045)
3min inbound call on SIP Canuk 200 plan 0.025 = 6sec increment 180sec
3min * 0 .025 * 1.1498 = 0.086235 (round up to 0.086)
SIP Canuk 200 Package Detail
[login to view URL] & [login to view URL] (already exist)
Since [login to view URL] runs with CRON every 2min then we need to also check in [login to view URL] if VoIP package is enabled for realtime billing, then we must not execute logic with regular nightly CRON [login to view URL] to check next billing date and calculate over minutes as this will be done from realtimbilling.php. Only execute if realtime billing is not selected on the VoIP package within ICT VoIP Billing addon.
Must have atleast 4years experience with WHMCS module design and scripting PHP/APIs.
Thanks for Invitation. Thanks for Invitation. Thanks for Invitation. Thanks for Invitation. Thanks for Invitation. Thanks for Invitation. Thanks for Invitation.
9 freelancere byder i gennemsnit $610 på dette job
Hi, our quote is $700, 14 days. We can start right now. Please check our profile www.freelancer.com/u/SunFlowerBiz.html and be free to contact us if any questions. Regards,
Hello. Hope you are doing great. You can check my work. I am also able to create new WHMCS Modules and Themes. Lets discuss about price and time period. Thanks