Page 1 of 1

Zoiper_Webw/SVN

PostPosted: Mon May 20, 2013 5:46 pm
by ruben23
Version: 2.6b0.5
SVN Version: 1950
DB Schema Version: 1341
DB Schema Update Date: 2013-03-09 02:57:20
Auto User-add Value: 101

Hi Guys i have a purchase a license for Zoiper web, any can guide somehow how to implement and set it up on the Vicidial itself..? Thanks

Re: Zoiper_Webw/SVN

PostPosted: Mon May 20, 2013 6:21 pm
by Acidshock
It is pretty easy. You did register it to the exact FQDN that you plan on using for the url right? It is very important that you do that.

Then change the webphone url to the url of your zoiperweb_redirect.php
Then edit your zoiperweb_redirect.php and change the following variables:
$servers = array("example.domain.com");
$server = "example.domain.com";
$URL = "http://$server$query_string";

Re: Zoiper_Webw/SVN

PostPosted: Mon May 20, 2013 6:35 pm
by ruben23
@Acidshock

what will happened if i have Public IP address only on my dialer

Web/Database - (Public Address)
Asterisk/vicidial - (Public Address)

Where should i point here..?

Then change the webphone url to the url of your zoiperweb_redirect.php


What you mean by this..? can you explain further please

And where do i apply the license Part.. somehow

after all your procedure what would be the next procedure to used it.? Thanks a lot for your reply Acidshock

Re: Zoiper_Webw/SVN

PostPosted: Tue May 21, 2013 12:47 pm
by Acidshock
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.php

How 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";

Re: Zoiper_Webw/SVN

PostPosted: Wed May 29, 2013 10:50 pm
by ruben23
@ Acidshock

Hi i have follow the procedure you made for this zoiper web install but when i test on live and actual it only takes 3 minutes and get disconnected right away on all Phones.Any idea and help somehow.Thanks

Re: Zoiper_Webw/SVN

PostPosted: Thu May 30, 2013 5:48 am
by mflorell
If you want the calls to last longer than 3 minutes then you need to buy a license.

Re: Zoiper_Webw/SVN

PostPosted: Thu May 30, 2013 6:36 am
by ruben23
@mflorell

I already buy the licensed and i copied it on the wephone directory on my web server, but somehow its not affecting and the licensed is pointed already to my Domain correctly.But still 3 minutes and get disconnect after, Any idea please how to do this.Please help it been week of troubleshooting.Thanks

Re: Zoiper_Webw/SVN

PostPosted: Fri May 31, 2013 5:46 am
by mflorell
The license doesn't belong in the webphone directory. It has to go in your webroot for the domain name you bought it for.