Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 10:09 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Recurring service [process] doesnt work
PostPosted: Tue Jun 20, 2006 3:44 pm 
Offline

Joined: Tue Jun 20, 2006 3:23 pm
Posts: 153
I have the latest version Chamleon v1.2

Anybody know - how to fix? I get error - when I run cront job file "a2billing_batch_process.php"

error message:-

<br />
<b>Fatal error</b>: Cannot instantiate non-existent class: a2billing in <b>/var/lib/asterisk/agi-bin/libs_a2billing/a2billing_batch_process.php</b> on line <b>45</b><br />


Last edited by Rabon on Wed Jun 28, 2006 12:36 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 4:00 pm 
Offline

Joined: Tue Mar 28, 2006 10:33 pm
Posts: 47
Hello,

Please run the file from directory:

/var/lib/asterisk/agi-bin/libs_a2billing/crontjob/a2billing_batch_process.php


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 4:52 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
I found a bug but not the same that you.
I will release 1.2.1 if you can test again this part and LMK.

Rgds, Areski


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 25, 2006 9:00 pm 
Offline

Joined: Tue Jun 20, 2006 3:23 pm
Posts: 153
Hi Areski,

Thank you for drop of hope.

According to voippanel:- I changed the directory & its running without any error. But Recurring service is not deducting, how it should.

I contacted with voippanel for this crontjob. He informed me - you added nbservice & servicelastrun [in v1.2] but still its not running fine. He adviced me some for cront service, but may be it can break the compatibility.

Problem Found:-

1. "a2billing_batch_process.php" doesnt deduct account - if I put option 1nd, 2nd , 3rd. But The 4th one "Apply the period to card - card last run date >= period" deduct account. BUT

I am not so sure - what you mean by "card last run date >= period" [e.g. I have put; PERIOD = every 4 days ] ?

2. If I run the file "a2billing_bill_diduse.php" - it deducts every account [which account has RUN SERVICE enabled] & deducts money from account [at the same time] with all the recurring service options that I have added.

And "a2billing_bill_diduse.php" makes 00000000000000 for DATELASTRUN.[/b]


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 28, 2006 12:32 pm 
Offline

Joined: Tue Jun 20, 2006 3:23 pm
Posts: 153
I have tested only the file "a2billing_batch_process.php" from version 1.2.1. But its still same as before I have described.

Could you please check that It deducts account for you?

Thank you.


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


All times are UTC


Who is online

Users browsing this forum: No registered users and 8 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