Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 3:51 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: error account service and a2billing_batch_billing.php cront
PostPosted: Sat Aug 22, 2009 5:31 pm 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Areski congratulations a2billing 1.4.2

I created a service to automatically charge the monthly fee when I apply the DID to crontjob a2billing_batch_billing.php, but when it is applied a2billing_batch_billing.php the following error appears and not subtracted from the balance of the customer:

Output from command php / usr/local/src/a2billing/Cronjobs/a2billing_batch_billing.php ..

PHP Fatal error: Call to undefined function posix_kill () in / usr/local/src/a2billing/common/lib/ProcessHandler.php on line 43
Tnahks



I'll spend another problem here too, there at the customer when we add credits none of reverse accepts a value, because it can happen at the time of recharge 200.00 I put in the place where it would be 20.00, if that happens how do you reverse this diefrença from 180.00 ?
Amount, Correction, Extra Fee only increase the value, you can put a reverse option for the value?
Thanks


Attachments:
service.jpg
service.jpg [ 63.41 KiB | Viewed 4698 times ]
Top
 Profile  
 
 Post subject: Re: error account service and a2billing_batch_billing.php cront
PostPosted: Mon Aug 24, 2009 8:44 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Quote:
I'll spend another problem here too, there at the customer when we add credits none of reverse accepts a value, because it can happen at the time of recharge 200.00 I put in the place where it would be 20.00, if that happens how do you reverse this diefrença from 180.00 ?
Amount, Correction, Extra Fee only increase the value, you can put a reverse option for the value?


Hi

You can put in Negative values

Joe


Top
 Profile  
 
 Post subject: Re: error account service and a2billing_batch_billing.php cront
PostPosted: Mon Aug 24, 2009 11:30 am 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
ok, thanks, jroper


Top
 Profile  
 
 Post subject: Re: error account service and a2billing_batch_billing.php cront
PostPosted: Tue Aug 25, 2009 12:22 am 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
Quote:
PHP Fatal error: Call to undefined function posix_kill () in / usr/local/src/a2billing/common/lib/ProcessHandler.php on line 43


You miss the posix module on ur php install.

Yours,
/Arski


Top
 Profile  
 
 Post subject: Re: error account service and a2billing_batch_billing.php cront
PostPosted: Tue Aug 25, 2009 11:58 am 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Please only need to make the monthly DID automatically be charged to the customer account, because I DID and is more difficult to do everything manually. Here's what I did:

1º) I created Extra charges allow the billing of one-off or re-occurring monthly charges: (image1)

2º) After a Recur Service: (image2)

3º) And cron php / usr/local/src/a2billing/Cronjobs/a2billing_batch_process.php performs with the following message:

SELECT DISTINCT id, name, amount, period, rule, dayNumber, stopmode, maxnumbercycle, status, numberofrun, DateCreate, UNIX_TIMESTAMP (datelastrun) emailreport, totalcredit, totalcardperform, dialplan, operate_mode, use_group FROM cc_service WHERE status = 1 AND UNIX_TIMESTAMP (cc_service . datelastrun) <UNIX_TIMESTAMP (CURRENT_TIMESTAMP) - 86400 + 20 * 60 ORDER BY id DESC [No Recurring service to run]


See the (image1) that the date is 2009-07-24, then was to have today charged the monthly (30days), and nothing happens, the value of 15 is not deducted from the customer's balance.

Already thanked everyone. Thank you very much.


Attachments:
image2.JPG
image2.JPG [ 97.48 KiB | Viewed 4688 times ]
image1.JPG
image1.JPG [ 63.68 KiB | Viewed 4711 times ]
Top
 Profile  
 
 Post subject: Re: error account service and a2billing_batch_billing.php cront
PostPosted: Tue Aug 25, 2009 7:29 pm 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Another thing, I tested the a2billing_bill_diduse.php and he DID only deletes the client and puts it available for sale again, this a2billing_bill_diduse.php should charge a monthly fee of the DID, can someone please help me? Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group