OS/browser Related Issues: Plugin - Load - Flash - Only False
OS/browser Related Issues: Plugin - Load - Flash - Only False
OS/browser Related Issues: Plugin - Load - Flash - Only False
Some chrome versions only use the default input for audio. If you have multiple audio devices and not the default have to be used changing on chrome,
Advanced config, Privacy, Content and media section will fix the problem.
Some linux audio drivers allow only one audio stream to be opened which might cause audio issues in some circumstances. Workaround: change audio driver
from oss to alsa or inverse. Other workarounds: Change JVM (OpenJDK); Change browser.
Incoming calls might not have audio in some circumstances when the webphone is running in Firefox with the WebRTC engine using the mizu WebRTC to SIP
gateway (fixed in v.1.8).
Java related:
These details are important only if for some reason you might wish to force the Java engine. However please note that these java related issue are not real
problems since when possible the webphone uses WebRTC or NS engines, especially as Java is not available in latest Chrome and Firefox anymore.
If the java (JVM or the browser) is crashing under MAC at the start or end of the calls, please set the “cancloseaudioline” parameter to 3. You might also set the
"singleaudiostream” to 5. If the webphone doesn’t load at all on MAC, then you should check this link.
One way audio problem on OSX 10 Maverick / Safari 6/7 when using the Java engine: Safari allows users to place specific websites in an "Unsafe Mode" which
grants access to the audio recording. Navigate to "Safari ->Preferences -> Security (tab) and tick "Allow Plug-ins" checkbox. Then depending on safari version:
-from the Internet plug-ins (Manage Website Settings)" find the site in question and modify the dropdown to "Run In Unsafe Mode".
-or go to Plug-in Settings and for the option "When visiting other websites" select "Run in Unsafe Mode". A popup will ask again, click "Trust"
You will be asked to accept the site's certificates or a popup will ask again, click "Trust". Alternatively, simply use the latest version of the Firefox browser.
Java in modern browsers is not supported anymore (the webphone will select NS or WebRTC engine by default).
If for some reason you still wish to force Java, then in Chrome versions prior September 1, 2015 it can still be re-enabled:
Go to this URL in Chrome: chrome://flags/#enable-npapi (then mark activate)
Or via registry: reg add HKLM\software\policies\google\chrome\EnabledPlugins /v 1 /t REG_SZ /d java
Java can be also re-enabled in Firefox 52 by configuring the Firefox setting plugin.load_flash_only to false.
(By default the webphone will handle these automatically by choosing some other engine such as WebRTC unless you forced java by the engine priority settings)
The webphone is not loading
Symptoms:
If your html can’t find the webphone library files you might see the following errors in your browser console:
o Failed to load resource: …/js/lib/api_helper.js
o ReferenceError: webphone_api is not defined
If not supported by browser or your webserver doesn’t allow the required mime types, then the page hosting the webphone might load, but you will not be
able to make calls (VoIP engine will not start)
Fixes:
Missing library: Make sure that you have copied all files from the webphone folder (including the js and other sub-folders)
Browser support: Make sure that your browser has support for any of the implemented VoIP engines: either Java or WebRTC is available in your browser or
you can use the NS engine (on Windows, MAC and Linux) or the app engine (on Android and iOS)
Web server mime settings: Make sure that the .jar and .exe mime types are allowed on your webserver so the browsers are able to download platform
specific native binaries
HTTPS: Set a SSL certificate for your website for secure http, otherwise WebRTC will not work in chrome
Lib not found: If your webphone files are near your html (in the same folder) then you might have to set the webphonebasedir parameter to point to the
javascript directory
webphonebasedir
This setting is deprecated after 1.9 as the webphone should automatically detect its library path automatically.
If the html page, where you are including the webphone, is not in the same directory as the webphone, then you must set the "webphonebasedir" as the relative path to the webphone base directory in relation to your html
page.
The base directory is the "webphone" directory as you download it from Mizutech (which contains the css,js,native,... directories).
For example if your page is located at http://yoursite.com/content/page.html and the webphone files are located at http://yoursite.com/modules/webphone then the webphonebasedir have to be set to
'../modules/webphone/'
The webphonebasedir parameter must be set in the webphone_config.js file directly (not at runtime by webphone_api.webphonebasedir).
Default is empty (assumes that your html is in the webphone folder).
NS engine download not found: you might have to set the nativepluginurl parameter to point to the ns installer file.
nativepluginurl
(string)
This setting is deprecated after 1.9 as the webphone should automatically detect its library path automatically.
The absolute location of the Native Service/Plugin installer. In most of the cases this is automatically guessed by the webphone, but if for some reason (for example: you era using URL rewrite) the guessed location is incorrect,
then it can be specified with this parameter.
The Service/Plugin installer is located in webphone package "native" directory.
Example:
“https://mydomain.com/webphopne/native/WebPhoneService_Install.exe”
Default value is empty.
See this FAQ point for more details regarding auto start / auto register.
The followings might be responsible for the NS engine failure (in case when the webphone has to use the NS engine but can’t connect):
1. The NS engine is not running: make sure that the webphone service is started successfully and you can see it in your running process list from Task
Manager.
The “Webphone” or “YourBrandName” service state can be seen by opening the services management console (run services.msc from the command line)
2. You are running a very old outdated NS engine.
For Windows you can install the latest version from http://yourdomain.com/path_to_webphone/native/WebPhoneService_Install.exe
(or from the webphone package native folder sent to you by Mizutech)
3. The webphone can’t resolve the ns4.webvoipphone.com domain name to 127.0.0.1: Verify by running ping ns4.webvoipphone.com from your command
line and it should respond from 127.0.0.1. This might fail for the following reasons:
a. No any internet connection
b. DNS requests are blocked
c. You have a proxy which cannot resolve this domain or blocks it
Possible workaround: add the following line the hosts file of the client PC: 127.0.0.1 ns4.webvoipphone.com
4. Check your HTTP proxy if any
5. Your browser doesn’t accept the SSL certificate of the domain for ns4.webvoipphone.com some reason. As a workaround, you might add it to your browser
white list
6. The webphone was unable to listen on the required ports. Make sure that no other applications are using ports: TCP 10443, TCP 18520, UDP 18521, UDP
18522 on your client PC. You can verify this from the Resource Monitor -> Network tab or with the nestat –a command
7. The communication between the browser and the NS service is blocked. This might happen if you have a very restrictive firewall which blocks the
communication also on localhost. As a workaround, add the NS engine and the java.exe to the firewall exception list
To test the connection, open the following URL: https://ns4.webvoipphone.com:10443/extcmd_test (it should respond with some text)
8. The NS engine is unable to start on Windows for some reason. Have a look at the logs (MizuCall_Servicelog.dat and other logs files in the NS engine app
directory which is located by default at C:\Program Files (x86)\YourBrandNameWebphone_Service\. Also check the engine log at C:\Program Files (x86)\
ourBrandNameWebphone_Service\content\native\)