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.
|