Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 25, 2024 12:26 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: destination is not shown when prefix is longuer than 10 digi
PostPosted: Mon Jan 11, 2010 7:58 am 
Offline

Joined: Mon Jan 11, 2010 7:50 am
Posts: 5
when the prefix is longuer than 10 (11 or higher) digits, the record is in the base (in the cardrate table and in the prefix table) but in the webgui interface, the destination is empty, only the prefix is shown.


Attachments:
File comment: example
exemple.JPG
exemple.JPG [ 46.63 KiB | Viewed 5218 times ]
Top
 Profile  
 
 Post subject: Re: destination is not shown when prefix is longuer than 10 digi
PostPosted: Mon Jan 11, 2010 7:53 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
Do you have this prefix in the table cc_prefix ?


Top
 Profile  
 
 Post subject: Re: destination is not shown when prefix is longuer than 10 digi
PostPosted: Mon Jan 11, 2010 8:21 pm 
Offline

Joined: Mon Jan 11, 2010 7:50 am
Posts: 5
Yes,

in fact, they are imported in a csv file

regards


Top
 Profile  
 
 Post subject: Re: destination is not shown when prefix is longuer than 10 digi
PostPosted: Mon Jan 11, 2010 8:24 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
can you send us an example of your csv files, just 5 - 10 lines with which you can reproduce your issue ?
Which version of a2billing do you use ?

yours,
Areski


Top
 Profile  
 
 Post subject: Re: destination is not shown when prefix is longuer than 10 digi
PostPosted: Mon Jan 11, 2010 9:05 pm 
Offline

Joined: Mon Jan 11, 2010 7:50 am
Posts: 5
prefix;destination;sellrate;buy rate;initB


the file:
******************
999393;Afghanistan;0.2342;0.1372;30
99939370;Afghanistan Mobile;0.2438;0.1428;30
99939375;Afghanistan Mobile;0.2438;0.1428;30
99939377;Afghanistan Mobile;0.2438;0.1428;30
99939378;Afghanistan Mobile;0.2438;0.1428;30
99939379;Afghanistan Mobile;0.2438;0.1428;30
9993355;Albania;0.0499;0.0292;30
999335567;Albania Mobile;0.2991;0.1752;30
999335568;Albania Mobile;0.2991;0.1752;30
999335569;Albania Mobile;0.2991;0.1752;30
9993213;Algeria;0.0710;0.0416;30
99932135;Algeria [Wataniya];0.3515;0.2059;30
999321355;Algeria [Wataniya];0.3515;0.2059;30
99932136;Algeria Mobile;0.3609;0.2114;30
99932137;Algeria Mobile;0.3609;0.2114;30
99932139;Algeria Mobile;0.3609;0.2114;30
99931684;American Samoa;0.0470;0.0275;30
9993684;American Samoa;0.0470;0.0275;30
99931684252;American Samoa Mobile;0.0493;0.0289;30
99931684254;American Samoa Mobile;0.0493;0.0289;30
99931684258;American Samoa Mobile;0.0493;0.0289;30
9993376;Andorra;0.0268;0.0157;30
99933763;Andorra Mobile;0.2289;0.1341;30
99933764;Andorra Mobile;0.2289;0.1341;30
99933766;Andorra Mobile;0.2289;0.1341;30
9993244;Angola;0.1378;0.0807;30
999324491;Angola Mobile;0.1508;0.0883;30
999324492;Angola Mobile;0.1508;0.0883;30
999324493;Angola Mobile;0.1508;0.0883;30
99931264;Anguilla;0.0992;0.0581;30
99931264235;Anguilla Mobile;0.1315;0.077;30
99931264469;Anguilla Mobile;0.1315;0.077;30
99931264476;Anguilla Mobile;0.1315;0.077;30
99931264536;Anguilla Mobile;0.1315;0.077;30
99931264537;Anguilla Mobile;0.1315;0.077;30
99931264538;Anguilla Mobile;0.1315;0.077;30
99931264539;Anguilla Mobile;0.1315;0.077;30
******************


Top
 Profile  
 
 Post subject: Re: destination is not shown when prefix is longuer than 10 digi
PostPosted: Wed Jan 13, 2010 5:37 pm 
Offline

Joined: Sun Mar 12, 2006 2:49 pm
Posts: 954
Location: Barcelona
I got a fix for this but it will harm ur database for a moment if you have lot of rates :

just apply the following,

ALTER TABLE `cc_ratecard` CHANGE `destination` `destination` BIGINT( 20 ) NULL DEFAULT '0';


Yours,
/Areski


Top
 Profile  
 
 Post subject: Re: destination is not shown when prefix is longuer than 10 digi
PostPosted: Thu Jan 14, 2010 5:00 am 
Offline

Joined: Mon Jan 11, 2010 7:50 am
Posts: 5
thanks a lot


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 
Auto Dialer Software


All times are UTC


Who is online

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