Well the IP address should not matter as much as the domain. When you bought the ZoiperWEB it asked for what domain will be used in the URL. If that doesnt match it will go to demo mode and hang up on the agent after 5 minutes.
Basically what you need to do is go to the /srv/www/htdocs/agc/webphone folder on the web server. Find the zoiperweb_redirect.php file. Edit that file and put the server information that I mentioned earlier in the script. Then you put the full URL to the zoiperweb_redirect.php file into the webphone url option under system settings under admin in vicidial. Upload your zoiperweb files into that folder too. Should be an installerweb.cab, InstallerWeb_2.4.10100, and a Zoiper_Web_2.4.10100_Installer.exe. Also upload your license certification file. Keep in mind the files may differ slightly because of versions and deployment options. For instance I use the ZoiperWEB exe based installer to allow for non-ie based installations to run a bit easier.
Then what will happen is the agent interface will open that URL, which will then redirect it to the zoiperweb files with the proper variables supplied to zoiperweb. Again it is very important though if you registered zoiperweb to example.domain.com that your redirected URL is
http://example.domain.com/somedirectory/zoiperweb.phpHow you can tell that will happen is based on the zoiperweb_redirect.php file. You want to look at the $URL field. The example down below would redirect to
https://sslagent1.server.net/agc/webphone/zoiperweb.php:
$query_string = "/agc/webphone/zoiperweb.php?DB=$DB&phone_login=$phone_login&phone_pass=$phone_pass&server_ip=$server_ip&callerid=$callerid&protocol=$protocol&codecs=$codecs&options=$options&system_key=$system_key";
$servers = array("sslagent1.server.net","sslagent1.server.net");
$server = $servers[array_rand($servers)];
$URL = "https://$server$query_string";