mizu web phone setup config configuration
Posted: Mon Nov 26, 2012 9:13 pm
Hi all, Mizu web phone or webphone setup and config is relatively easy, keep in mind get the details from the vici system and pass them to the applet.
A little feedback regarding Mizu web phone voice quality appears to be very very good. Many codecs supported, and a pretty well documented api.
example below on setup:
Copy and edit zoiperlaunch.php to webphone/mizulaunch.php
make sure you have:
$phone_pass = base64_decode($phone_pass);
$server_ip = base64_decode($server_ip);
$phone_login = base64_decode($phone_login);
$query_string = "/agc/webphone/applet.php?serveraddress=$server_ip&username=$phone_login&password=$phone_pass";
$servers = array("Whatever.com","Whatever.com");
$server = $servers[array_rand($servers)];
$URL = "http://$server$query_string";
header("Location: $URL");
echo"<TITLE>Webphone Redirect</TITLE>\n";
echo"<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\n";
echo"<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=$URL\">\n";
echo"</HEAD>\n";
echo"<BODY BGCOLOR=#FFFFFF marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
echo"<a href=\"$URL\">click here to continue. . .</a>\n";
exit;
-----------------------------------------Applet.php example-----------------------------
<?php
$serveraddress=$_GET['serveraddress'];
$phoneuser=$_GET['username'];
$phonepass=$_GET['password'];
?>
<applet
archive = "webphone.jar"
codebase = "."
code = "webphone.webphone.class"
name = "webphone"
width = "147"
height = "200"
hspace = "0"
vspace = "0"
align = "middle"
hasaudio = "true"
>
<param name = "serveraddress" value = "<?php echo $serveraddress?>">
<param name = "multilinegui" value = "false">
<param name = "username" value = "<?php echo $phoneuser?>">
<param name = "password" value = "<?php echo $phonepass?>">
<param name = "register" value = "true">
<param name = "hasaudio" value = "true">
<param name = "hasconnect" value = "false">
<param name = "displaysipusername" value = "false">
<param name = "hideusernamepwdinput" value = "true">
<param name = "autoaccept" value = "true">
<b>Java is currently not installed or not enabled.</b>
</applet>
</p>
Good luck and all the best,
Noah
A little feedback regarding Mizu web phone voice quality appears to be very very good. Many codecs supported, and a pretty well documented api.
example below on setup:
Copy and edit zoiperlaunch.php to webphone/mizulaunch.php
make sure you have:
$phone_pass = base64_decode($phone_pass);
$server_ip = base64_decode($server_ip);
$phone_login = base64_decode($phone_login);
$query_string = "/agc/webphone/applet.php?serveraddress=$server_ip&username=$phone_login&password=$phone_pass";
$servers = array("Whatever.com","Whatever.com");
$server = $servers[array_rand($servers)];
$URL = "http://$server$query_string";
header("Location: $URL");
echo"<TITLE>Webphone Redirect</TITLE>\n";
echo"<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">\n";
echo"<META HTTP-EQUIV=Refresh CONTENT=\"0; URL=$URL\">\n";
echo"</HEAD>\n";
echo"<BODY BGCOLOR=#FFFFFF marginheight=0 marginwidth=0 leftmargin=0 topmargin=0>\n";
echo"<a href=\"$URL\">click here to continue. . .</a>\n";
exit;
-----------------------------------------Applet.php example-----------------------------
<?php
$serveraddress=$_GET['serveraddress'];
$phoneuser=$_GET['username'];
$phonepass=$_GET['password'];
?>
<applet
archive = "webphone.jar"
codebase = "."
code = "webphone.webphone.class"
name = "webphone"
width = "147"
height = "200"
hspace = "0"
vspace = "0"
align = "middle"
hasaudio = "true"
>
<param name = "serveraddress" value = "<?php echo $serveraddress?>">
<param name = "multilinegui" value = "false">
<param name = "username" value = "<?php echo $phoneuser?>">
<param name = "password" value = "<?php echo $phonepass?>">
<param name = "register" value = "true">
<param name = "hasaudio" value = "true">
<param name = "hasconnect" value = "false">
<param name = "displaysipusername" value = "false">
<param name = "hideusernamepwdinput" value = "true">
<param name = "autoaccept" value = "true">
<b>Java is currently not installed or not enabled.</b>
</applet>
</p>
Good luck and all the best,
Noah