Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 7:08 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: (SOLVED) Need to wait 1 hour to see one added rate.
PostPosted: Fri Sep 03, 2010 5:22 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
I'have a system that when i'add a rate, i'go to the simulator and the new rater cannot be used.
if i wait 1 hour the simulator see the added rate.

For example, if you delete a rate and then add again, the same, need to wait 1 hour for
use the new rate.

its a trunk version for the a2b.
i'have php > 5.2 and have all the modules installed.
the system have 11248 rates, i'm missing something or its a bug?


Last edited by kissas on Thu Oct 06, 2011 5:57 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Need to wait 1 hour to see one added rate.
PostPosted: Wed Oct 05, 2011 6:08 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
i assume no one have this problem.
fresh install, setup everything, and i need to wait 1 hour to see the rates and use one ratecard

Can anyone try to help or see this issue?
Best regards.


Top
 Profile  
 
 Post subject: Re: Need to wait 1 hour to see one added rate.
PostPosted: Thu Oct 06, 2011 5:39 pm 
Offline

Joined: Mon Jan 08, 2007 6:56 pm
Posts: 345
Set php variable in php.ini eg;

Code:
date.timezone = "Etc/GMT"


Top
 Profile  
 
 Post subject: Re: Need to wait 1 hour to see one added rate.
PostPosted: Thu Oct 06, 2011 5:56 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
Solution :


system-config-date (select your location)

yum -y install ntp
service ntpd start
/usr/sbin/ntpdate -su pool.ntp.org
service ntpd stop
ntpdate pool.ntp.org
service ntpd start
hwclock --systohc
chkconfig ntpd on

nano -w /etc/php.ini
( look for date.timezone, like vulcan says and put the same that you have in /etc/sysconfig/clock without the "" )

restart httpd and you are done ;)

Thx Joe and Vulcan !!!


Top
 Profile  
 
 Post subject: Re: (SOLVED) Need to wait 1 hour to see one added rate.
PostPosted: Wed May 09, 2012 4:59 pm 
Offline

Joined: Fri Oct 27, 2006 6:17 pm
Posts: 161
system-config-date its not in centos 6.2


so you need to do something like this:
rm -rf /etc/localtime 2>/dev/null; unlink /etc/localtime 2>/dev/null
ln -s /usr/share/zoneinfo/America/Uruguay /etc/localtime

replacing this step:

system-config-date (select your location)

best regards.


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


All times are UTC


Who is online

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