Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 12:24 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Inbound billing errors
PostPosted: Fri Jan 13, 2012 8:57 pm 
Offline

Joined: Mon Dec 20, 2010 6:22 pm
Posts: 8
Using version 1.94 I set a retail rate on an inbound DID but records never get inserted. I set debug to 4 and noted the following SQL query in the log:

Code:
INSERT INTO cc_call ( uniqueid, sessionid, card_id, nasipaddress, starttime, sessiontime, real_sessiontime, calledstation,  terminatecauseid, stoptime, sessionbill, id_tariffgroup, id_tariffplan, id_ratecard,  id_trunk, src, sipiax, buycost, dnid) VALUES ('1326486258.25', 'SIP/192.168.2.5-09788398','3','',SUBDATE(CURRENT_TIMESTAMP, INTERVAL  SECOND), '6', '', '', 1, now(), '0.003', '0', '0', '0', '0', 'Unknown', '7', '0', '8661234567')


Note the SUBDATE command is missing the interval in seconds of the A-leg ($aleg_answeredtime in line 1835 of Class.A2Billing.php.) Is there something I could have done in the setup to trigger this, or is it a known issue? Thanks.


Top
 Profile  
 
 Post subject: Re: Inbound billing errors
PostPosted: Fri Jan 13, 2012 11:54 pm 
Offline

Joined: Mon Dec 20, 2010 6:22 pm
Posts: 8
Never mind, solved my own problem.

https://github.com/Star2Billing/a2billing/issues/17


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 11 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group