Page 1 of 1

Upgrade clarification

PostPosted: Thu Nov 06, 2008 4:46 am
by lowno
Before I upgrade and break something, I thought I would ask a question to clear things up. My only reason for upgrading is I have that but that causes live agent campaigns to have a popup that wont go away. I think its the message that ways waiting for. Something like that.

Anyway, I did read the upgrade document. It said to backup your agi files if they have been modified. Well mine have been modified. So does that mean that I make a backup, upgrade, then copy back? I know it doesn't make sense. Or do I have to re-modify the new agi files after the upgrade?

Thanks.

PostPosted: Thu Nov 06, 2008 8:02 pm
by mflorell
What version are you upgrading from?

What version are you upgrading to?

PostPosted: Thu Nov 06, 2008 8:07 pm
by williamconley
the safest method is backup, upgrade, then re-change the new files and test as you go to verify your changes are still valid. but depending on your version to/from on the upgrade, you may be able to backup, upgrade, restore the modified files only.

PostPosted: Thu Nov 06, 2008 8:24 pm
by lowno
I have the latest version of Vicidialnow. So whatever version they used. I'll give it a shot.

PostPosted: Thu Nov 06, 2008 8:32 pm
by mflorell
What is the version and build of the vicidial.php on your system?

What version do you want to upgrade to?

PostPosted: Fri Nov 07, 2008 2:12 am
by lowno
Currently: VERSION: 2.0.4-148 BUILD: 80519-1425

I would like to go to RC5 posted in the general forum.

Thanks.

PostPosted: Fri Nov 07, 2008 4:33 am
by mflorell
That's an easy upgrade, just follow the instructions in the UPGRADE document of the 2.0.4.1rc5 release.

PostPosted: Fri Nov 07, 2008 12:58 pm
by lowno
Does this look right?

[root@vici astguiclient_2.0.4.1rc5]# perl ./install.pl
Previous astGUIclient configuration file found at: /etc/astguiclient.conf

Would you like to use manual configuration and installation(y/n): [y] n
Writing to astguiclient.conf file: /etc/astguiclient.conf

STARTING ASTGUICLIENT INSTALLATION PHASE...
Creating /usr/share/astguiclient/LEADS_IN/DONE directories...
Creating /var/spool/asterisk/monitor directories...
Creating /var/log/astguiclient/archive directory for backups...
Copying bin scripts to /usr/share/astguiclient ...
Copying libs to /usr/share/astguiclient ...
setting cron scripts to executable...
Copying extras files to /usr/share/astguiclient ...
Copying agi-bin scripts to /var/lib/asterisk/agi-bin ...
setting agi-bin scripts to executable...
Copying sounds to /var/lib/asterisk/sounds...
Copying ip_relay scripts to /usr/share/astguiclient...
Setting ip_relay scripts to executable...
ln: creating symbolic link `/usr/share/astguiclient/ip_relay/ip_relay' to `/usr/share/astguiclient/ip_relay/ip_relay_linux_i386': File exists
ln: creating symbolic link `/usr/bin/ip_relay' to `/usr/share/astguiclient/ip_relay/ip_relay_linux_i386': File exists
ln: creating symbolic link `/usr/local/bin/ip_relay' to `/usr/share/astguiclient/ip_relay/ip_relay_linux_i386': File exists
Starting ip_relay port forwarding for IAX on 40569 and 41569
Creating /var/www/html web directories...
Copying web files...
setting web scripts to executable...

IMPORTANT NOTE!

Please remember to put these lines in your extensions.conf file:
exten => _192*168*001*026*8600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*026*8600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*026*78600XXX,1,Goto(default,${EXTEN:16},1)
exten => _192*168*001*026*78600XXX*.,1,Goto(default,${EXTEN:16},1)
exten => _8600XXX*.,1,AGI(agi-VDADfixCXFER.agi)
exten => _78600XXX*.,1,AGI(agi-VDADfixCXFER.agi)

ASTGUICLIENT INSTALLATION FINISHED! ENJOY!

- process runtime (14 sec) (0.233333333333333 minutes)
[root@vici astguiclient_2.0.4.1rc5]#

PostPosted: Fri Nov 07, 2008 7:00 pm
by mflorell
Yep, that looks good.