Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 26, 2024 8:10 am
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Bug in lookups of Prefixes from Rates
PostPosted: Sat Jan 30, 2010 8:21 pm 
Offline

Joined: Sun Dec 27, 2009 8:39 pm
Posts: 80
I'm hitting a wall here as I try to tackle inbound DID billing, and I think I've stumbled onto a small bug.

Prefixes seem to be able to hold any value. I created prefixes so that we can label customer DID's properly in their bills, I can properly create all the prefixes I want, regardless of length or value. However, when I try to create a Rate with the Prefix, if the Prefix is > 2147483647, the value of 2147483647 will be present after saving, and will return a blank, since there's no prefix matching that value.

I think there's a bit of a data type mismatch issue going on here. I haven't dug around, since it's beyond my skills, but seems that the values entered from the Rates is being stored as a LongInteger, while the prefixes are stored as Big Integers since the largest prefix that can be stored is 9,223,372,036,854,775,807.

Update - I went into the MySQL tables and changed the data type for destination in the cc_ratecard table to match the prefix in the cc_prefix table.

Carlos.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Predictive Dialer


All times are UTC


Who is online

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