Star2Billing / a2billing

A2Billing is a telecom switch and billing system capable of providing and billing a range of telecom products and services to customers such as calling card products, residential and wholesale VoIP termination, DID resale and callback services.
www.asterisk2billing.org
Other
181 stars 175 forks source link

Add DID to account with destination does not work properly #8

Closed speschko closed 13 years ago

speschko commented 13 years ago

When adding a DID from Customer interface the destination is entered eg "1234567890" but when the destination is checked it shows a random 10 digit number eg 2147483647 which looks like an account number but I have tried to compare that number to anything in the system and have not found out what number it is adding here.

Afterwards I can edit the destination and put in the correct number in the destination field and that corrects the problem so this only happens when a new DID is added to the customer account.

Let me know if you need anything else to find the problem. I am using 1.9.3 Master.

speschko commented 13 years ago

This is the automated message generated from adding the DID which also shows the wrong destination which was entered as 099xxxxxxxxxxxx:

INSERT INTO cc_did_destination (activated, id_cc_card, id_cc_did, destination, priority, voip_call, validated) VALUES ('1', '15', '39', '2147483647', '1', '0', '1')

speschko commented 13 years ago

Areski, thanks for the latest change in MASTER the issue with adding destination with leading 0 now works correctly. Thank you very much and keep up the good work.