604 lines
27 KiB
Plaintext
Executable File
604 lines
27 KiB
Plaintext
Executable File
<%
|
||
If request_Form("VoIP_h248_flag")="1" then
|
||
tcWebApi_set("VoIPH248_Common", "DeviceIDType", "mgregselect")
|
||
tcWebApi_set("VoIPH248_Common", "DeviceID", "mymgname")
|
||
tcWebApi_set("VoIPH248_Common", "MediaGatewayPort", "mymgport")
|
||
tcWebApi_set("VoIPH248_Common", "MediaGatewayControler", "mymgcip")
|
||
tcWebApi_set("VoIPH248_Common", "MediaGatewayControlerPort", "mymgcport")
|
||
tcWebApi_set("VoIPH248_Common", "SBMediaGatewayControler", "mybkmgcip")
|
||
tcWebApi_set("VoIPH248_Common", "SBMediaGatewayControlerPort", "mybkmgcport")
|
||
tcWebApi_set("VoIPH248_Common", "RTPPrefix", "mgRTPPrefix")
|
||
tcWebApi_set("VoIPH248_Common", "EphemeralTermIDAddLen", "mgEpTermIDLen")
|
||
tcWebApi_set("VoIPH248_Common", "EphemeralTermIDUniform", "mgEpTermIDUniform")
|
||
tcWebApi_set("VoIPH248_Common", "EphemeralTermIDStart", "mgEpTermIDStart")
|
||
tcWebApi_set("VoIPH248_Common", "EphemeralTermIDNum", "mgEpTermIDNum")
|
||
tcWebApi_set("VoIPH248_Common", "MegacoSignalDSCP", "mymgtos")
|
||
tcWebApi_set("VoIPH248_Common", "MegacoRTPDSCP", "mymgtos2")
|
||
tcWebApi_set("VoIPH248_Entry0", "PhysicalTermID", "mymgterm0")
|
||
tcWebApi_set("VoIPH248_Common", "PhysicalTermIDPrefix", "termidPrefix")
|
||
tcWebApi_set("VoIPH248_Common", "PhysicalTermIDConfigMethod", "termidMethod")
|
||
tcWebApi_set("VoIPH248_Common", "PhysicalTermIDStart", "termidStart")
|
||
If tcWebApi_get("VoIPBasic_Common","VoIPLine2Enable","h") = "Yes" then
|
||
tcWebApi_set("VoIPH248_Entry1", "PhysicalTermID", "mymgterm1")
|
||
End If
|
||
tcWebApi_commit("VoIPH248_Common")
|
||
tcWebApi_commit("VoIPH248")
|
||
tcWebApi_save()
|
||
end if
|
||
%>
|
||
<HTML><HEAD><TITLE>VOIPÉèÖÃ</TITLE>
|
||
<META http-equiv=Content-Language content=zh-cn>
|
||
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
|
||
href="/JS/stylemain.css" type=text/css rel=stylesheet>
|
||
<SCRIPT language=javascript src="/JS/menu.js"></SCRIPT>
|
||
<SCRIPT language=javascript src="/JS/util.js"></SCRIPT>
|
||
<SCRIPT language="javascript" type = "text/javascript">
|
||
function LoadFrame()
|
||
{
|
||
with (document.ConfigForm)
|
||
{
|
||
|
||
generatePerLineTable1();
|
||
|
||
if ("0" == document.getElementById("termid_method").selectedIndex){
|
||
document.getElementById("termidPrefix_table").style.display = "";
|
||
document.getElementById("termidStart_table").style.display = "";
|
||
|
||
document.getElementById("perLineTablePlaceholder2").style.display = "none";
|
||
}
|
||
else{
|
||
document.getElementById("termidPrefix_table").style.display = "none";
|
||
document.getElementById("termidStart_table").style.display = "none";
|
||
|
||
document.getElementById("perLineTablePlaceholder2").style.display = "";
|
||
}
|
||
}
|
||
|
||
if ( "0" == document.getElementById("mg_regist").selectedIndex){
|
||
document.getElementById("in_h_domain1_val").style.display = "none";
|
||
}
|
||
else{
|
||
document.getElementById("in_h_domain1_val").style.display = "";
|
||
}
|
||
|
||
}
|
||
|
||
|
||
function generatePerLineTable1()
|
||
{
|
||
if (document.body.innerHTML)
|
||
{
|
||
var tableHtmlOutput = "<tr>";
|
||
tableHtmlOutput += "<td>";
|
||
tableHtmlOutput += "<table width='391' border='1' cellpadding='0' cellspacing='0' bordercolor='#C0C0C0' style='border-collapse: collapse'>";
|
||
tableHtmlOutput += "<tr align='left'>";
|
||
tableHtmlOutput += "<td height='25' colspan='3' ><strong id='in_h_resource1'>×ÊÔ´</strong></td>";
|
||
tableHtmlOutput += "</tr>";
|
||
|
||
tableHtmlOutput += "<tr align='center'>";
|
||
tableHtmlOutput += "<td width='162' height='25' bgcolor='eeeeee'> </td>"
|
||
|
||
<% if tcwebApi_get("VoIPBasic_Common","VoIPLine2Enable","h") = "Yes" then %>
|
||
for (var mgline = 1; mgline <= 2; mgline++)
|
||
<% else %>
|
||
for (var mgline = 1; mgline <= 1; mgline++)
|
||
<% end if %>
|
||
{
|
||
var data = "<td width='162' height='25' bgcolor='#EEEEEE' id=\'in_h_line" + mgline+ "\'>Ïß·"+mgline+"</td>";
|
||
tableHtmlOutput += data;
|
||
}
|
||
|
||
tableHtmlOutput += "</tr>";
|
||
tableHtmlOutput += "<tr align='center'>";
|
||
tableHtmlOutput += "<td height='25' bgcolor='eeeeee' id='in_h_term1'>ÖÕ¶Ë</td>";
|
||
|
||
var data = "<input name=\'mymgterm0\' type='text' id=\'in_h_term1_val0\' value=\'<%if tcWebApi_get("VoIPH248_Entry0", "PhysicalTermID", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Entry0", "PhysicalTermID", "s") else asp_Write("") end if %>\'>";
|
||
tableHtmlOutput += "<td height='25'>" + data + "</td>";
|
||
<% if tcwebApi_get("VoIPBasic_Common","VoIPLine2Enable","h") = "Yes" then %>
|
||
var data = "<input name=\'mymgterm1\' type='text' id=\'in_h_term1_val1\' value=\'<%if tcWebApi_get("VoIPH248_Entry1", "PhysicalTermID", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Entry1", "PhysicalTermID", "s") else asp_Write("") end if %>\'>";
|
||
tableHtmlOutput += "<td height='25'>" + data + "</td>";
|
||
<% end if %>
|
||
tableHtmlOutput += "</tr>";
|
||
tableHtmlOutput += "</table>";
|
||
tableHtmlOutput += "</td>";
|
||
tableHtmlOutput += "</tr>";
|
||
|
||
document.getElementById("perLineTablePlaceholder2").innerHTML = tableHtmlOutput;
|
||
}
|
||
else
|
||
{
|
||
alert("Cannot create per line table in this browser.");
|
||
}
|
||
}
|
||
|
||
function applyClickAdvanced()
|
||
{
|
||
var loc = "app-VoIP_Adv.asp";
|
||
var code = "location='" + loc + " '";
|
||
eval(code);
|
||
}
|
||
|
||
function VoiceApplyBasic()
|
||
{
|
||
with (document.ConfigForm)
|
||
{
|
||
|
||
if (mymgname.value != "")
|
||
{
|
||
|
||
if (mgregselect.selectedIndex == "2")
|
||
{
|
||
if (isValidMacAddress(mymgname.value) == false)
|
||
{
|
||
alert('"' + mymgname.value + '"ÊÇÎÞЧMACµØÖ·.');
|
||
return;
|
||
}
|
||
}
|
||
|
||
}
|
||
|
||
if (mgRTPPrefix.value == "")
|
||
{
|
||
alert('ÁÙʱ¶Ëµãǰ׺²»ÄÜΪ¿Õ.');
|
||
return;
|
||
}
|
||
|
||
var temp = parseInt(mymgtos.value);
|
||
if (temp < 0 || temp > 63)
|
||
{
|
||
alert('TOS/DSCP ÐÅÁîÓÅÏȼ¶µÄ·¶Î§ÊÇ0~63.');
|
||
return;
|
||
}
|
||
|
||
var temp = parseInt(mymgtos2.value);
|
||
if (temp < 0 || temp > 63)
|
||
{
|
||
alert('TOS/DSCP RTPÓÅÏȼ¶µÄ·¶Î§ÊÇ0~63.');
|
||
return;
|
||
}
|
||
|
||
if (mymgcip.value != "")
|
||
{
|
||
if (mymgcport.value == "")
|
||
{
|
||
alert('·þÎñÆ÷¶Ë¿ÚºÅ²»ÄÜΪ¿Õ.');
|
||
return;
|
||
}
|
||
}
|
||
else
|
||
{
|
||
if (mymgcport.value != "")
|
||
{
|
||
alert('·þÎñÆ÷µØÖ·²»ÄÜΪ¿Õ.');
|
||
return;
|
||
}
|
||
}
|
||
|
||
if (mybkmgcip.value != "")
|
||
{
|
||
if (mybkmgcport.value == "")
|
||
{
|
||
alert('±¸Ó÷þÎñÆ÷¶Ë¿ÚºÅ²»ÄÜΪ¿Õ.');
|
||
return;
|
||
}
|
||
}
|
||
else
|
||
{
|
||
if (mybkmgcport.value != "")
|
||
{
|
||
alert('±¸Ó÷þÎñÆ÷µØÖ·²»ÄÜΪ¿Õ.');
|
||
return;
|
||
}
|
||
}
|
||
|
||
VoIP_h248_flag.value = 1;
|
||
submit();
|
||
}
|
||
}
|
||
|
||
function checkPort(o)
|
||
{
|
||
if (o.value != "")
|
||
{
|
||
if (!isInteger(o.value) || !isValidPort(o.value))
|
||
{
|
||
alert('"' + o.value + '"' + 'ÊÇÎÞЧ¶Ë¿Ú.');
|
||
window.setTimeout( function(){ o.focus(); }, 0);
|
||
}
|
||
}
|
||
}
|
||
|
||
function mgRegSelectChange(o){
|
||
var idx = o.selectedIndex;
|
||
var val = o.options[idx].value;
|
||
|
||
if ( val == "0" ){
|
||
document.getElementById("in_h_domain1_val").style.display = "none";
|
||
}
|
||
else{
|
||
document.getElementById("in_h_domain1_val").style.display = "";
|
||
}
|
||
}
|
||
|
||
function termidMethodSelectChange(o){
|
||
var idx = o.selectedIndex;
|
||
var val = o.options[idx].value;
|
||
|
||
if ( val == "0" ){
|
||
document.getElementById("termidPrefix_table").style.display = "";
|
||
document.getElementById("termidStart_table").style.display = "";
|
||
|
||
document.getElementById("perLineTablePlaceholder2").style.display = "none";
|
||
}
|
||
else{
|
||
document.getElementById("termidPrefix_table").style.display = "none";
|
||
document.getElementById("termidStart_table").style.display = "none";
|
||
|
||
document.getElementById("perLineTablePlaceholder2").style.display = "";
|
||
}
|
||
}
|
||
|
||
</SCRIPT>
|
||
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
|
||
<BODY style="TEXT-ALIGN: center" vLink=#000000 aLink=#000000 link=#000000
|
||
leftMargin=0 topMargin=0
|
||
onload="DisplayLocation(getElement('Selected_Menu').value);FinishLoad();if(getElById('ConfigForm') != null)LoadFrame()"
|
||
onunload=DoUnload() marginheight="0" marginwidth="0">
|
||
<TABLE height="100%" cellSpacing=0 cellPadding=0 width=808 align=center
|
||
border=0>
|
||
<TBODY>
|
||
<TR>
|
||
<TD height=1>
|
||
<% if tcwebApi_get("WebCustom_Entry","isCYE8SFUSupported","h") = "Yes" then %>
|
||
<TABLE height=80 cellSpacing=0 cellPadding=0 width=808
|
||
background=/img/framelogo.jpg border=0>
|
||
<% else %>
|
||
<TABLE height=117 cellSpacing=0 cellPadding=0 width=808
|
||
background=/img/framelogo.jpg border=0>
|
||
<% end if %>
|
||
<TBODY>
|
||
<TR>
|
||
<TD> </TD>
|
||
<TD vAlign=bottom align=right width=358>
|
||
<TABLE id=table8 cellSpacing=0 cellPadding=0 border=0>
|
||
<TBODY>
|
||
<TR>
|
||
<TD vAlign=bottom align=right><SPAN class=curUserName>
|
||
</SPAN></TD>
|
||
<TD class=welcom vAlign=bottom align=middle width=120>»¶ÓÄú£¡ </TD>
|
||
<TD vAlign=bottom width=50><A onclick=DoLogout()
|
||
href="/cgi-bin/logout.cgi" target=_top><SPAN
|
||
class=logout>Í˳ö
|
||
</SPAN></A></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
|
||
<TABLE id=table2 height=100 cellSpacing=0 cellPadding=0 width=808
|
||
border=0>
|
||
<TBODY>
|
||
<tr>
|
||
<TD width=808 bgColor=#d8d8d8 height=2 colSpan=3></td>
|
||
</tr>
|
||
<TR>
|
||
<TD class=LocationDisplay id=LocationDisplay align=middle width=163
|
||
bgColor=#d8d8d8 rowSpan=3></TD>
|
||
<TD width=434 bgColor=#0059A0 height=33>
|
||
<P align=right><FONT face=ºÚÌå color=#ffffff><B><FONT face=ºÚÌå
|
||
color=#ffffff size=6><INPUT id=Selected_Menu type=hidden
|
||
value="Ó¦ÓÃ->VOIPÉèÖÃ" name=Selected_Menu> </FONT></B><SPAN
|
||
class=GatewayName>Íø¹ØÃû³Æ:
|
||
<SCRIPT
|
||
language=javascript>
|
||
document.write(top.gateWayName);
|
||
</SCRIPT>
|
||
</SPAN></FONT></P></TD>
|
||
<TD width=211 bgColor=#d8d8d8 height=33>
|
||
<P class=GatewayType align=center>ÐͺÅ:
|
||
<SCRIPT language=javascript>
|
||
document.write(top.ModelName);
|
||
</SCRIPT>
|
||
</P></TD></TR>
|
||
<TR>
|
||
<TD id=MenuArea_L1 vAlign=bottom bgColor=#d8d8d8 colSpan=2
|
||
height=43> </TD></TR>
|
||
<TR>
|
||
<TD id=MenuArea_L2 bgColor=#0059A0 colSpan=2
|
||
height=24></TD></TR></TBODY></TABLE>
|
||
<SCRIPT
|
||
language=javascript>
|
||
MakeMenu(getElById ('Selected_Menu').value);
|
||
</SCRIPT>
|
||
|
||
<TABLE id=table3 height=15 cellSpacing=0 cellPadding=0 width=808
|
||
border=0><TBODY>
|
||
<TR>
|
||
<TD height=15><IMG height=15 src="/img/panel1.gif" width=164
|
||
border=0> </TD>
|
||
<TD><IMG height=15 src="/img/panel2.gif" width=645 border=0>
|
||
</TD></TR></TBODY></TABLE></TD></TR>
|
||
<TR>
|
||
<TD vAlign=top>
|
||
<TABLE height="100%" cellSpacing=0 cellPadding=0 border=0>
|
||
<TBODY>
|
||
<TR>
|
||
<TD width=157 bgColor=#e7e7e7 height=30>
|
||
<P class=Item_L1>VOIPÉèÖÃ</P></TD>
|
||
<TD width=7 bgColor=#e7e7e7>¡¡</TD>
|
||
<TD width=474>¡¡</TD>
|
||
<TD vAlign=top width=170 background=/img/panel4.gif
|
||
rowSpan=13><TABLE cellSpacing=0 cellPadding=20 width="100%"
|
||
border=0 height='100%'>
|
||
<TBODY>
|
||
<TR>
|
||
<TD valign='top'><A
|
||
href="/cgi-bin/help_content.asp#¿í´øµç»°ÉèÖÃ"
|
||
target=_blank><IMG height=34 src="/img/help.gif"
|
||
width=40 border=0> </A></TD></TR>
|
||
<% if tcwebApi_get("WebCustom_Entry","isCYE8SFUSupported","h") = "Yes" then %>
|
||
<TR>
|
||
<TD valign='bottom'><IMG src='/img/tybottom.jpg' height=76 width=112></TD></TR>
|
||
<% end if %>
|
||
</TBODY></TABLE></TD></TR>
|
||
<TR>
|
||
<TD vAlign=top width=157 bgColor=#e7e7e7 height=10></TD>
|
||
<TD width=7 background=/img/panel3.gif>¡¡</TD>
|
||
<TD></TD></TR>
|
||
<TR>
|
||
<TD vAlign=top width=157 bgColor=#e7e7e7 height=30>
|
||
<P class=Item_L2></P></TD>
|
||
<TD width=7 background=/img/panel3.gif>¡¡</TD>
|
||
<TD>
|
||
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
|
||
<TBODY>
|
||
<TR>
|
||
<TD width=10> </TD>
|
||
<TD>
|
||
<FORM id=ConfigForm name="ConfigForm" action="/cgi-bin/app-VoIP.asp" method="post">
|
||
<DIV id=pptp>
|
||
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
|
||
<TBODY>
|
||
<TR>
|
||
<TD>
|
||
<input type='button' style="font-size:100%;width:170;height:30" onClick="applyClickAdvanced()" value='¿í´øµç»°¸ß¼¶ÉèÖÃ'>
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD height="10">
|
||
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_head>
|
||
<B>
|
||
¿í´øµç»°ÓïÒô»ù±¾ÉèÖÃ
|
||
</B>
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD height="10">
|
||
|
||
</TD>
|
||
</TR>
|
||
</TBODY>
|
||
</TABLE>
|
||
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
|
||
<TBODY>
|
||
<TR>
|
||
<TD class=prompt>
|
||
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
|
||
<TBODY>
|
||
<TR>
|
||
<TD style="PADDING-LEFT: 10px" width="100%"></TD>
|
||
</TR>
|
||
</TBODY>
|
||
</TABLE>
|
||
</TD>
|
||
</TR>
|
||
</TBODY>
|
||
</TABLE>
|
||
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">
|
||
<TBODY>
|
||
<TR>
|
||
<TD height=5></TD>
|
||
</TR>
|
||
</TBODY>
|
||
</TABLE>
|
||
<TABLE class=table1_bg border=0 cellSpacing=1 cellPadding=0 width="98%">
|
||
<TBODY>
|
||
<TR>
|
||
<TD class=table1_left width="35%" align=left>
|
||
MG×¢²á·½Ê½
|
||
</TD>
|
||
<TD class=table1_right width="65%" colSpan=2 align=left>
|
||
|
||
<select name="mgregselect" id="mg_regist" onchange="mgRegSelectChange(this)">
|
||
<option value="0" <%if tcWebApi_get("VoIPH248_Common", "DeviceIDType", "h") = "0" then asp_Write("selected") end if %>>IP</option>
|
||
<option value="1" <%if tcWebApi_get("VoIPH248_Common", "DeviceIDType", "h") = "1" then asp_Write("selected") end if %>>Domain name</option>
|
||
<option value="2" <%if tcWebApi_get("VoIPH248_Common", "DeviceIDType", "h") = "2" then asp_Write("selected") end if %>>MAC</option>
|
||
</select>
|
||
|
||
<input name="mymgname" type="text" id="in_h_domain1_val" value="<%if tcWebApi_get("VoIPH248_Common", "DeviceID", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "DeviceID", "s") else asp_Write("") end if %>">
|
||
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
MG¶Ë¿ÚºÅ
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mymgport" type="text" id="in_h_mg1_val" onblur="checkPort(this)" value="<%if tcWebApi_get("VoIPH248_Common", "MediaGatewayPort", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "MediaGatewayPort", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
·þÎñÆ÷µØÖ·
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mymgcip" type="text" id="in_h_servaddr1_val" value="<%if tcWebApi_get("VoIPH248_Common", "MediaGatewayControler", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "MediaGatewayControler", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
·þÎñÆ÷¶Ë¿ÚºÅ
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mymgcport" type="text" id="in_h_servnum1_val" onblur="checkPort(this)" title=an_tos2 value="<%if tcWebApi_get("VoIPH248_Common", "MediaGatewayControlerPort", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "MediaGatewayControlerPort", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
±¸Ó÷þÎñÆ÷µØÖ·
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mybkmgcip" type="text" id="in_h_standbyaddr1_val" value="<%if tcWebApi_get("VoIPH248_Common", "SBMediaGatewayControler", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "SBMediaGatewayControler", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
±¸Ó÷þÎñÆ÷¶Ë¿ÚºÅ
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mybkmgcport" type="text" id="in_h_standbynum1_val" onblur="checkPort(this)" value="<%if tcWebApi_get("VoIPH248_Common", "SBMediaGatewayControlerPort", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "SBMediaGatewayControlerPort", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
ÁÙʱ¶Ëµãǰ׺
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mgRTPPrefix" type="text" id="in_h_rtpprefix_val" value="<%if tcWebApi_get("VoIPH248_Common", "RTPPrefix", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "RTPPrefix", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
ÁÙʱ¶Ëµã±êʶ³¤¶È
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mgEpTermIDLen" type="text" id="in_h_eptermidlen_val" value="<%if tcWebApi_get("VoIPH248_Common", "EphemeralTermIDAddLen", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "EphemeralTermIDAddLen", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
ÁÙʱ¶ËµãÆðʼֵ
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mgEpTermIDStart" type="text" id="in_h_eptermidstart_val" value="<%if tcWebApi_get("VoIPH248_Common", "EphemeralTermIDStart", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "EphemeralTermIDStart", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
ÁÙʱ¶ËµãÊýÄ¿
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mgEpTermIDNum" type="text" id="in_h_eptermidnum_val" value="<%if tcWebApi_get("VoIPH248_Common", "EphemeralTermIDNum", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "EphemeralTermIDNum", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left width="35%" align=left>
|
||
ÁÙʱ¶Ëµã¶ÔÆë·½Ê½
|
||
</TD>
|
||
<TD class=table1_right width="65%" colSpan=2 align=left>
|
||
|
||
<select name="mgEpTermIDUniform" id="mg_uniform" >
|
||
<option value="0" <%if tcWebApi_get("VoIPH248_Common", "EphemeralTermIDUniform", "h") = "0" then asp_Write("selected") end if %>>¶ÔÆë·½Ê½</option>
|
||
<option value="1" <%if tcWebApi_get("VoIPH248_Common", "EphemeralTermIDUniform", "h") = "1" then asp_Write("selected") end if %>>²»¶ÔÆë·½Ê½</option>
|
||
</select>
|
||
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
TOS/DSCPÓÅÏȼ¶(ÐÅÁî)
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mymgtos" type="text" id="in_h_tos1_val" value="<%if tcWebApi_get("VoIPH248_Common", "MegacoSignalDSCP", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "MegacoSignalDSCP", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left align=left>
|
||
TOS/DSCPÓÅÏȼ¶(RTP)
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="mymgtos2" type="text" id="in_h_tos2_val" value="<%if tcWebApi_get("VoIPH248_Common", "MegacoRTPDSCP", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "MegacoRTPDSCP", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD class=table1_left width="35%" align=left>
|
||
ÖÕ¶ËÅäÖ÷½Ê½
|
||
</TD>
|
||
<TD class=table1_right width="65%" colSpan=2 align=left>
|
||
|
||
<select name="termidMethod" id="termid_method" onchange="termidMethodSelectChange(this)">
|
||
<option value="0" <%if tcWebApi_get("VoIPH248_Common", "PhysicalTermIDConfigMethod", "h") = "0" then asp_Write("selected") end if %>>ͨÅäģʽ</option>
|
||
<option value="1" <%if tcWebApi_get("VoIPH248_Common", "PhysicalTermIDConfigMethod", "h") = "1" then asp_Write("selected") end if %>>Ïß·ģʽ</option>
|
||
</select>
|
||
|
||
</TD>
|
||
</TR>
|
||
<TR id="termidPrefix_table">
|
||
<TD class=table1_left align=left>
|
||
ÖÕ¶Ëǰ׺
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="termidPrefix" type="text" id="in_h_termidPrefix_val" value="<%if tcWebApi_get("VoIPH248_Common", "PhysicalTermIDPrefix", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "PhysicalTermIDPrefix", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
<TR id="termidStart_table">
|
||
<TD class=table1_left align=left>
|
||
ÖÕ¶ËÆðʼֵ
|
||
</TD>
|
||
<TD class=table1_right colSpan=2 align=left>
|
||
<input name="termidStart" type="text" id="in_h_termidStart_val" value="<%if tcWebApi_get("VoIPH248_Common", "PhysicalTermIDStart", "h") <> "N/A" then tcWebAPI_get("VoIPH248_Common", "PhysicalTermIDStart", "s") else asp_Write("") end if %>">
|
||
</TD>
|
||
</TR>
|
||
</TBODY>
|
||
</TABLE>
|
||
<TABLE border=0 cellSpacing=1 cellPadding=0 width="98%">
|
||
<tr>
|
||
<td height="5">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td><div class="tableWrapper" id="perLineTablePlaceholder2" ></div></td>
|
||
</tr>
|
||
<tr>
|
||
<td height="5">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center">
|
||
<input name="VoIP_h248_flag" type="hidden" value="0">
|
||
<input name="bt_apply" type="button" id="VoiceApplyButton" value="Ó¦ÓÃ" onClick="VoiceApplyBasic()">
|
||
</td>
|
||
</tr>
|
||
</TABLE>
|
||
</DIV>
|
||
</FORM>
|
||
</TD>
|
||
</TR>
|
||
</TBODY>
|
||
</TABLE>
|
||
</TD>
|
||
</TR>
|
||
<TR>
|
||
<TD vAlign=top width=157 bgColor=#e7e7e7 height=30>
|
||
<P class=Item_L2></P></TD>
|
||
<TD width=7 background=/img/panel3.gif>¡¡</TD>
|
||
<TD> </TD></TR>
|
||
<TR>
|
||
<TD vAlign=top width=157 bgColor=#e7e7e7 height=10></TD>
|
||
<TD width=7 background=/img/panel3.gif>¡¡</TD>
|
||
<TD></TD></TR>
|
||
<TR>
|
||
<TD vAlign=top width=157 bgColor=#e7e7e7></TD>
|
||
<TD width=7 background=/img/panel3.gif>¡¡</TD>
|
||
<TD></TD></TR></TBODY></TABLE>
|
||
</TD></TR>
|
||
<TR>
|
||
<TD height=1>
|
||
<TABLE id=table7 height=35 cellSpacing=0 cellPadding=0 width=808
|
||
border=0><TBODY>
|
||
<TR>
|
||
<TD width=162 bgColor=#d8d8d8>¡¡</TD>
|
||
<TD width=278 bgColor=#0059A0>¡¡</TD>
|
||
<TD width=196 bgColor=#0059A0><!-- InstanceEndEditable --></TD>
|
||
<TD width=170
|
||
bgColor=#313031>¡¡</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
|