Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sat Apr 20, 2024 12:45 am
Auto Dialer Software


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 1.5.1 rate import fails because prefix is an integer
PostPosted: Mon Jan 25, 2010 2:38 am 
Offline

Joined: Sun Jan 24, 2010 2:43 am
Posts: 2
postgresql-2010-01-24_202050.log:2010-01-24 20:21:35 EST a2billing a2bill LOG: statement: INSERT INTO cc_prefix (prefix, destination) values ('5782492388', 'Colombia Local Extended 2')

postgresql-2010-01-24_202050.log:2010-01-24 20:21:35 EST a2billing a2bill LOG: statement: INSERT INTO cc_ratecard (idtariffplan, id_trunk, dialprefix, destination, rateinitial, startdate, stopdate) values ('1', '1', '5782492388', '5782492388', '0.11868', '2010-01-24 20:21:35', '2020-01-24 20:21:35')

postgresql-2010-01-24_202050.log:2010-01-24 20:21:35 EST a2billing a2bill ERROR: value "5782492388" is out of range for type integer at character 141

postgresql-2010-01-24_202050.log:2010-01-24 20:21:35 EST a2billing a2bill STATEMENT: INSERT INTO cc_ratecard (idtariffplan, id_trunk, dialprefix, destination, rateinitial, startdate, stopdate) values ('1', '1', '5782492388', '5782492388', '0.11868', '2010-01-24 20:21:35', '2020-01-24 20:21:35')


Top
 Profile  
 
 Post subject: Re: 1.5.1 rate import fails because prefix is an integer
PostPosted: Sun Jan 31, 2010 1:11 pm 
Offline

Joined: Sun Dec 27, 2009 8:39 pm
Posts: 80
I think this is related to this: http://forum.asterisk2billing.org/viewtopic.php?f=22&t=7000

and http://forum.asterisk2billing.org/viewtopic.php?f=22&t=6896

It's not because it's an integer, but because the value is beyond that of the Long integer. Can you add the prefix to the prefixes under the Trunks? If so, then it appears that the issue is with the datatypes in the rates side of things.

Update - if you look at the second link above, areski posted a way to fix.

Carlos.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

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