11.07.2015 Views

Mizu Webphone - Mizu Voip

Mizu Webphone - Mizu Voip

Mizu Webphone - Mizu Voip

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Detect java runtime with java-script:onError = errHandler; // Without he parentheses, because we don't want IE to do this. Like this, only NS does.function appLoaded() {if (!document.applets[0].isActive)alert("IE: Applet could not be loaded");}function errHandler() {alert("NS: Applet could not be loaded");consume();}Preferred method since version 4.7: Use the simple “applet” tag (you might check java presence from javascript if needed).Applet parametersParameters can be specified in the following ways:• applet parameters (by using the applet tag and set the parameters like: )• in the webpage URL (the webhone will simply look at the embedding document/window url at startup)• cookies (prefix all keys with wp_. For example wp_username)• using the API_SetParameter function from javascript• in SIP signaling (sent from server) with the x-mparam header. Example: x-mparam: loglevel;5 (this will set the loglevel to 5)Any of these methods can be used or they can be even mixed.All parameters can be passed as strings and will be converted to the proper type internally by the webphone.Parameters can be also encrypted. See the “Applet parameter security” section for the details.For a basic usage you will have to set only your VoIP server ip or domain name (“serveraddress” applet parameter)The rest of the parameters are optional and should be changed only if you have a good reason for it.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!