Wiki

Webphone logs



Here you can find the steps how to send logs from the Mizu web phone:

1. Make sure that the logs are enabled in the webphone: set the "loglevel" to 5 or enable in the web softphone settings.

2. Start the webhone and reproduce the problem.

3. Open the browser console (in Google Chrome press Ctrl+Shift+J, in Mozilla press Ctrl+Shift+K)



4. Copy the content of browser console to a .txt file and send us by email. Also it would be great if you could send us 2 valid test accounts from your VoIP server, thus our support team can easily reproduce the issue.
Please note that these logs are vital for us in debugging process.

More details:
The webphone can generate detailed logs for debugging purposes.
For this just set the “loglevel” setting to 5 (or enable logs from the user interface if any; this is already set to 5 by default in the demo versions).
Once enabled, you can see the logs in the browser console or in the softphone skin help menu (if you are using this GUI). If the Java engine is being used, then the logs will appear also in the Java console. You can also use the API: getlogs() and the onLog(callback) functions.
When contacting Mizutech support with any issue, please always attach the detailed logs: just send the output of the browser console (or you can find the same from the softphone skin help menu if you are using the softphone.html).
On Firefox and Chrome you can access the logs with the Ctrl+Shift+J shortcut (or Cmd+Shift+J on a Mac). On Edge and Internet Explorer the shortcut key is F12.

•    If the webphone is using the WebRTC engine then the browser console output will contain the most important logs.
If you are using the softphone skin, then better if you check the logs from the skin help menu because the number of lines are limited in the browser console.
If you have voice issues (no voce, one side voice, delays) then you should get a detailed log. With Chrome this can be done by launching it like:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --enable-logging --v=4 --vmodule=*libjingle/source/talk/*=4 --vmodule=*media/audio/*=4
Then you can find the logs at: C:\Users\USER\AppData\Local\Google\Chrome\User Data\chrome_debug.log
•    If the webphone is using the Java engine, then a log window will appear if the “loglevel” is set to “5” and the “canopenlogview” to “true”. Grab the logs also from this window (Ctrl+A, Ctrl+C, Ctrl+V) or from the Java console.
•    If the webphone is using the NS engine on Windows, then some more detailed logs can be obtained from C:\Program Files (x86)\WebPhone_Service\WebPhone_Servicelog.dat and C:\Program Files (x86)\WebPhone_Service\content\native\webphonelog.dat. (C:\Program Files (x86)\WebPhone_Service is the default data directory which might be different on your PC. It might be located in the C:\Users\secondaryacc\AppData\Roaming\WebPhone_Service directory if the account doesn’t have write access to Program Files).

When sending logs to Mizutech support, please attach them as text files (don’t insert in email body).





 |  View Topic History  |