<tr id="tt_pass"><td >Password:</td><td><input type="password" name="pass" id="pass" value=""/></td></tr>
<tr id="tt_host"><td >Host:</td><td><input type="text" name="host" id="host" value=""/></td></tr>
<tr><td colspan="2">Voip Line Status:</td><td> </td><td><div id="voiplinestatus"></div></td></tr>
- <tr><td colspan="2"><div id=VoipLineDesc></div> </td></tr>
+ <tr><td colspan="2"><div id=info></div> </td></tr>
<tr><td> </td></tr>
<tr><td colspan="2">Sometimes it takes a few seconds to connect
your Voip Line. After clicking OK refresh
if (selection == "none" ) {
// clear fields
+ document.getElementById('user').value = "";
+ document.getElementById('host').value = "";
+ document.getElementById('pass').value = "";
+ document.getElementById('info').value = "No provider selected";
} else if (selection == "SIPNAT" ) {
// fill sipnat
document.getElementById('user').value = "sipnat";
document.getElementById('pass').value = "xxxxxx";
} else if (selection == "SIP" ) {
// fill sip
+ document.getElementById('user').value = "sip";
+ document.getElementById('host').value = "siphost";
+ document.getElementById('pass').value = "xxxxxx";
} else if (selection == "JAZMIN" ) {
// fill jazmin
+ document.getElementById('user').value = "jazmin";
+ document.getElementById('host').value = "jazminhost";
+ document.getElementById('pass').value = "xxxxxx";
} else {
// something weird happened
}